anchor.diff:  import 'package:analyzer/src/generated/constant.dart';
   import 'package:analyzer/src/generated/element.dart';
   import 'package:analyzer/src/generated/engine.dart';
  -import 'package:analyzer/src/generated/java_core.dart' show JavaSystem;
   import 'package:analyzer/src/generated/java_io.dart';
   import 'package:analyzer/src/generated/sdk.dart';
   import 'package:analyzer/src/generated/sdk_io.dart';
  
positive.code:         new ErrorFormatter(sink, new _OptionsWrapper(_options), isDesiredError);
      formatter.formatErrors(errorInfos);
  
      // print performance numbers
      if (_options.perf || _options.warmPerf) {
        int totalTime = JavaSystem.currentTimeMillis() - _startTime;
        int ioTime = PerformanceStatistics.io.result;
        int scanTime = PerformanceStatistics.scan.result;
        int parseTime = PerformanceStatistics.parse.result;
        int resolveTime = PerformanceStatistics.resolve.result;
        int errorsTime = PerformanceStatistics.errors.result;
        int hintsTime = PerformanceStatistics.hints.result;
        stdout.writeln("io:$ioTime");
        stdout.writeln("scan:$scanTime");
        stdout.writeln("parse:$parseTime");
        stdout.writeln("resolve:$resolveTime");
        stdout.writeln("errors:$errorsTime");
        stdout.writeln("hints:$hintsTime");
        stdout.writeln("other:${totalTime
        - (ioTime + scanTime + parseTime + resolveTime + errorsTime + hintsTime)}");
        stdout.writeln("total:$totalTime");
      }
    }
  
    void _setOptions(AnalysisOptionsImpl analysisOptions) {
      analysisOptions.cacheSize = _options.cacheSize;
  
negative.code:     if (printMode == 1) {
        _printErrorsAndPerf();
      } else if (printMode == 2) {
        //_printColdPerf();
      }
  
      // compute max severity and set exitCode
  