Package list findbugs / 5b17f133-3c87-49f1-be4a-63ca24e132f2/main etc / summarizeBugs
5b17f133-3c87-49f1-be4a-63ca24e132f2/main

Tree @5b17f133-3c87-49f1-be4a-63ca24e132f2/main (Download .tar.gz)

summarizeBugs @5b17f133-3c87-49f1-be4a-63ca24e132f2/mainraw · 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";
}