PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
1169

Files

FilesViolations
org/apache/commons/jelly/tags/swt/FontTag.java 2
org/apache/commons/jelly/tags/swt/ImageTag.java 2
org/apache/commons/jelly/tags/swt/LayoutDataTag.java 2
org/apache/commons/jelly/tags/swt/LayoutTag.java 1
org/apache/commons/jelly/tags/swt/LayoutTagSupport.java 4
org/apache/commons/jelly/tags/swt/MenuTag.java 1
org/apache/commons/jelly/tags/swt/SwtHelper.java 3
org/apache/commons/jelly/tags/swt/SwtTagLibrary.java 49
org/apache/commons/jelly/tags/swt/WidgetTag.java 2
org/apache/commons/jelly/tags/swt/converters/ColorConverter.java 2
org/apache/commons/jelly/tags/swt/converters/PointConverter.java 1

org/apache/commons/jelly/tags/swt/FontTag.java

ViolationLine
Avoid unused imports such as 'org.apache.commons.jelly.tags.swt.converters.ColorConverter' 21
These nested if statements could be combined 172

org/apache/commons/jelly/tags/swt/ImageTag.java

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

org/apache/commons/jelly/tags/swt/LayoutDataTag.java

ViolationLine
Avoid unused private fields such as 'log' 39
These nested if statements could be combined 107

org/apache/commons/jelly/tags/swt/LayoutTag.java

ViolationLine
Avoid unused private fields such as 'log' 36

org/apache/commons/jelly/tags/swt/LayoutTagSupport.java

ViolationLine
This abstract class does not have any abstract methods 37
Avoid unused private fields such as 'log' 40
Avoid unused private fields such as 'var' 42
Avoid if (x != y) ..; else ..; 99

org/apache/commons/jelly/tags/swt/MenuTag.java

ViolationLine
Avoid unused private fields such as 'log' 37

org/apache/commons/jelly/tags/swt/SwtHelper.java

ViolationLine
Avoid reassigning parameters such as 'text' 62
When doing a String.toLowerCase()/toUpperCase() call, use a Locale 66
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 95

org/apache/commons/jelly/tags/swt/SwtTagLibrary.java

ViolationLine
Avoid unused private fields such as 'log' 84
Overridable method 'registerWidgetTag' called during construction 94
Overridable method 'registerWidgetTag' called during construction 95
Overridable method 'registerWidgetTag' called during construction 96
Overridable method 'registerWidgetTag' called during construction 97
Overridable method 'registerWidgetTag' called during construction 98
Overridable method 'registerWidgetTag' called during construction 99
Overridable method 'registerWidgetTag' called during construction 100
Overridable method 'registerWidgetTag' called during construction 101
Overridable method 'registerWidgetTag' called during construction 102
Overridable method 'registerWidgetTag' called during construction 103
Overridable method 'registerWidgetTag' called during construction 104
Overridable method 'registerWidgetTag' called during construction 105
Overridable method 'registerMenuTag' called during construction 106
Overridable method 'registerMenuTag' called during construction 107
Overridable method 'registerWidgetTag' called during construction 108
Overridable method 'registerWidgetTag' called during construction 109
Overridable method 'registerWidgetTag' called during construction 110
Overridable method 'registerWidgetTag' called during construction 111
Overridable method 'registerWidgetTag' called during construction 112
Overridable method 'registerWidgetTag' called during construction 113
Overridable method 'registerWidgetTag' called during construction 114
Overridable method 'registerWidgetTag' called during construction 115
Overridable method 'registerWidgetTag' called during construction 116
Overridable method 'registerWidgetTag' called during construction 117
Overridable method 'registerWidgetTag' called during construction 118
Overridable method 'registerWidgetTag' called during construction 119
Overridable method 'registerWidgetTag' called during construction 120
Overridable method 'registerWidgetTag' called during construction 121
Overridable method 'registerWidgetTag' called during construction 122
Overridable method 'registerWidgetTag' called during construction 123
Overridable method 'registerWidgetTag' called during construction 124
Overridable method 'registerWidgetTag' called during construction 125
Overridable method 'registerWidgetTag' called during construction 126
Overridable method 'registerWidgetTag' called during construction 129
Overridable method 'registerWidgetTag' called during construction 130
Overridable method 'registerWidgetTag' called during construction 131
Overridable method 'registerWidgetTag' called during construction 132
Overridable method 'registerLayoutTag' called during construction 135
Overridable method 'registerLayoutTag' called during construction 136
Overridable method 'registerLayoutTag' called during construction 137
Overridable method 'registerLayoutDataTag' called during construction 140
Overridable method 'registerLayoutDataTag' called during construction 141
Overridable method 'registerDialogTag' called during construction 144
Overridable method 'registerDialogTag' called during construction 145
Overridable method 'registerDialogTag' called during construction 146
Overridable method 'registerDialogTag' called during construction 147
A high number of imports can indicate a high degree of coupling within an object. 267
A value of 52 may denote a high amount of coupling within the class 267

org/apache/commons/jelly/tags/swt/WidgetTag.java

ViolationLine
Avoid unused private fields such as 'log' 48
These nested if statements could be combined 251

org/apache/commons/jelly/tags/swt/converters/ColorConverter.java

ViolationLine
Avoid if (x != y) ..; else ..; 95
Avoid reassigning parameters such as 'text' 116

org/apache/commons/jelly/tags/swt/converters/PointConverter.java

ViolationLine
Avoid reassigning parameters such as 'text' 70