PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
914

Files

FilesViolations
org/apache/commons/jelly/tags/jsl/ApplyTemplatesTag.java 3
org/apache/commons/jelly/tags/jsl/JSLTagLibrary.java 1
org/apache/commons/jelly/tags/jsl/JellyStylesheet.java 2
org/apache/commons/jelly/tags/jsl/StyleTag.java 1
org/apache/commons/jelly/tags/jsl/StylesheetTag.java 2
org/apache/commons/jelly/tags/jsl/TemplateTag.java 1
org/apache/commons/jelly/tags/jsl/XPathPatternExpression.java 2
org/apache/commons/jelly/jsl/TestJSL.java 1
org/apache/commons/jelly/jsl/TestJSLSuite.java 1

org/apache/commons/jelly/tags/jsl/ApplyTemplatesTag.java

ViolationLine
Avoid unused private fields such as 'log' 36
Private field could be made final. It is only initialized in the declaration or constructor. 36
Avoid if (x != y) ..; else ..; 66

org/apache/commons/jelly/tags/jsl/JSLTagLibrary.java

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

org/apache/commons/jelly/tags/jsl/JellyStylesheet.java

ViolationLine
Avoid unused private fields such as 'log' 37
Private field could be made final. It is only initialized in the declaration or constructor. 37

org/apache/commons/jelly/tags/jsl/StyleTag.java

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

org/apache/commons/jelly/tags/jsl/StylesheetTag.java

ViolationLine
Private field could be made final. It is only initialized in the declaration or constructor. 40
Avoid if (x != y) ..; else ..; 111

org/apache/commons/jelly/tags/jsl/TemplateTag.java

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

org/apache/commons/jelly/tags/jsl/XPathPatternExpression.java

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

org/apache/commons/jelly/jsl/TestJSL.java

ViolationLine
Avoid unused private fields such as 'log' 47

org/apache/commons/jelly/jsl/TestJSLSuite.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