anchor.diff:        if (pubspec.hasFlutterPlugin || pubspec.dependsOnFlutterSdk) {
           flutterCount++;
         }
  +
  +      if (pubspec.homepage == null) {
  +        addHomepage('empty');
  +      } else {
  +        try {
  +          final uri = Uri.parse(pubspec.homepage);
  +          if (uri.scheme != 'http' && uri.scheme != 'https') {
  +            addHomepage('not_http');
  +          } else {
  +            addHomepage(uri.host);
  +          }
  +        } catch (_) {
  +          addHomepage('parse_error');
  +        }
  +      }
       }
     });
  +  homepageDomains = _sortDomains(homepageDomains);
   
     final Map report = {
       'counters': {
  -      'total': count,
  +      'total': totalCount,
         'flutter': {
           'total': flutterCount,
           'plugins': flutterPlugins.length,
           'sdk': flutterSdks.length,
  -      }
  +      },
       },
       'flutter': {
         'plugins': flutterPlugins,
         'sdk': flutterSdks,
  -    }
  +    },
  +    'homepage': homepageDomains,
     };
     final String json = new JsonEncoder.withIndent('  ').convert(report);
     if (argv['output'] != null) {
  
positive.code:     ..addOption('output', help: 'The report output file (or stdout otherwise)');
    final ArgResults argv = parser.parse(args);
  
    int count = 0;
    int flutterCount = 0;
    final List<String> flutterPlugins = [];
    final List<String> flutterSdks = [];
    await withProdServices(() async {
      await for (Package p in dbService.query(Package).run()) {
        count++;
        if (count % 25 == 0) {
          print('Reading package #$count: ${p.name}');
        }
  
        final List<PackageVersion> versions =
  
negative.code:     print(json);
    }
  }
  
  Map<String, int> _sortDomains(Map<String, int> counts) {
    final List<String> domains = counts.keys.toList();
    domains.sort((a, b) => -counts[a].compareTo(counts[b]));
    final result = {};
    for (String domain in domains) {
      result[domain] = counts[domain];
    }
    return result;
  }
  