UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

javax/faces/FacesException.java

Violation Line
Overriding method merely calls super 49 - 52

javax/faces/FactoryFinder.java

Violation Line
Avoid empty catch blocks 403 - 405

javax/faces/_FactoryFinderProviderFactory.java

Violation Line
Avoid empty catch blocks 128 - 131

javax/faces/application/ResourceHandler.java

Violation Line
Avoid unused private fields such as 'MYFACES_JS_RESOURCE_NAME_UNCOMPRESSED'. 71
Avoid unused private fields such as 'RENDERED_MYFACES_JS'. 74

javax/faces/component/UIComponent.java

Violation Line
Avoid empty catch blocks 697 - 700

javax/faces/component/UIComponentBase.java

Violation Line
These nested if statements could be combined 358 - 363

javax/faces/component/UIData.java

Violation Line
Error while parsing /root/myfaces/myfacesGit/myfaces/api/src/main/java/javax/faces/component/UIData.java: Encountered " ">" "> "" at line 2187, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0
Error while parsing /root/myfaces/myfacesGit/myfaces/api/src/main/java/javax/faces/component/UIData.java: Encountered " ">" "> "" at line 2187, column 50. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "float" ... "int" ... "long" ... "short" ... <IDENTIFIER> ... "?" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "?" ... 0

javax/faces/component/UIInput.java

Violation Line
Avoid empty if statements 680 - 682
These nested if statements could be combined 1422 - 1425

javax/faces/component/UIOutput.java

Violation Line
Avoid empty if statements 197 - 200

javax/faces/component/UISelectMany.java

Violation Line
These nested if statements could be combined 258 - 263

javax/faces/component/UIViewRoot.java

Violation Line
Avoid empty catch blocks 122 - 125
Avoid empty catch blocks 136 - 139
Avoid empty catch blocks 629 - 633

javax/faces/component/_ComponentChildrenList.java

Violation Line
Overriding method merely calls super 39 - 42
Overriding method merely calls super 45 - 48
These nested if statements could be combined 128 - 145
These nested if statements could be combined 131 - 144

javax/faces/component/_ComponentFacetMap.java

Violation Line
Avoid unused method parameters such as 'facetName'. 162 - 187
These nested if statements could be combined 167 - 184
These nested if statements could be combined 170 - 183

javax/faces/component/_SelectItemsUtil.java

Violation Line
Avoid empty catch blocks 158 - 161
Avoid empty catch blocks 162 - 165

javax/faces/component/_SharedRendererUtils.java

Violation Line
Avoid empty catch blocks 477 - 480

javax/faces/component/html/_HtmlInputFile.java

Violation Line
These nested if statements could be combined 148 - 151

javax/faces/convert/BigDecimalConverter.java

Violation Line
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 71

javax/faces/convert/DateTimeConverter.java

Violation Line
Error while parsing /root/myfaces/myfacesGit/myfaces/api/src/main/java/javax/faces/convert/DateTimeConverter.java: Encountered " ":" ": "" at line 388, column 29. Was expecting one of: "instanceof" ... ";" ... "=" ... "<" ... "?" ... "==" ... "<=" ... ">=" ... "!=" ... "||" ... "&&" ... "++" ... "--" ... "+" ... "-" ... "*" ... "/" ... "&" ... "|" ... "^" ... "%" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... ">" ... "<" ... 0
Error while parsing /root/myfaces/myfacesGit/myfaces/api/src/main/java/javax/faces/convert/DateTimeConverter.java: Encountered " ":" ": "" at line 388, column 29. Was expecting one of: "instanceof" ... ";" ... "=" ... "<" ... "?" ... "==" ... "<=" ... ">=" ... "!=" ... "||" ... "&&" ... "++" ... "--" ... "+" ... "-" ... "*" ... "/" ... "&" ... "|" ... "^" ... "%" ... "+=" ... "-=" ... "*=" ... "/=" ... "&=" ... "|=" ... "^=" ... "%=" ... "<<=" ... ">>=" ... ">>>=" ... ">" ... "<" ... 0

javax/faces/event/PostRenderViewEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 38 - 41

javax/faces/event/PostRestoreStateEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 40 - 43

javax/faces/event/PostValidateEvent.java

Violation Line
Avoid unused constructor parameters such as 'facesContext'. 40 - 43

javax/faces/model/IterableDataModel.java

Violation Line
Avoid empty if statements 125 - 127
Avoid empty if statements 129 - 131

javax/faces/validator/DoubleRangeValidator.java

Violation Line
These nested if statements could be combined 120 - 124

javax/faces/validator/LengthValidator.java

Violation Line
These nested if statements could be combined 103 - 107
These nested if statements could be combined 112 - 116

javax/faces/validator/LongRangeValidator.java

Violation Line
These nested if statements could be combined 120 - 124
Avoid unused private methods such as 'isDisabled()'. 280
Avoid unused private methods such as 'getFor()'. 286

javax/faces/webapp/UIComponentClassicTagBase.java

Violation Line
These nested if statements could be combined 502 - 511
These nested if statements could be combined 700 - 708
These nested if statements could be combined 1145 - 1148