PMD Results
The following document contains the results of PMD 4.2.5.
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'. | 489 - 521 |
| Avoid unused method parameters such as 'implClass'. | 489 - 521 |
net/sf/jour/signature/APICompareChangeHelper.java
| Violation | Line |
|---|
| Ensure you override both equals() and hashCode() | 46 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 98 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 98 |
net/sf/jour/signature/SignatureImport.java
| Violation | Line |
|---|
| Avoid empty if statements | 221 - 223 |
| Avoid empty catch blocks | 240 - 242 |
| Avoid empty catch blocks | 301 - 302 |
| These nested if statements could be combined | 352 - 354 |
| Avoid unused method parameters such as 'node'. | 392 - 401 |
| Avoid unused method parameters such as 'node'. | 403 - 420 |
| Avoid unused method parameters such as 'name'. | 557 - 571 |
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 |