Package list findbugs / 80ac6658-2ca0-4cae-aa9a-6009316d3bc5/main etc / summarizeBugs
80ac6658-2ca0-4cae-aa9a-6009316d3bc5/main

Tree @80ac6658-2ca0-4cae-aa9a-6009316d3bc5/main (Download .tar.gz)

summarizeBugs @80ac6658-2ca0-4cae-aa9a-6009316d3bc5/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";
}