code: private void gatherEvidence(Dependency dependency, final String name,
              String contents) {
          final Matcher matcher = AC_INIT_PATTERN.matcher(contents);
          if (matcher.find()) {
              dependency.addEvidence(EvidenceType.PRODUCT, name, "Package", matcher.group(1), Confidence.HIGHEST);
              dependency.addEvidence(EvidenceType.VERSION, name, "Package Version", matcher.group(2), Confidence.HIGHEST);
  
              if (null != matcher.group(3)) {
                  dependency.addEvidence(EvidenceType.VENDOR, name, "Bug report address", matcher.group(4), Confidence.HIGH);
              }
              if (null != matcher.group(5)) {
                  dependency.addEvidence(EvidenceType.PRODUCT, name, "Tarname", matcher.group(6), Confidence.HIGH);
              }
              if (null != matcher.group(7)) {
                  final String url = matcher.group(8);
                  if (UrlStringUtils.isUrl(url)) {
                      dependency.addEvidence(EvidenceType.VENDOR, name, "URL", url, Confidence.HIGH);
                  }
              }
          }
      }
docs: Gathers evidence from a given file
  
  @param dependency the dependency to add evidence to
  @param name the source of the evidence
  @param contents the evidence to analyze