anchor.diff:          if (percent.length < 4) {
             percent = ' $percent';
           }
  -        print('    $percent%: ${getName(entry.key)} ($value)');
  +        print('    $percent%: ${entry.key} ($value)');
         }
       }
     }
  
positive.code:   /// The [descriptor] is used to describe the kind of distance being measured.
    void recordDistance(String descriptor, int distance) {
      var contextMap = byDistance.putIfAbsent(descriptor, () => {});
      contextMap[distance] = (contextMap[distance] ?? 0) + 1;
    }
  
    /// Record that an element of the given [kind] was found in the given
    /// [context].
    void recordElementKind(String context, ElementKind kind) {
      var contextMap = byElementKind.putIfAbsent(context, () => {});
      contextMap[kind] = (contextMap[kind] ?? 0) + 1;
    }
  
    /// Record that an element of the given [node] was found in the given
  
negative.code:   /// Record that a token of the given [type] was found in the given [context].
    void recordTokenType(String context, TokenType type) {
      var contextMap = byTokenType.putIfAbsent(context, () => {});
      var key = type.name;
      contextMap[key] = (contextMap[key] ?? 0) + 1;
    }
  
    /// Record whether the given [kind] or type match applied to a given argument
    /// (that is, whether [matches] is `true`).
    void recordTypeMatch(String kind, bool matches) {
      var contextMap = byTypeMatch.putIfAbsent(kind, () => {});
      var key = matches.toString();
      contextMap[key] = (contextMap[key] ?? 0) + 1;
    }
  
    /// Return a JSON encoded string representing the data that was collected.
    String toJson() {
      return json.encode({
        'version': currentVersion,
        'byDistance': byDistance,
        'byElementKind': byElementKind,
        'byNodeClass': byNodeClass,
        'byTokenType': byTokenType,
        'byTypeMatch': byTypeMatch,
      });
    }
  
    /// Add the data in the [source] map to the [target] map.
    void _addToMap(Map<String, Map<String, int>> target,
        Map<String, Map<String, int>> source) {
      for (var outerEntry in source.entries) {
        var innerTarget = target.putIfAbsent(outerEntry.key, () => {});
        for (var innerEntry in outerEntry.value.entries) {
  