Package list findbugs / 27ec9eb4-cbdd-4c78-a345-5010d4c01f20/main etc / summarizeBugs
27ec9eb4-cbdd-4c78-a345-5010d4c01f20/main

Tree @27ec9eb4-cbdd-4c78-a345-5010d4c01f20/main (Download .tar.gz)

summarizeBugs @27ec9eb4-cbdd-4c78-a345-5010d4c01f20/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";
}