anchor.diff:            // ignore: invalid_use_of_visible_for_testing_member
             await importProfile(
               profile: profile,
  -            source: ImportSource.fromPubDev(archiveCachePath: archiveCachePath),
  +            source: source == 'pub.dev'
  +                ? ImportSource.fromPubDev(archiveCachePath: archiveCachePath)
  +                : ImportSource.autoGenerated(),
             );
   
             if (analysis == 'real') {
  
positive.code:     });
  
      final analysis = argResults!['analysis'] as String;
      final dataFile = argResults!['data-file'] as String;
      final profile = TestProfile.fromYaml(
        await File(argResults!['test-profile'] as String).readAsString(),
  
negative.code:       ..addOption('test-profile',
            help: 'The file to read the test profile from.')
        ..addOption(
          'source',
          allowed: ['pub.dev', 'fake'],
          help: 'Download package content from pub.dev or create fake sources.',
          defaultsTo: 'pub.dev',
        )
        ..addOption(
          'analysis',
          allowed: ['none', 'fake', 'real'],
          help: 'Analyze the package with fake or real analysis.',
  