UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/myfaces/shared/application/DefaultViewHandlerSupport.java

ViolationLine
Avoid empty catch blocks588 - 591

org/apache/myfaces/shared/config/MyfacesConfig.java

ViolationLine
Avoid unused private fields such as 'log'.49
Avoid empty catch blocks789 - 793

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

ViolationLine
These nested if statements could be combined245 - 270

org/apache/myfaces/shared/renderkit/RendererUtils.java

ViolationLine
These nested if statements could be combined98 - 101
Overriding method merely calls super107 - 110

org/apache/myfaces/shared/renderkit/_SharedRendererUtils.java

ViolationLine
These nested if statements could be combined176 - 184
Avoid empty catch blocks487 - 490
Avoid unused method parameters such as 'context'.502 - 505

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

ViolationLine
Unnecessary final modifier in final class46 - 65
Unnecessary final modifier in final class67 - 81
Unnecessary final modifier in final class83 - 97
Unnecessary final modifier in final class99 - 109
Unnecessary final modifier in final class111 - 160
Unnecessary final modifier in final class163 - 177
Unnecessary final modifier in final class179 - 193
Unnecessary final modifier in final class195 - 208
Unnecessary final modifier in final class210 - 228
Unnecessary final modifier in final class230 - 238
Unnecessary final modifier in final class272 - 306
Unnecessary final modifier in final class308 - 353
Unnecessary final modifier in final class355 - 361
Unnecessary final modifier in final class363 - 370
Unnecessary final modifier in final class373 - 379
Unnecessary final modifier in final class381 - 388
Unnecessary final modifier in final class390 - 396
Unnecessary final modifier in final class398 - 404
Unnecessary final modifier in final class406 - 412
Unnecessary final modifier in final class414 - 421
Unnecessary final modifier in final class423 - 430
Unnecessary final modifier in final class432 - 438
Unnecessary final modifier in final class440 - 448
Unnecessary final modifier in final class450 - 458
Unnecessary final modifier in final class460 - 468
Unnecessary final modifier in final class470 - 480
Unnecessary final modifier in final class483 - 489
Unnecessary final modifier in final class491 - 501
Unnecessary final modifier in final class503 - 508
Unnecessary final modifier in final class510 - 515

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

ViolationLine
Avoid unused local variables such as 'externalContext'.179
Avoid unused private methods such as 'hasSubmittingBehavior(Map,String)'.326
Avoid unused method parameters such as 'component'.454 - 525
Avoid unused private methods such as 'getImage(UIComponent)'.710

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

ViolationLine
Avoid unused private methods such as 'getAcceptCharset(UIComponent)'.318

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

ViolationLine
These nested if statements could be combined112 - 117

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

ViolationLine
Avoid unused private methods such as 'renderLinkParameter(String,Object,StringBuilder,String,UIComponent)'.1224 - 1228

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

ViolationLine
Unnecessary final modifier in final class836 - 847
Unnecessary final modifier in final class860 - 870
Unnecessary final modifier in final class879 - 889
Unnecessary final modifier in final class902 - 913
Unnecessary final modifier in final class926 - 936
Unnecessary final modifier in final class944 - 958
Avoid unused private methods such as 'getClientBehaviorScript(FacesContext,UIComponent,String,Map,ScriptContext,Collection)'.1933 - 1937

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

ViolationLine
Avoid unused private fields such as 'COMMENT_END'.109
These nested if statements could be combined445 - 451
Avoid empty if statements482 - 490
These nested if statements could be combined946 - 956

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

ViolationLine
Avoid unused method parameters such as 'facesContext'.330 - 351
These nested if statements could be combined518 - 521
These nested if statements could be combined1197 - 1200

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

ViolationLine
Avoid empty if statements341 - 343

org/apache/myfaces/shared/renderkit/html/util/HTMLEncoder.java

ViolationLine
Avoid empty if statements641 - 644
Avoid empty if statements666 - 668
Avoid empty if statements800 - 802
Avoid empty if statements821 - 823
Avoid empty if statements835 - 837
Avoid empty if statements1039 - 1042
Avoid empty if statements1084 - 1086
Avoid unused local variables such as 'app'.1143
Avoid unused local variables such as 'builder'.1165
Avoid empty if statements1250 - 1252
Avoid empty if statements1283 - 1285
Avoid empty if statements1297 - 1299

