Package list findbugs / e27df586-d01f-4f52-9605-2bae119476bf/main etc / summarizeBugs
e27df586-d01f-4f52-9605-2bae119476bf/main

Tree @e27df586-d01f-4f52-9605-2bae119476bf/main (Download .tar.gz)

summarizeBugs @e27df586-d01f-4f52-9605-2bae119476bf/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";
}