PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/myfaces/shared/application/DefaultViewHandlerSupport.java
Violation | Line |
---|---|
Avoid empty catch blocks | 606 - 609 |
org/apache/myfaces/shared/config/MyfacesConfig.java
Violation | Line |
---|---|
Avoid empty catch blocks | 1050 - 1054 |
org/apache/myfaces/shared/context/flash/FlashImpl.java
Violation | Line |
---|---|
These nested if statements could be combined | 248 - 275 |
These nested if statements could be combined | 1172 - 1177 |
org/apache/myfaces/shared/renderkit/RendererUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 93 - 96 |
Overriding method merely calls super | 102 - 105 |
org/apache/myfaces/shared/renderkit/_SharedRendererUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 173 - 181 |
Avoid empty catch blocks | 484 - 487 |
Avoid unused method parameters such as 'context'. | 499 - 502 |
org/apache/myfaces/shared/renderkit/html/HtmlImageRendererBase.java
Violation | Line |
---|---|
These nested if statements could be combined | 104 - 109 |
org/apache/myfaces/shared/renderkit/html/HtmlJavaScriptUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'SET_HIDDEN_INPUT_FN_NAME'. | 44 |
Avoid unused private fields such as 'CLEAR_HIDDEN_INPUT_FN_NAME'. | 48 |
Avoid unused method parameters such as 'context'. | 143 - 162 |
org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'LINE_SEPARATOR'. | 77 |
Unnecessary final modifier in final class | 817 - 828 |
Avoid unused local variables such as 'externalContext'. | 2006 |
org/apache/myfaces/shared/renderkit/html/HtmlResponseWriterImpl.java
Violation | Line |
---|---|
Avoid unused private fields such as 'COMMENT_END'. | 116 |
These nested if statements could be combined | 552 - 558 |
Avoid empty if statements | 589 - 597 |
These nested if statements could be combined | 1080 - 1090 |
org/apache/myfaces/shared/renderkit/html/HtmlTableRendererBase.java
Violation | Line |
---|---|
Avoid unused method parameters such as 'facesContext'. | 323 - 344 |
These nested if statements could be combined | 508 - 511 |
These nested if statements could be combined | 1178 - 1181 |
org/apache/myfaces/shared/renderkit/html/HtmlTextRendererBase.java
Violation | Line |
---|---|
Avoid empty if statements | 342 - 344 |
org/apache/myfaces/shared/renderkit/html/util/HTMLEncoder.java
Violation | Line |
---|---|
Avoid empty if statements | 650 - 653 |
Avoid empty if statements | 675 - 677 |
Avoid empty if statements | 810 - 812 |
Avoid empty if statements | 831 - 833 |
Avoid empty if statements | 845 - 847 |
Avoid empty if statements | 1050 - 1053 |
Avoid empty if statements | 1095 - 1097 |
Avoid unused local variables such as 'app'. | 1154 |
Avoid empty if statements | 1262 - 1264 |
Avoid empty if statements | 1295 - 1297 |
Avoid empty if statements | 1309 - 1311 |
org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java
Violation | Line |
---|---|
Avoid unused private fields such as 'log'. | 34 |
Avoid unused private fields such as 'AUTO_SCROLL_PARAM'. | 38 |
Avoid unused private fields such as 'AUTO_SCROLL_FUNCTION'. | 39 |
org/apache/myfaces/shared/renderkit/html/util/ResourceUtils.java
Violation | Line |
---|---|
Avoid unnecessary return statements | 237 |
Avoid unnecessary return statements | 303 |
org/apache/myfaces/shared/resource/BaseResourceHandlerSupport.java
Violation | Line |
---|---|
These nested if statements could be combined | 134 - 137 |
org/apache/myfaces/shared/resource/ResourceLoaderUtils.java
Violation | Line |
---|---|
Avoid empty catch blocks | 66 - 69 |
Avoid empty catch blocks | 124 - 127 |
org/apache/myfaces/shared/resource/ResourceValidationUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 130 - 135 |
These nested if statements could be combined | 210 - 215 |
org/apache/myfaces/shared/util/FastWriter.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 61 - 69 |
org/apache/myfaces/shared/util/NullEnumeration.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 31 - 34 |
org/apache/myfaces/shared/util/NullIterator.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 36 - 39 |
org/apache/myfaces/shared/util/RestoreStateUtils.java
Violation | Line |
---|---|
Avoid empty catch blocks | 113 - 116 |
org/apache/myfaces/shared/util/StateUtils.java
Violation | Line |
---|---|
These nested if statements could be combined | 209 - 215 |
Unnecessary final modifier in final class | 245 - 265 |
Unnecessary final modifier in final class | 276 - 303 |
Unnecessary final modifier in final class | 358 - 377 |
Unnecessary final modifier in final class | 379 - 382 |
Unnecessary final modifier in final class | 387 - 417 |
Unnecessary final modifier in final class | 419 - 422 |
Unnecessary final modifier in final class | 424 - 457 |
Unnecessary final modifier in final class | 539 - 646 |
Avoid empty catch blocks | 634 - 639 |
org/apache/myfaces/shared/util/StreamCharBuffer.java
Violation | Line |
---|---|
Unnecessary final modifier in final class | 970 - 1008 |
Unnecessary final modifier in final class | 1010 - 1023 |
Unnecessary final modifier in final class | 1025 - 1028 |
Unnecessary final modifier in final class | 1030 - 1042 |
Unnecessary final modifier in final class | 1044 - 1052 |
Unnecessary final modifier in final class | 1055 - 1058 |
Unnecessary final modifier in final class | 1061 - 1091 |
Unnecessary final modifier in final class | 1093 - 1118 |
Unnecessary final modifier in final class | 1121 - 1166 |
Unnecessary final modifier in final class | 1169 - 1182 |
Unnecessary final modifier in final class | 1201 - 1211 |
Unnecessary final modifier in final class | 1239 - 1242 |
These nested if statements could be combined | 1268 - 1273 |
These nested if statements could be combined | 1350 - 1367 |
Unnecessary final modifier in final class | 1383 - 1387 |
Unnecessary final modifier in final class | 1389 - 1436 |
Unnecessary final modifier in final class | 1444 - 1447 |
Unnecessary final modifier in final class | 1559 - 1563 |
Unnecessary final modifier in final class | 1565 - 1570 |
Unnecessary final modifier in final class | 1572 - 1577 |
Unnecessary final modifier in final class | 1579 - 1584 |