Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: pkg/analysis_server/lib/src/get_handler.dart

Issue 243383004: Fix a typo in the analysis server's status page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library get.handler; 5 library get.handler;
6 6
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:analyzer/src/generated/engine.dart'; 9 import 'package:analyzer/src/generated/engine.dart';
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 _writeRow(response, [ 83 _writeRow(response, [
84 '<a href="#context_$key">$key</a>', 84 '<a href="#context_$key">$key</a>',
85 errorCount, 85 errorCount,
86 flushedCount, 86 flushedCount,
87 inProcessCount, 87 inProcessCount,
88 invalidCount, 88 invalidCount,
89 validCount]); 89 validCount]);
90 }); 90 });
91 response.write('</table>'); 91 response.write('</table>');
92 _server.analysisServer.contextMap.forEach((String key, AnalysisContext con text) { 92 _server.analysisServer.contextMap.forEach((String key, AnalysisContext con text) {
93 response.write('<h2><a name="context_$key">Analysis Context: $key}</a></ h2>'); 93 response.write('<h2><a name="context_$key">Analysis Context: $key</a></h 2>');
94 AnalysisContentStatistics statistics = (context as AnalysisContextImpl). statistics; 94 AnalysisContentStatistics statistics = (context as AnalysisContextImpl). statistics;
95 response.write('<table>'); 95 response.write('<table>');
96 _writeRow( 96 _writeRow(
97 response, 97 response,
98 ['Item', 'ERROR', 'FLUSHED', 'IN_PROCESS', 'INVALID', 'VALID'], 98 ['Item', 'ERROR', 'FLUSHED', 'IN_PROCESS', 'INVALID', 'VALID'],
99 true); 99 true);
100 statistics.cacheRows.forEach((AnalysisContentStatistics_CacheRow row) { 100 statistics.cacheRows.forEach((AnalysisContentStatistics_CacheRow row) {
101 _writeRow( 101 _writeRow(
102 response, 102 response,
103 [row.name, 103 [row.name,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 response.write(value); 150 response.write(value);
151 response.write('</td>'); 151 response.write('</td>');
152 }); 152 });
153 if (header) { 153 if (header) {
154 response.write('</th>'); 154 response.write('</th>');
155 } else { 155 } else {
156 response.write('</tr>'); 156 response.write('</tr>');
157 } 157 }
158 } 158 }
159 } 159 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698