PMD Results
The following document contains the results of PMD 4.2.5.
Files
com/trendmicro/grid/acl/ds/cifs/AbstractStructuredFileRepository.java
| Violation | Line |
|---|
| This final field could be made static | 44 |
| Avoid throwing raw exception types. | 178 |
| Avoid throwing raw exception types. | 228 |
com/trendmicro/grid/acl/ds/cifs/CIFSFileRepository.java
| Violation | Line |
|---|
| It is a good practice to call super() in a constructor | 43 - 44 |
| It is a good practice to call super() in a constructor | 46 - 50 |
| Avoid throwing raw exception types. | 121 |
| New exception is thrown in catch block, original stack trace may be lost | 215 |
com/trendmicro/grid/acl/ds/cifs/CIFSLoginHandler.java
| Violation | Line |
|---|
| No need to check for null before an instanceof | 113 |
| Avoid throwing raw exception types. | 169 |
com/trendmicro/grid/acl/ds/cifs/CIFSPropertySection.java
| Violation | Line |
|---|
| Ensure that resources like this Connection object are closed after use | 154 |
| Ensure that resources like this Connection object are closed after use | 186 |
com/trendmicro/grid/acl/ds/cifs/LocalFileRepository.java
| Violation | Line |
|---|
| It is a good practice to call super() in a constructor | 27 - 28 |
| It is a good practice to call super() in a constructor | 30 - 33 |
| These nested if statements could be combined | 69 - 70 |
| New exception is thrown in catch block, original stack trace may be lost | 170 |