org/apache/myfaces/shared/renderkit/html/util/JavascriptUtils.java

ViolationLine
Avoid unused private fields such as 'log'.40
Avoid unused private fields such as 'AUTO_SCROLL_PARAM'.44
Avoid unused private fields such as 'AUTO_SCROLL_FUNCTION'.45

org/apache/myfaces/shared/renderkit/html/util/ResourceUtils.java

ViolationLine
Avoid unnecessary return statements237
Avoid unnecessary return statements303

org/apache/myfaces/shared/resource/BaseResourceHandlerSupport.java

ViolationLine
These nested if statements could be combined123 - 126

org/apache/myfaces/shared/resource/ResourceLoaderUtils.java

ViolationLine
Avoid empty catch blocks66 - 69
Avoid empty catch blocks124 - 127

org/apache/myfaces/shared/resource/ValueExpressionFilterInputStream.java

ViolationLine
Avoid unused constructor parameters such as 'libraryName'.44 - 48
Avoid unused constructor parameters such as 'resourceName'.44 - 48

org/apache/myfaces/shared/util/ClassUtils.java

ViolationLine
Avoid unused local variables such as 'plugins'.173
Avoid empty catch blocks546 - 549

org/apache/myfaces/shared/util/FastWriter.java

ViolationLine
Unnecessary final modifier in final class62 - 70

org/apache/myfaces/shared/util/NullEnumeration.java

ViolationLine
Unnecessary final modifier in final class34 - 37

org/apache/myfaces/shared/util/NullIterator.java

ViolationLine
Unnecessary final modifier in final class39 - 42

org/apache/myfaces/shared/util/RestoreStateUtils.java

ViolationLine
Avoid empty catch blocks117 - 120

org/apache/myfaces/shared/util/StateUtils.java

ViolationLine
These nested if statements could be combined210 - 216
Unnecessary final modifier in final class246 - 266
Unnecessary final modifier in final class277 - 304
Unnecessary final modifier in final class359 - 378
Unnecessary final modifier in final class380 - 383
Unnecessary final modifier in final class388 - 418
Unnecessary final modifier in final class420 - 423
Unnecessary final modifier in final class425 - 458
Unnecessary final modifier in final class540 - 647
Avoid empty catch blocks635 - 640

org/apache/myfaces/shared/util/StreamCharBuffer.java

ViolationLine
Unnecessary final modifier in final class970 - 1008
Unnecessary final modifier in final class1010 - 1023
Unnecessary final modifier in final class1025 - 1028
Unnecessary final modifier in final class1030 - 1042
Unnecessary final modifier in final class1044 - 1052
Unnecessary final modifier in final class1055 - 1058
Unnecessary final modifier in final class1061 - 1091
Unnecessary final modifier in final class1093 - 1118
Unnecessary final modifier in final class1121 - 1166
Unnecessary final modifier in final class1169 - 1182
Unnecessary final modifier in final class1201 - 1211
Unnecessary final modifier in final class1239 - 1242
These nested if statements could be combined1268 - 1273
These nested if statements could be combined1350 - 1367
Unnecessary final modifier in final class1383 - 1387
Unnecessary final modifier in final class1389 - 1436
Unnecessary final modifier in final class1444 - 1447
Unnecessary final modifier in final class1559 - 1563
Unnecessary final modifier in final class1565 - 1570
Unnecessary final modifier in final class1572 - 1577
Unnecessary final modifier in final class1579 - 1584

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

ViolationLine
Avoid empty if statements52 - 55

org/apache/myfaces/shared/view/JspViewDeclarationLanguageBase.java

ViolationLine
Avoid unused local variables such as 'stateManager'.268

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

ViolationLine
These nested if statements could be combined41 - 44

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

ViolationLine
Avoid empty if statements263 - 265
Avoid empty if statements345 - 347
Avoid empty if statements388 - 390