PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
48

Files

FilesViolations
org/apache/commons/jelly/tags/dynabean/DynaclassTag.java 1
org/apache/commons/jelly/tags/dynabean/PropertyTag.java 2
org/apache/commons/jelly/tags/dynabean/SetTag.java 4
org/apache/commons/jelly/tags/dynabean/TestJelly.java 1

org/apache/commons/jelly/tags/dynabean/DynaclassTag.java

ViolationLine
Private field could be made final. It is only initialized in the declaration or constructor. 39

org/apache/commons/jelly/tags/dynabean/PropertyTag.java

ViolationLine
The class 'PropertyTag' has a Cyclomatic Complexity of 3 (Highest = 13). 34
The method 'doTag' has a Cyclomatic Complexity of 13. 46

org/apache/commons/jelly/tags/dynabean/SetTag.java

ViolationLine
Avoid if (x != y) ..; else ..; 60
Avoid if (x != y) ..; else ..; 74
Avoid if (x != y) ..; else ..; 86
Avoid if (x != y) ..; else ..; 89

org/apache/commons/jelly/tags/dynabean/TestJelly.java

ViolationLine
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 38