The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'context'. | 65 - 82 |
Violation | Line |
---|---|
Avoid unnecessary return statements | 115 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 67 |
An empty statement (semicolon) not part of a loop | 289 |
Avoid empty catch blocks | 362 - 364 |
Violation | Line |
---|---|
These nested if statements could be combined | 75 - 82 |
Violation | Line |
---|---|
Avoid empty catch blocks | 303 - 305 |
Avoid empty catch blocks | 345 - 347 |
Avoid empty catch blocks | 385 - 387 |
Violation | Line |
---|---|
Avoid empty catch blocks | 382 - 384 |
Avoid empty catch blocks | 461 - 463 |
Violation | Line |
---|---|
Avoid unused private methods such as 'checkAppRootDir()'. | 128 |
Avoid empty catch blocks | 137 - 139 |
These nested if statements could be combined | 315 - 317 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 67 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 74 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 60 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 132 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 50 |
Violation | Line |
---|---|
These nested if statements could be combined | 205 - 208 |
These nested if statements could be combined | 219 - 222 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 52 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 57 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 59 |
Avoid unused private fields such as 'servletContext'. | 63 |
Violation | Line |
---|---|
These nested if statements could be combined | 97 - 100 |
These nested if statements could be combined | 132 - 135 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 54 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 55 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 50 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 52 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 58 |
Violation | Line |
---|---|
Avoid empty catch blocks | 145 - 147 |
These nested if statements could be combined | 255 - 257 |
Violation | Line |
---|---|
Avoid empty catch blocks | 433 - 435 |
Avoid empty catch blocks | 448 - 450 |
These nested if statements could be combined | 523 - 526 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 75 |
Violation | Line |
---|---|
Error while parsing /Users/pbaerfuss/tmp/release-4.4-beta1/magnolia-4.4/target/checkout/magnolia-core/src/main/java/info/magnolia/cms/util/LazyInitPrintWriter.java: Encountered " "(" "( "" at line 48, column 14. Was expecting one of: "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... | 0 |
Error while parsing /Users/pbaerfuss/tmp/release-4.4-beta1/magnolia-4.4/target/checkout/magnolia-core/src/main/java/info/magnolia/cms/util/LazyInitPrintWriter.java: Encountered " "(" "( "" at line 48, column 14. Was expecting one of: "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... | 0 |
Error while parsing /Users/pbaerfuss/tmp/release-4.4-beta1/magnolia-4.4/target/checkout/magnolia-core/src/main/java/info/magnolia/cms/util/LazyInitPrintWriter.java: Encountered " "(" "( "" at line 48, column 14. Was expecting one of: "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... "." ... | 0 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 426 |
Avoid empty catch blocks | 542 - 544 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 51 |
Violation | Line |
---|---|
These nested if statements could be combined | 81 - 85 |
Violation | Line |
---|---|
These nested if statements could be combined | 317 - 322 |
Violation | Line |
---|---|
These nested if statements could be combined | 136 - 149 |
These nested if statements could be combined | 209 - 211 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 63 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 47 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'context'. | 70 - 71 |
Violation | Line |
---|---|
Avoid empty catch blocks | 72 - 74 |
Avoid empty catch blocks | 83 - 85 |
Avoid empty catch blocks | 96 - 98 |
Avoid empty catch blocks | 123 - 125 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 57 |
Violation | Line |
---|---|
Avoid empty if statements | 144 - 146 |
Violation | Line |
---|---|
Avoid empty catch blocks | 183 - 185 |
Avoid empty catch blocks | 479 - 481 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 55 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 51 |
Violation | Line |
---|---|
These nested if statements could be combined | 143 - 145 |
Violation | Line |
---|---|
Avoid unused local variables such as 'it'. | 68 |
Violation | Line |
---|---|
Avoid empty if statements | 103 - 105 |
Avoid empty while statements | 159 - 160 |
Violation | Line |
---|---|
Avoid unused private fields such as 'clazz'. | 200 |
Avoid unused private fields such as 'priority'. | 201 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 63 |
Avoid empty if statements | 85 - 87 |
Violation | Line |
---|---|
Avoid unused private fields such as 'mappingsNode'. | 57 |
Avoid unused local variables such as 'configHM'. | 69 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 53 |