Foundation

PMD Results

The following document contains the results of PMD 3.9.

Files

org/apache/myfaces/component/html/ext/AbstractHtmlDataTable.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_SORTABLE'.92
Avoid unused private fields such as 'DEFAULT_EMBEDDED'.93
Avoid unused private fields such as 'DEFAULT_DETAILSTAMP_EXPANDED'.94
Avoid unused private fields such as 'DEFAULT_NEWSPAPER_COLUMNS'.97
Avoid unused private fields such as 'DEFAULT_NEWSPAPER_ORIENTATION'.98
Avoid unused private fields such as 'DEFAULT_DETAILSTAMP_LOCATION'.99
Avoid unnecessary temporaries when converting primitives to Strings1883
These nested if statements could be combined1918 - 1921
Avoid unused private fields such as 'DEFAULT_RENDEREDIFEMPTY'.1932

org/apache/myfaces/custom/buffer/AbstractBuffer.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.83

org/apache/myfaces/custom/calendar/AbstractHtmlInputCalendarTag.java

ViolationLine
Avoid unused local variables such as 'context'.56

org/apache/myfaces/custom/datalist/AbstractHtmlDataList.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.55

org/apache/myfaces/custom/date/AbstractHtmlInputDateTag.java

ViolationLine
Avoid unused local variables such as 'context'.57

org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java

ViolationLine
Overriding method merely calls super124 - 127

org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.67

org/apache/myfaces/custom/navigation/AbstractHtmlPanelNavigation.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.66
Avoid unused private fields such as 'DEFAULT_BORDER'.68
Avoid empty if statements93 - 96

org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_IMMEDIATE'.61

org/apache/myfaces/custom/radio/AbstractHtmlRadio.java

ViolationLine
Avoid unused private fields such as 'DEFAULT_RENDERER_TYPE'.67

org/apache/myfaces/custom/updateactionlistener/UpdateActionListener.java

ViolationLine
An empty statement (semicolon) not part of a loop182
An empty statement (semicolon) not part of a loop183

org/apache/myfaces/renderkit/html/ext/HtmlCheckboxRenderer.java

ViolationLine
Avoid empty if statements474 - 476

org/apache/myfaces/renderkit/html/ext/HtmlMessageRenderer.java

ViolationLine
Avoid empty while statements172

org/apache/myfaces/renderkit/html/ext/HtmlRadioRenderer.java

ViolationLine
Avoid empty if statements326 - 328

org/apache/myfaces/renderkit/html/ext/HtmlTableRenderer.java

ViolationLine
Avoid unused method parameters such as 'facesContext'.312 - 464
These nested if statements could be combined691 - 693
Avoid unnecessary temporaries when converting primitives to Strings704
These nested if statements could be combined722 - 724

org/apache/myfaces/renderkit/html/util/NonBufferingAddResource.java

ViolationLine
Avoid empty catch blocks557 - 561

org/apache/myfaces/validator/_ValidatorRule.java

ViolationLine
These nested if statements could be combined85 - 95