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 | 117 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 67 |
An empty statement (semicolon) not part of a loop | 293 |
Avoid empty catch blocks | 367 - 369 |
Violation | Line |
---|---|
These nested if statements could be combined | 75 - 82 |
Violation | Line |
---|---|
Avoid empty catch blocks | 303 - 305 |
Avoid empty catch blocks | 349 - 351 |
Avoid empty catch blocks | 389 - 391 |
Avoid empty catch blocks | 566 - 568 |
Avoid empty catch blocks | 568 - 570 |
Violation | Line |
---|---|
Avoid empty catch blocks | 377 - 379 |
Avoid empty catch blocks | 463 - 465 |
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'. | 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 empty catch blocks | 110 - 112 |
Avoid empty catch blocks | 122 - 124 |
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 | 455 - 457 |
Avoid empty catch blocks | 470 - 472 |
These nested if statements could be combined | 545 - 548 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 75 |
Violation | Line |
---|---|
Error while parsing /Users/mdivilek/dev/magnolia-4.4.6/magnoliaTAG-4.4.6/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/mdivilek/dev/magnolia-4.4.6/magnoliaTAG-4.4.6/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/mdivilek/dev/magnolia-4.4.6/magnoliaTAG-4.4.6/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. | 430 |
Avoid empty catch blocks | 546 - 548 |
Violation | Line |
---|---|
Avoid unused local variables such as 'group'. | 89 |
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 private fields such as 'log'. | 54 |
Avoid unused constructor parameters such as 'context'. | 58 - 59 |
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 |