UI-Component Sets

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 1004 - 1008

org/apache/myfaces/shared/context/flash/FlashImpl.java

Violation Line
These nested if statements could be combined 247 - 274
These nested if statements could be combined 1156 - 1161

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 methods such as 'prepareScript(FacesContext,ScriptContext,boolean)'. 129 - 130
Avoid unused method parameters such as 'context'. 360 - 379

org/apache/myfaces/shared/renderkit/html/HtmlRendererUtils.java

Violation Line
Avoid unused private fields such as 'LINE_SEPARATOR'. 76
Unnecessary final modifier in final class 803 - 814
Avoid unused local variables such as 'externalContext'. 1985

org/apache/myfaces/shared/renderkit/html/HtmlResponseWriterImpl.java

Violation Line
Avoid unused private fields such as 'COMMENT_END'. 115
These nested if statements could be combined 541 - 547
Avoid empty if statements 578 - 586
These nested if statements could be combined 1070 - 1080

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 641 - 644
Avoid empty if statements 666 - 668
Avoid empty if statements 800 - 802
Avoid empty if statements 821 - 823
Avoid empty if statements 835 - 837
Avoid empty if statements 1039 - 1042
Avoid empty if statements 1084 - 1086
Avoid unused local variables such as 'app'. 1143
Avoid empty if statements 1250 - 1252
Avoid empty if statements 1283 - 1285
Avoid empty if statements 1297 - 1299

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/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

org/apache/myfaces/shared/util/xml/XmlUtils.java

Violation Line
Avoid empty if statements 48 - 51

org/apache/myfaces/shared/webapp/webxml/FilterMapping.java

Violation Line
These nested if statements could be combined 37 - 40

org/apache/myfaces/shared/webapp/webxml/WebXmlParser.java

Violation Line
Avoid empty if statements 259 - 261
Avoid empty if statements 341 - 343
Avoid empty if statements 384 - 386