UI-Component Sets

PMD Results

The following document contains the results of PMD 4.2.5.

Files

javax/faces/FacesException.java

ViolationLine
Overriding method merely calls super52 - 55

javax/faces/_FactoryFinderProviderFactory.java

ViolationLine
Avoid empty catch blocks72 - 75

javax/faces/component/UIComponent.java

ViolationLine
Avoid empty catch blocks602 - 605
These nested if statements could be combined1041 - 1061

javax/faces/component/UIComponentBase.java

ViolationLine
These nested if statements could be combined349 - 354
Overriding method merely calls super1121 - 1126

javax/faces/component/UIForm.java

ViolationLine
Overriding method merely calls super288 - 295

javax/faces/component/UIInput.java

ViolationLine
These nested if statements could be combined1252 - 1255

javax/faces/component/UIOutput.java

ViolationLine
Avoid empty if statements189 - 192

javax/faces/component/UISelectMany.java

ViolationLine
These nested if statements could be combined257 - 262
Overriding method merely calls super386 - 393

javax/faces/component/UIViewParameter.java

ViolationLine
Avoid unused private methods such as 'releaseRenderer()'.273

javax/faces/component/UIViewRoot.java

ViolationLine
Avoid empty catch blocks479 - 483
Overriding method merely calls super532 - 537
Overriding method merely calls super1154 - 1161

javax/faces/component/_ComponentChildrenList.java

ViolationLine
These nested if statements could be combined140 - 157
These nested if statements could be combined143 - 156

javax/faces/component/_ComponentFacetMap.java

ViolationLine
Avoid unused method parameters such as 'facetName'.148 - 173
These nested if statements could be combined153 - 170
These nested if statements could be combined156 - 169

javax/faces/component/_ComponentUtils.java

ViolationLine
Avoid unused method parameters such as 'separatorChar'.228 - 248
Avoid unused private methods such as 'dynamicIdIsEqual(String,String)'.250

javax/faces/component/_LabeledFacesMessage.java

ViolationLine
Avoid unused constructor parameters such as 'args'.40 - 44

javax/faces/component/_SelectItemsUtil.java

ViolationLine
Avoid empty catch blocks162 - 165
Avoid empty catch blocks166 - 169

javax/faces/component/_SharedRendererUtils.java

ViolationLine
These nested if statements could be combined171 - 179
Avoid empty catch blocks482 - 485

javax/faces/convert/BigDecimalConverter.java

ViolationLine
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal68

javax/faces/convert/NumberConverter.java

ViolationLine
An empty statement (semicolon) not part of a loop572

javax/faces/convert/_LabeledFacesMessage.java

ViolationLine
Avoid unused constructor parameters such as 'args'.40 - 43

javax/faces/validator/BeanValidator.java

ViolationLine
Avoid unused private methods such as 'isDisabled()'.445
Avoid unused private methods such as 'getFor()'.451
Unnecessary final modifier in final class545 - 548
Unnecessary final modifier in final class554 - 557
Unnecessary final modifier in final class630 - 633
Unnecessary final modifier in final class635 - 638
Unnecessary final modifier in final class640 - 643
Unnecessary final modifier in final class645 - 648
Unnecessary final modifier in final class650 - 653
Unnecessary final modifier in final class682 - 685
Unnecessary final modifier in final class688 - 691
Unnecessary final modifier in final class693 - 696
Unnecessary final modifier in final class698 - 701
Unnecessary final modifier in final class703 - 706
Unnecessary final modifier in final class708 - 711
Unnecessary final modifier in final class713 - 716
Unnecessary final modifier in final class718 - 721
Unnecessary final modifier in final class723 - 726

javax/faces/validator/DoubleRangeValidator.java

ViolationLine
These nested if statements could be combined118 - 122
Ensure you override both equals() and hashCode()217
Avoid unused private methods such as 'isDisabled()'.248
Avoid unused private methods such as 'getFor()'.254

javax/faces/validator/LengthValidator.java

ViolationLine
These nested if statements could be combined102 - 106
These nested if statements could be combined111 - 115
Ensure you override both equals() and hashCode()189
Avoid unused private methods such as 'isDisabled()'.220
Avoid unused private methods such as 'getFor()'.226

javax/faces/validator/LongRangeValidator.java

ViolationLine
These nested if statements could be combined117 - 121
Ensure you override both equals() and hashCode()216
Avoid unused private methods such as 'isDisabled()'.247
Avoid unused private methods such as 'getFor()'.253

javax/faces/validator/RegexValidator.java

ViolationLine
Avoid unused private methods such as 'isDisabled()'.236
Avoid unused private methods such as 'getFor()'.242

javax/faces/validator/RequiredValidator.java

ViolationLine
Avoid unused private methods such as 'isDisabled()'.89
Avoid unused private methods such as 'getFor()'.95

javax/faces/validator/_LabeledFacesMessage.java

ViolationLine
Avoid unused constructor parameters such as 'args'.40 - 44

javax/faces/webapp/PreJsf2ExceptionHandlerFactory.java

ViolationLine
Avoid unused private fields such as 'log'.54

javax/faces/webapp/UIComponentClassicTagBase.java

ViolationLine
These nested if statements could be combined545 - 554
These nested if statements could be combined747 - 755
These nested if statements could be combined1176 - 1177