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

Side by Side Diff: lib/src/report.dart

Issue 1644823002: Remove library tags, they aren't needed (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Summarizes the information produced by the checker. 5 /// Summarizes the information produced by the checker.
6 library dev_compiler.src.report;
7 6
8 import 'dart:math' show max; 7 import 'dart:math' show max;
9 8
10 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; 9 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext;
11 import 'package:analyzer/src/generated/error.dart'; 10 import 'package:analyzer/src/generated/error.dart';
12 import 'package:logging/logging.dart'; 11 import 'package:logging/logging.dart';
13 import 'package:path/path.dart' as path; 12 import 'package:path/path.dart' as path;
14 import 'package:source_span/source_span.dart'; 13 import 'package:source_span/source_span.dart';
15 14
16 import 'utils.dart'; 15 import 'utils.dart';
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 360
362 visitMessage(MessageSummary message) { 361 visitMessage(MessageSummary message) {
363 var kind = message.kind; 362 var kind = message.kind;
364 errorCount.putIfAbsent(currentPackage, () => <String, int>{}); 363 errorCount.putIfAbsent(currentPackage, () => <String, int>{});
365 errorCount[currentPackage].putIfAbsent(kind, () => 0); 364 errorCount[currentPackage].putIfAbsent(kind, () => 0);
366 errorCount[currentPackage][kind]++; 365 errorCount[currentPackage][kind]++;
367 totals.putIfAbsent(kind, () => 0); 366 totals.putIfAbsent(kind, () => 0);
368 totals[kind]++; 367 totals[kind]++;
369 } 368 }
370 } 369 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698