PMD Results

The following document contains the results of PMD 4.2.5.

Files

com/trendmicro/grid/acl/client/util/CommandlineParser.java

ViolationLine
Avoid throwing raw exception types.43

DataGenerator.java

ViolationLine
All classes and interfaces must belong to a named package26 - 308
A method/constructor shouldn't explicitly throw java.lang.Exception61
A method/constructor shouldn't explicitly throw java.lang.Exception90
A method/constructor shouldn't explicitly throw java.lang.Exception94
The String literal "\\s+" appears 9 times in this file; the first occurrence is on line 120120
A method/constructor shouldn't explicitly throw java.lang.Exception135
System.out.print is used161
System.out.print is used163
System.out.print is used182
A method/constructor shouldn't explicitly throw java.lang.Exception185
The String literal "passed" appears 5 times in this file; the first occurrence is on line 236236

DirectorySender.java

ViolationLine
All classes and interfaces must belong to a named package31 - 325
A method/constructor shouldn't explicitly throw java.lang.Exception70
System.out.print is used123
Avoid printStackTrace(); use a logger call instead.124
A method/constructor shouldn't explicitly throw java.lang.Exception131
A method/constructor shouldn't explicitly throw java.lang.Exception178
A method/constructor shouldn't explicitly throw java.lang.Exception191
System.out.print is used242
A method/constructor shouldn't explicitly throw java.lang.Exception249
A method/constructor shouldn't explicitly throw java.lang.Exception302

FileQuery.java

ViolationLine
All classes and interfaces must belong to a named package34 - 433
A method/constructor shouldn't explicitly throw java.lang.Exception99
All classes and interfaces must belong to a named package178 - 287
Avoid throwing raw exception types.267
Avoid throwing raw exception types.270
Avoid throwing raw exception types.299
A catch statement that catches an exception only to rethrow it should be avoided.307 - 309
Avoid throwing raw exception types.369
Avoid throwing raw exception types.375

Info.java

ViolationLine
All classes and interfaces must belong to a named package7 - 20
System.out.print is used13
System.out.print is used14
System.out.print is used15
System.out.print is used18

ReprocessInitiator.java

ViolationLine
All classes and interfaces must belong to a named package29 - 200
A method/constructor shouldn't explicitly throw java.lang.Exception67
All classes and interfaces must belong to a named package140 - 199
Avoid throwing raw exception types.168
Avoid printStackTrace(); use a logger call instead.195

TrivialFileChecker.java

ViolationLine
All classes and interfaces must belong to a named package22 - 129
A method/constructor shouldn't explicitly throw java.lang.Exception34
A method/constructor shouldn't explicitly throw java.lang.Exception64
All classes and interfaces must belong to a named package78 - 128
A method/constructor shouldn't explicitly throw java.lang.Exception87
Avoid empty while statements92
A method/constructor shouldn't explicitly throw java.lang.Exception99
Avoid printStackTrace(); use a logger call instead.124