PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
47

Files

FilesViolations
org/apache/commons/jelly/tags/validate/AssertValidTag.java 1
org/apache/commons/jelly/tags/validate/ValidateTag.java 1
org/apache/commons/jelly/tags/validate/VerifierTag.java 4
org/apache/commons/jelly/tags/validate/TestJelly.java 1

org/apache/commons/jelly/tags/validate/AssertValidTag.java

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

org/apache/commons/jelly/tags/validate/ValidateTag.java

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

org/apache/commons/jelly/tags/validate/VerifierTag.java

ViolationLine
Avoid if (x != y) ..; else ..; 68
Avoid if (x != y) ..; else ..; 73
Avoid if (x != y) ..; else ..; 87
Avoid if (x != y) ..; else ..; 90

org/apache/commons/jelly/tags/validate/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