PMD Results

The following document contains the results of PMD 3.9.

Files

net/sf/yui4jsf/component/accordionmenu/AccordionMenuRenderer.java

Violation Line
Avoid unused imports such as 'net.sf.yui4jsf.util.Yui4JSFConstants' 29
These nested if statements could be combined 150 - 153
Avoid unused method parameters such as 'context'. 183 - 185
Avoid unused method parameters such as 'context'. 187 - 189
Avoid unused method parameters such as 'context'. 206 - 213

net/sf/yui4jsf/component/ajaxCommandButton/AjaxCommandButtonRenderer.java

Violation Line
Avoid unused method parameters such as 'context'. 110 - 112
Avoid unused method parameters such as 'context'. 114 - 118

net/sf/yui4jsf/component/autocomplete/AutoCompleteRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 183 - 189

net/sf/yui4jsf/component/button/CommandButtonRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 121 - 130

net/sf/yui4jsf/component/button/CommandLinkRenderer.java

Violation Line
Avoid empty if statements 57 - 59
Avoid empty if statements 96 - 98
Avoid unused method parameters such as 'facesContext'. 231 - 239

net/sf/yui4jsf/component/button/MenuButtonItemRenderer.java

Violation Line
Avoid empty if statements 38 - 40
Avoid empty if statements 70 - 72

net/sf/yui4jsf/component/button/MenuButtonRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 165 - 177

net/sf/yui4jsf/component/calendar/_CalendarUtils.java

Violation Line
No need to import a type that lives in the same package 24

net/sf/yui4jsf/component/calendar/CalendarRenderer.java

Violation Line
Avoid unused method parameters such as 'context'. 315 - 320

net/sf/yui4jsf/component/chooseColor/ChooseColorRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 112 - 127
Avoid unused method parameters such as 'facesContext'. 226 - 234

net/sf/yui4jsf/component/datatable/DatatableRenderer.java

Violation Line
Avoid unused method parameters such as 'context'. 358 - 365

net/sf/yui4jsf/component/dialog/DialogRenderer.java

Violation Line
Avoid unused method parameters such as 'context'. 102 - 111

net/sf/yui4jsf/component/dialog/SimpleDialogRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 108 - 115

net/sf/yui4jsf/component/editor/EditorRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 104 - 114

net/sf/yui4jsf/component/inputColor/InputColorRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 81 - 85
Avoid unused method parameters such as 'inputColor'. 81 - 85
Avoid unused method parameters such as 'facesContext'. 88 - 92
Avoid unused method parameters such as 'facesContext'. 95 - 99
Avoid unused method parameters such as 'facesContext'. 101 - 110
Avoid unused method parameters such as 'facesContext'. 214 - 225

net/sf/yui4jsf/component/logger/LoggerRenderer.java

Violation Line
Avoid unused method parameters such as 'logger'. 128 - 131
Avoid unused method parameters such as 'writer'. 128 - 131
Avoid unused method parameters such as 'facesContext'. 168 - 180

net/sf/yui4jsf/component/menu/MenuRenderer.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 310

net/sf/yui4jsf/component/panel/PanelRenderer.java

Violation Line
Avoid unused method parameters such as 'context'. 162 - 169

net/sf/yui4jsf/component/slider/SliderRenderer.java

Violation Line
No need to import a type that lives in the same package 25
Avoid unused method parameters such as 'facesContext'. 158 - 163

net/sf/yui4jsf/component/slideshow/SlideShowRenderer.java

Violation Line
Avoid unused method parameters such as 'facesContext'. 150 - 163

net/sf/yui4jsf/component/tabview/TabViewRenderer.java

Violation Line
Avoid unused method parameters such as 'tabIndex'. 114 - 133
Avoid unused method parameters such as 'facesContext'. 175 - 184

net/sf/yui4jsf/component/treeview/TreeViewRenderer.java

Violation Line
Avoid unused imports such as 'net.sf.yui4jsf.util.TreeViewAjaxPhaseListener' 35
Avoid unused private fields such as 'logger'. 50
Avoid unused method parameters such as 'facesContext'. 271 - 295

net/sf/yui4jsf/util/ComponentUtils.java

Violation Line
These nested if statements could be combined 233 - 235

net/sf/yui4jsf/util/ContainerAttributes.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 45
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 48
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 49

net/sf/yui4jsf/util/TreeViewAjaxPhaseListener.java

Violation Line
Avoid unused method parameters such as 'result'. 141 - 143

net/sf/yui4jsf/util/Yui4JSFResourceLoaderPhaseListener.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 200
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 205