anchor.diff:      }
   
       Future<Summary> analyze() async {
  -      Directory tempDir;
         final toolEnvRef = await getOrCreateToolEnvRef();
         try {
  -        tempDir = await Directory.systemTemp.createTemp('pana');
           final PackageAnalyzer analyzer =
               new PackageAnalyzer(toolEnvRef.toolEnv, urlChecker: _urlChecker);
           final isInternal = internalPackageNames.contains(job.packageName);
  
positive.code:             e,
              st);
        } finally {
          if (tempDir != null) {
            await tempDir.delete(recursive: true);
          }
          await toolEnvRef.release();
        }
        return null;
  
negative.code: // BSD-style license that can be found in the LICENSE file.
  
  import 'dart:async';
  
  import 'package:logging/logging.dart';
  import 'package:pana/pana.dart';
  