Package list findbugs / 8b5f5a6a-4567-4778-8d25-b7d50e31a25b/main etc / summarizeBugs
8b5f5a6a-4567-4778-8d25-b7d50e31a25b/main

Tree @8b5f5a6a-4567-4778-8d25-b7d50e31a25b/main (Download .tar.gz)

summarizeBugs @8b5f5a6a-4567-4778-8d25-b7d50e31a25b/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";
}