Package list findbugs / upstream/3.1.0_preview2 etc / summarizeBugs
upstream/3.1.0_preview2

Tree @upstream/3.1.0_preview2 (Download .tar.gz)

summarizeBugs @upstream/3.1.0_preview2raw · history · blame

#! /usr/bin/perl

use strict qw(refs vars);

my %counts = ();

while (<>) {
	if (/^(\S+\s+)?(\S+):/) {
		$counts{$2}++;
	}
}

foreach my $key (sort keys %counts) {
	my $count = $counts{$key};
	print "$key:\t$count\n";
}