PMD Results

The following document contains the results of PMD 3.7.

Files

org/apache/myfaces/tobago/example/reference/OnOffConverter.java

ViolationLine
Parameter 'component' is not assigned and could be declared final36
Parameter 'value' is not assigned and could be declared final36
Parameter 'context' is not assigned and could be declared final36
Parameter 'component' is not assigned and could be declared final41
Parameter 'value' is not assigned and could be declared final41
Parameter 'context' is not assigned and could be declared final41

org/apache/myfaces/tobago/example/reference/SimpleBean.java

ViolationLine
Parameter 'name' is not assigned and could be declared final32

org/apache/myfaces/tobago/example/reference/DynamicTag.java

ViolationLine
Local variable could be declared final33 - 34
Parameter 'controller' is not assigned and could be declared final56

org/apache/myfaces/tobago/example/reference/Controller.java

ViolationLine
Private field 'tags' could be made final; it is only initialized in the declaration or constructor.37
Private field 'attributes' could be made final; it is only initialized in the declaration or constructor.39
Private field 'vehicleOptionItems' could be made final; it is only initialized in the declaration or constructor.45
Private field 'carOptionItems' could be made final; it is only initialized in the declaration or constructor.47
Private field 'motorbikeOptionItems' could be made final; it is only initialized in the declaration or constructor.49
Parameter 'manufacturer' is not assigned and could be declared final88
Parameter 'vehicle' is not assigned and could be declared final105
Parameter 'event' is not assigned and could be declared final118
Local variable could be declared final125
Local variable could be declared final126
Parameter 'text' is not assigned and could be declared final148
Parameter 'bool' is not assigned and could be declared final157

org/apache/myfaces/tobago/example/reference/TreeCommandController.java

ViolationLine
Parameter 'tree' is not assigned and could be declared final67
Parameter 'state' is not assigned and could be declared final75

org/apache/myfaces/tobago/example/reference/Progress.java

ViolationLine
Private field 'progress' could be made final; it is only initialized in the declaration or constructor.30

org/apache/myfaces/tobago/example/reference/TagData.java

ViolationLine
Private field 'clazz' could be made final; it is only initialized in the declaration or constructor.22
Parameter 'name' is not assigned and could be declared final39
Parameter 'tip' is not assigned and could be declared final47

org/apache/myfaces/tobago/example/reference/AttributeData.java

ViolationLine
Parameter 'name' is not assigned and could be declared final30
Parameter 'value' is not assigned and could be declared final38

org/apache/myfaces/tobago/example/reference/SelectBooleanCheckboxController.java

ViolationLine
Parameter 'onOffString' is not assigned and could be declared final29
Parameter 'normalBoolean' is not assigned and could be declared final37