The following document contains the results of PMD 3.9.
| Violation | Line |
|---|---|
| These nested if statements could be combined | 136 - 139 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.reflect.declaration.CtAnnotationType' | 28 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtClass' | 29 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtConstructor' | 30 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtEnum' | 31 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtExecutable' | 32 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtField' | 33 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtInterface' | 34 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtMethod' | 35 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtPackage' | 36 |
| Avoid unused imports such as 'spoon.reflect.declaration.CtType' | 37 |
| Avoid unused imports such as 'spoon.reflect.reference.CtReference' | 55 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 336 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.processing.Environment' | 22 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.reflect.code.CtCodeSnippetExpression' | 23 |
| Avoid unused imports such as 'spoon.reflect.code.CtCodeSnippetStatement' | 24 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 38 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 138 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 62 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.reflect.declaration.CtType' | 27 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 1701 - 1709 |
| These nested if statements could be combined | 1704 - 1708 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 61 - 68 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 55 - 57 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 56 - 58 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 123 - 124 |
| These nested if statements could be combined | 138 - 139 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'out'. | 44 - 50 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 289 - 292 |
| Avoid unnecessary return statements | 358 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 49 - 52 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 35 |
| Violation | Line |
|---|---|
| Overriding method merely calls super | 108 - 110 |
| Ensure you override both equals() and hashCode() | 153 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 141 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 565 - 568 |
| Avoid empty catch blocks | 581 - 584 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 310 - 312 |
| Avoid empty catch blocks | 361 - 363 |
| Avoid empty catch blocks | 486 - 488 |
| These nested if statements could be combined | 681 - 683 |
| Avoid empty catch blocks | 868 - 870 |
| Violation | Line |
|---|---|
| Error while parsing /home/dwayne/work/oss/spoon-gforge/spoon-core/target/checkout/src/main/java/spoon/support/reflect/reference/CtTypeReferenceImpl.java | 0 |
| Error while parsing /home/dwayne/work/oss/spoon-gforge/spoon-core/target/checkout/src/main/java/spoon/support/reflect/reference/CtTypeReferenceImpl.java | 0 |
| Error while parsing /home/dwayne/work/oss/spoon-gforge/spoon-core/target/checkout/src/main/java/spoon/support/reflect/reference/CtTypeReferenceImpl.java | 0 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 47 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 78 - 81 |
| These nested if statements could be combined | 131 - 134 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.template.Parameter' | 60 |
| These nested if statements could be combined | 265 - 275 |
| Avoid empty catch blocks | 638 - 640 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'javaElement'. | 65 - 68 |
| Avoid empty catch blocks | 78 - 80 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 105 - 107 |
| Avoid empty if statements | 265 - 268 |
| Violation | Line |
|---|---|
| This usage of the Collection.toArray() method will throw a ClassCastException. | 108 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 87 - 89 |
| These nested if statements could be combined | 99 - 101 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.reflect.declaration.CtType' | 23 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'spoon.reflect.declaration.CtType' | 20 |