PMD Results
The following document contains the results of PMD 3.9.
Files
net/sf/jour/PreProcessor.java
| Violation | Line |
|---|
| These nested if statements could be combined | 237 - 240 |
net/sf/jour/instrumentor/InstanceCounterInstrumentor.java
| Violation | Line |
|---|
| Avoid unused method parameters such as 'clazz'. | 77 - 82 |
net/sf/jour/instrumentor/InstrumentorResults.java
| Violation | Line |
|---|
| Avoid unused imports such as 'net.sf.jour.InterceptorException' | 5 |
net/sf/jour/processor/DirectoryOutputWriter.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'dir'. | 11 |
net/sf/jour/processor/FileEntry.java
| Violation | Line |
|---|
| Ensure you override both equals() and hashCode() | 47 |
net/sf/jour/processor/InstrumentedCreatedEntry.java
| Violation | Line |
|---|
| Avoid unused constructor parameters such as 'origClass'. | 18 - 22 |
net/sf/jour/processor/JarFileInputSource.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 20 - 21 |
net/sf/jour/signature/APICompare.java
| Violation | Line |
|---|
| Avoid unused method parameters such as 'refClass'. | 497 - 531 |
| Avoid unused method parameters such as 'implClass'. | 497 - 531 |
net/sf/jour/signature/APICompareChangeHelper.java
| Violation | Line |
|---|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 76 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 76 |
net/sf/jour/signature/SignatureImport.java
| Violation | Line |
|---|
| Avoid empty if statements | 219 - 221 |
| Avoid empty catch blocks | 238 - 240 |
| Avoid empty catch blocks | 299 - 300 |
| These nested if statements could be combined | 350 - 352 |
| Avoid unused method parameters such as 'node'. | 390 - 399 |
| Avoid unused method parameters such as 'node'. | 401 - 418 |
| Avoid unused method parameters such as 'name'. | 553 - 567 |
net/sf/jour/util/BuildVersion.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 47 - 48 |
net/sf/jour/util/CmdArgs.java
| Violation | Line |
|---|
| These nested if statements could be combined | 41 - 44 |
net/sf/jour/util/FileUtil.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 123 - 125 |
| Avoid empty catch blocks | 133 - 135 |
net/sf/jour/util/TimeUtil.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 133 - 134 |
| Avoid empty catch blocks | 210 - 212 |