Apache MyFaces
Documentation
Foundation

PMD Results

The following document contains the results of PMD 3.9.

Files

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

ViolationLine
These nested if statements could be combined331 - 334
These nested if statements could be combined339 - 342

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

ViolationLine
Ensure you override both equals() and hashCode()83
These nested if statements could be combined87 - 90

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

ViolationLine
These nested if statements could be combined149 - 152
Avoid unused method parameters such as 'context'.221 - 224

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

ViolationLine
These nested if statements could be combined92 - 94
Avoid unused local variables such as 'nestingForm'.197

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

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

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

ViolationLine
Avoid empty if statements81 - 83
Avoid unused private methods such as 'renderLinkParameter(String,Object,StringBuffer,String,UIComponent)'.526 - 530

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

ViolationLine
These nested if statements could be combined233 - 240
These nested if statements could be combined236 - 239
Avoid empty if statements260 - 267

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

ViolationLine
These nested if statements could be combined327
These nested if statements could be combined820

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

ViolationLine
Avoid empty if statements206 - 208

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

ViolationLine
Avoid empty if statements447 - 450
Avoid empty if statements472 - 474
Avoid empty if statements603 - 605
Avoid empty if statements624 - 626
Avoid empty if statements638 - 640

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

ViolationLine
Avoid unused private fields such as 'log'.39
Avoid unused private fields such as 'AUTO_SCROLL_PARAM'.43
Avoid unused private fields such as 'AUTO_SCROLL_FUNCTION'.44

org/apache/myfaces/shared/taglib/html/HtmlDataTableELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.50
Avoid unused private fields such as '_datasrc'.51
Avoid unused private fields such as '_dataformatas'.52

org/apache/myfaces/shared/taglib/html/HtmlDataTableTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.50
Avoid unused private fields such as '_datasrc'.51
Avoid unused private fields such as '_dataformatas'.52

org/apache/myfaces/shared/taglib/html/HtmlInputSecretELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

org/apache/myfaces/shared/taglib/html/HtmlInputSecretTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

org/apache/myfaces/shared/taglib/html/HtmlInputTextareaELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.43
Avoid unused private fields such as '_datasrc'.44
Avoid unused private fields such as '_dataformatas'.45

org/apache/myfaces/shared/taglib/html/HtmlInputTextareaTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.43
Avoid unused private fields such as '_datasrc'.44
Avoid unused private fields such as '_dataformatas'.45

org/apache/myfaces/shared/taglib/html/HtmlPanelGridELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.50
Avoid unused private fields such as '_datasrc'.51
Avoid unused private fields such as '_dataformatas'.52

org/apache/myfaces/shared/taglib/html/HtmlPanelGridTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.50
Avoid unused private fields such as '_datasrc'.51
Avoid unused private fields such as '_dataformatas'.52

org/apache/myfaces/shared/taglib/html/HtmlSelectBooleanCheckboxELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.45
Avoid unused private fields such as '_datasrc'.46
Avoid unused private fields such as '_dataformatas'.47

org/apache/myfaces/shared/taglib/html/HtmlSelectBooleanCheckboxTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.45
Avoid unused private fields such as '_datasrc'.46
Avoid unused private fields such as '_dataformatas'.47

org/apache/myfaces/shared/taglib/html/HtmlSelectListboxELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.46
Avoid unused private fields such as '_datasrc'.47
Avoid unused private fields such as '_dataformatas'.48

org/apache/myfaces/shared/taglib/html/HtmlSelectListboxTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.46
Avoid unused private fields such as '_datasrc'.47
Avoid unused private fields such as '_dataformatas'.48

org/apache/myfaces/shared/taglib/html/HtmlSelectManyCheckboxELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.46
Avoid unused private fields such as '_datasrc'.47
Avoid unused private fields such as '_dataformatas'.48

org/apache/myfaces/shared/taglib/html/HtmlSelectManyCheckboxTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.46
Avoid unused private fields such as '_datasrc'.47
Avoid unused private fields such as '_dataformatas'.48

org/apache/myfaces/shared/taglib/html/HtmlSelectMenuELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

org/apache/myfaces/shared/taglib/html/HtmlSelectMenuTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

org/apache/myfaces/shared/taglib/html/HtmlSelectOneRadioELTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

org/apache/myfaces/shared/taglib/html/HtmlSelectOneRadioTagBase.java

ViolationLine
Avoid unused private fields such as '_datafld'.47
Avoid unused private fields such as '_datasrc'.48
Avoid unused private fields such as '_dataformatas'.49

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

ViolationLine
These nested if statements could be combined120 - 124

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

ViolationLine
Avoid unused local variables such as 'plugins'.155

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

ViolationLine
Avoid empty catch blocks282 - 284
Avoid empty catch blocks298 - 300
Avoid empty catch blocks319 - 321
Avoid empty catch blocks332 - 334
Avoid empty catch blocks353 - 355
Avoid empty catch blocks369 - 371
Avoid empty catch blocks385 - 387
Avoid empty catch blocks407 - 409
Avoid empty catch blocks420 - 422
Avoid empty catch blocks518 - 520
Avoid empty catch blocks535 - 537

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 blocks118 - 121

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

ViolationLine
These nested if statements could be combined202 - 206
Unnecessary final modifier in final class232 - 247
Unnecessary final modifier in final class258 - 283
Unnecessary final modifier in final class336 - 355
Unnecessary final modifier in final class357 - 360
Unnecessary final modifier in final class365 - 389
Unnecessary final modifier in final class391 - 394
Unnecessary final modifier in final class396 - 427
Unnecessary final modifier in final class501 - 605
Avoid empty catch blocks593 - 598

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

ViolationLine
Avoid empty if statements52 - 55

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 statements253 - 255
Avoid empty if statements321 - 323
Avoid empty if statements357 - 359