PMD Results

The following document contains the results of PMD 4.2.5.

Files

com/trendmicro/grid/acl/ds/cifs/AbstractStructuredFileRepository.java

ViolationLine
This final field could be made static44
Avoid throwing raw exception types.178
Avoid throwing raw exception types.228

com/trendmicro/grid/acl/ds/cifs/CIFSFileRepository.java

ViolationLine
It is a good practice to call super() in a constructor43 - 44
It is a good practice to call super() in a constructor46 - 50
Avoid throwing raw exception types.121
New exception is thrown in catch block, original stack trace may be lost215

com/trendmicro/grid/acl/ds/cifs/CIFSLoginHandler.java

ViolationLine
No need to check for null before an instanceof113
Avoid throwing raw exception types.169

com/trendmicro/grid/acl/ds/cifs/CIFSPropertySection.java

ViolationLine
Ensure that resources like this Connection object are closed after use154
Ensure that resources like this Connection object are closed after use186

com/trendmicro/grid/acl/ds/cifs/LocalFileRepository.java

ViolationLine
It is a good practice to call super() in a constructor27 - 28
It is a good practice to call super() in a constructor30 - 33
These nested if statements could be combined69 - 70
New exception is thrown in catch block, original stack trace may be lost170