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 | 77 - 84 |
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'. | 108 - 110 |
Avoid empty catch blocks | 123 - 125 |
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'. | 62 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 140 |
Violation | Line |
---|---|
Avoid empty catch blocks | 125 - 127 |
Avoid empty catch blocks | 148 - 150 |
Violation | Line |
---|---|
Avoid unused private fields such as 'userDetails'. | 63 |
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 | 118 - 121 |
These nested if statements could be combined | 155 - 158 |
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 | 151 - 153 |
These nested if statements could be combined | 268 - 270 |
Violation | Line |
---|---|
Avoid empty catch blocks | 465 - 467 |
Avoid empty catch blocks | 480 - 482 |
These nested if statements could be combined | 555 - 558 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 75 |
Violation | Line |
---|---|
Error while parsing /Users/mdivilek/dev/release/4.5-RC1/sites/magnolia-4.5-RC1/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/release/4.5-RC1/sites/magnolia-4.5-RC1/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/release/4.5-RC1/sites/magnolia-4.5-RC1/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'. | 70 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 49 |
Violation | Line |
---|---|
Avoid empty catch blocks | 105 - 107 |
Avoid empty catch blocks | 170 - 172 |
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 | 587 - 590 |
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 |
---|---|
These nested if statements could be combined | 87 - 91 |
Violation | Line |
---|---|
Avoid empty if statements | 104 - 106 |
Avoid empty while statements | 162 - 163 |
Violation | Line |
---|---|
Avoid unused private fields such as 'logger'. | 64 |
Violation | Line |
---|---|
Avoid empty catch blocks | 60 - 63 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'ctx'. | 191 - 205 |
Avoid unused method parameters such as 'ctx'. | 207 - 215 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 53 |