The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'context'. | 84 - 106 |
Violation | Line |
---|---|
Avoid unnecessary return statements | 127 |
Violation | Line |
---|---|
Avoid empty catch blocks | 132 - 134 |
Avoid empty catch blocks | 203 - 205 |
Violation | Line |
---|---|
These nested if statements could be combined | 75 - 82 |
Violation | Line |
---|---|
Avoid empty catch blocks | 317 - 319 |
Avoid empty catch blocks | 362 - 364 |
Avoid empty catch blocks | 554 - 556 |
Avoid empty catch blocks | 556 - 558 |
Ensure you override both equals() and hashCode() | 691 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'ignoredAccessManager'. | 94 - 96 |
Avoid unused constructor parameters such as 'ignoredUserId'. | 98 - 100 |
Avoid unused constructor parameters such as 'ignored'. | 105 - 107 |
Avoid empty catch blocks | 411 - 413 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'ignoredAccessManager'. | 103 - 105 |
Avoid empty catch blocks | 119 - 121 |
Violation | Line |
---|---|
Avoid unused private methods such as 'checkAppRootDir()'. | 129 |
Avoid empty catch blocks | 138 - 140 |
These nested if statements could be combined | 326 - 328 |
Violation | Line |
---|---|
Avoid empty catch blocks | 141 - 143 |
Avoid empty catch blocks | 143 - 145 |
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() | 140 |
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 |
---|---|
Avoid unused private fields such as 'log'. | 48 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 49 |
Avoid unused private fields such as 'acls'. | 57 |
Violation | Line |
---|---|
These nested if statements could be combined | 117 - 120 |
These nested if statements could be combined | 154 - 157 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 71 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'password'. | 134 - 161 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 56 |
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'. | 51 |
Violation | Line |
---|---|
Avoid empty catch blocks | 150 - 152 |
These nested if statements could be combined | 261 - 263 |
Violation | Line |
---|---|
Avoid empty catch blocks | 464 - 466 |
Avoid empty catch blocks | 479 - 481 |
These nested if statements could be combined | 554 - 557 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 75 |
Violation | Line |
---|---|
Error while parsing /Users/developer/beta2/main-4.5-beta2-tag/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/developer/beta2/main-4.5-beta2-tag/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/developer/beta2/main-4.5-beta2-tag/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 unused local variables such as 'group'. | 90 |
Violation | Line |
---|---|
These nested if statements could be combined | 98 - 102 |
Violation | Line |
---|---|
These nested if statements could be combined | 350 - 355 |
Violation | Line |
---|---|
These nested if statements could be combined | 142 - 155 |
These nested if statements could be combined | 259 - 261 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 49 |
Violation | Line |
---|---|
Avoid empty catch blocks | 76 - 78 |
Avoid empty catch blocks | 88 - 90 |
Avoid empty catch blocks | 102 - 104 |
Avoid empty catch blocks | 130 - 132 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 59 |
Violation | Line |
---|---|
Avoid empty if statements | 143 - 145 |
Violation | Line |
---|---|
Avoid empty catch blocks | 184 - 186 |
Avoid empty catch blocks | 488 - 490 |
Violation | Line |
---|---|
Avoid empty catch blocks | 118 - 120 |
Avoid empty if statements | 202 - 205 |
Avoid empty catch blocks | 242 - 244 |
Avoid empty catch blocks | 255 - 257 |
Avoid empty catch blocks | 269 - 271 |
Violation | Line |
---|---|
Overriding method merely calls super | 583 - 586 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 56 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 51 |
Violation | Line |
---|---|
These nested if statements could be combined | 149 - 151 |
Violation | Line |
---|---|
Avoid unused local variables such as 'it'. | 69 |
Violation | Line |
---|---|
Avoid empty if statements | 104 - 106 |
Avoid empty while statements | 162 - 163 |
Violation | Line |
---|---|
Avoid empty catch blocks | 60 - 63 |
Violation | Line |
---|---|
Avoid unused private fields such as 'clazz'. | 195 |
Avoid unused private fields such as 'priority'. | 196 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 63 |
Avoid empty if statements | 87 - 89 |
Violation | Line |
---|---|
Avoid unused private fields such as 'mappingsNode'. | 57 |
Avoid unused local variables such as 'configHM'. | 70 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'ctx'. | 187 - 201 |
Avoid unused method parameters such as 'ctx'. | 203 - 211 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |