PMD Results

The following document contains the results of PMD 4.2.5.

Files

com/trendmicro/grid/acl/metadata/Meta.java

ViolationLine
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method42
It is somewhat confusing to have a field name with the same name as a method45
Overridable method 'setName' called during object construction61
The user-supplied array 'binaryValue' is stored directly.248
clone() method should throw CloneNotSupportedException293 - 299
Avoid throwing raw exception types.297

com/trendmicro/grid/acl/metadata/Metadata.java

ViolationLine
A method/constructor shouldn't explicitly throw java.lang.Exception46
A method/constructor shouldn't explicitly throw java.lang.Exception50
A method/constructor shouldn't explicitly throw java.lang.Exception54
A method/constructor shouldn't explicitly throw java.lang.Exception58
A method/constructor shouldn't explicitly throw java.lang.Exception62
Overridable method 'setMetaElements' called during object construction97
Use equals() to compare object references.111
clone() method should throw CloneNotSupportedException205 - 207

com/trendmicro/grid/acl/metadata/MetadataStringCache.java

ViolationLine
It is a good practice to call super() in a constructor20 - 21

com/trendmicro/grid/acl/metadata/ProfilesDocument.java

ViolationLine
A method/constructor shouldn't explicitly throw java.lang.Exception52
A method/constructor shouldn't explicitly throw java.lang.Exception56
A method/constructor shouldn't explicitly throw java.lang.Exception60
A method/constructor shouldn't explicitly throw java.lang.Exception64
A method/constructor shouldn't explicitly throw java.lang.Exception68
Overridable method 'setProfiles' called during object construction85
Use equals() to compare object references.99

com/trendmicro/grid/acl/metadata/ValidatedMetaMap.java

ViolationLine
It is a good practice to call super() in a constructor43 - 45
Overridable method 'setValidatorResolver' called during object construction44
Overridable method 'setValidatorResolver' called during object construction55
clone() method should throw CloneNotSupportedException229 - 231

com/trendmicro/grid/acl/metadata/ValidationContext.java

ViolationLine
Avoid throwing raw exception types.56
These nested if statements could be combined89 - 92
A method/constructor shouldn't explicitly throw java.lang.Exception161