A short script to count Checkstyle violation types.
$ ruby xml.rb /path/to/checkstyle-results.xml
{"MethodNameCheck"=>218,
"LineLengthCheck"=>139,
"WhitespaceAroundCheck"=>93,
"NewlineAtEndOfFileCheck"=>54,
"JavadocStyleCheck"=>35,
"OperatorWrapCheck"=>30,
"UpperEllCheck"=>18,
"MemberNameCheck"=>17,
"HideUtilityClassConstructorCheck"=>16,
"StaticVariableNameCheck"=>14,
"ModifierOrderCheck"=>7,
"UnusedImportsCheck"=>2,
"ParameterNameCheck"=>1,
"FileTabCharacterCheck"=>1,
"WhitespaceAfterCheck"=>1}