PMD Results

The following document contains the results of PMD .

Summary

Files Errors
66 426

Files

Files Violations
xdoclet/Accept.java 4
xdoclet/MetadataProvider.java 2
xdoclet/PackageSubstitution.java 1
xdoclet/Plugin.java 38
xdoclet/PluginFactory.java 31
xdoclet/Property.java 3
xdoclet/XDoclet.java 13
xdoclet/ant/AntLogFactory.java 12
xdoclet/ant/AntProxy.java 14
xdoclet/ant/XDocletTask.java 5
xdoclet/beans/BeanContextSupportEx.java 1
xdoclet/beans/Invocation.java 2
xdoclet/gui/BeanContextTreeModel.java 7
xdoclet/gui/ValueHolder.java 1
xdoclet/gui/ValueHolderFactory.java 1
xdoclet/gui/swing/BeanContextConfigurationPanel.java 12
xdoclet/gui/swing/BeanTreeCellRenderer.java 1
xdoclet/gui/swing/PropertyFile.java 11
xdoclet/gui/swing/PropertySheet.java 8
xdoclet/gui/swing/PropertyText.java 10
xdoclet/gui/swing/SwingValueHolderFactory.java 2
xdoclet/plugins/BetwixtPlugin.java 15
xdoclet/plugins/JellyPlugin.java 2
xdoclet/plugins/ScriptPlugin.java 7
xdoclet/plugins/VelocityPlugin.java 7
xdoclet/sdk/ant/AntTaskPredicate.java 1
xdoclet/sdk/ant/AntUtil.java 32
xdoclet/sdk/ant/BuildXmlMetadataProvider.java 2
xdoclet/sdk/ant/BuildXmlPlugin.java 1
xdoclet/sdk/ant/PropertyMethodPredicate.java 4
xdoclet/sdk/xgg/MergedClass.java 4
xdoclet/sdk/xgg/XGGPlugin.java 4
xdoclet/sdk/xgg/XGGPojo.java 4
xdoclet/sdk/xgg/betwixt/BeanReaderSerializer.java 8
xdoclet/sdk/xgg/binding/Attribute.java 2
xdoclet/sdk/xgg/binding/Binder.java 10
xdoclet/sdk/xgg/binding/DataTypeUtils.java 20
xdoclet/sdk/xgg/binding/Element.java 2
xdoclet/sdk/xgg/binding/NamingUtils.java 18
xdoclet/sdk/xgg/binding/SubElement.java 2
xdoclet/sdk/xgg/binding/XGGVisitor.java 8
xdoclet/sdk/xtag/migrator/Condition.java 3
xdoclet/sdk/xtag/migrator/Namespace.java 5
xdoclet/sdk/xtag/migrator/OptionSets.java 1
xdoclet/sdk/xtag/migrator/Options.java 1
xdoclet/sdk/xtag/migrator/Parameter.java 5
xdoclet/sdk/xtag/migrator/Tag.java 7
xdoclet/sdk/xtag/migrator/Tags.java 1
xdoclet/sdk/xtag/migrator/XTagXml2BeanPlugin.java 7
xdoclet/sdk/xtag/migrator/Xdoclet.java 1
xdoclet/util/ClasspathManager.java 15
xdoclet/util/FileUtils.java 8
xdoclet/util/TypeConversionUtil.java 3
xdoclet/util/betwixt/BetwixtConfigurer.java 2
xdoclet/util/predicates/And.java 1
xdoclet/util/predicates/CompositePredicate.java 1
xdoclet/util/predicates/False.java 1
xdoclet/util/predicates/HasClassTag.java 10
xdoclet/util/predicates/IsA.java 2
xdoclet/util/predicates/Not.java 1
xdoclet/util/predicates/Or.java 1
xdoclet/util/predicates/ReflectionPredicate.java 4
xdoclet/util/predicates/SimplePredicateFactory.java 3
xdoclet/util/predicates/True.java 1
xdoclet/util/velocity/VelocityConfigurer.java 6
xdoclet/xjavadoc/XJavadocMetadataProvider.java 4

xdoclet/Accept.java

Violation Line
Avoid excessively long variable names 20
Avoid excessively long variable names 29
Avoid variables with short names 45
Avoid variables with short names 66

xdoclet/MetadataProvider.java

Violation Line
Avoid variables with short names 34
Avoid variables with short names 43

xdoclet/PackageSubstitution.java

Violation Line
Avoid variables with short names 50

xdoclet/Plugin.java

Violation Line
Avoid excessively long variable names 64
Avoid excessively long variable names 66
Avoid excessively long variable names 77
Avoid excessively long variable names 142
Avoid variables with short names 200
Avoid excessively long variable names 215
Avoid variables with short names 225
Avoid excessively long variable names 239
Avoid excessively long variable names 275
Avoid excessively long variable names 286
Avoid excessively long variable names 330
Avoid excessively long variable names 333
Avoid excessively long variable names 367
Avoid reassigning parameters such as 'packageName' 390
Avoid excessively long variable names 403
Avoid excessively long variable names 433
Avoid excessively long variable names 436
Avoid excessively long variable names 437
Avoid variables with short names 465
Avoid excessively long variable names 485
Avoid excessively long variable names 486
Avoid excessively long variable names 487
Avoid excessively long variable names 488
Avoid variables with short names 492
Avoid empty catch blocks 494
Avoid variables with short names 494
Avoid empty catch blocks 496
Avoid variables with short names 496
Avoid empty catch blocks 498
Avoid variables with short names 498
Avoid empty catch blocks 500
Avoid variables with short names 500
Avoid empty catch blocks 502
Avoid variables with short names 502
Avoid variables with short names 504
Avoid empty catch blocks 506
Avoid variables with short names 518
Avoid variables with short names 523

xdoclet/PluginFactory.java

Violation Line
Avoid excessively long variable names 45
Avoid excessively long variable names 48
Avoid excessively long variable names 51
Avoid excessively long variable names 54
Avoid excessively long variable names 57
Avoid excessively long variable names 64
Avoid variables with short names 80
Avoid variables with short names 105
Avoid variables with short names 129
Avoid variables with short names 132
Avoid variables with short names 135
Avoid reassigning parameters such as 'pluginName' 147
Avoid variables with short names 160
Avoid reassigning parameters such as 'pluginName' 176
Avoid variables with short names 211
Avoid variables with short names 214
Avoid variables with short names 217
Avoid excessively long variable names 242
Avoid excessively long variable names 245
Avoid variables with short names 255
Avoid variables with short names 260
Avoid reassigning parameters such as 'pluginName' 275
Avoid excessively long variable names 285
Avoid excessively long variable names 289
Avoid excessively long variable names 291
Avoid variables with short names 293
Avoid excessively long variable names 338
Avoid excessively long variable names 343
Avoid variables with short names 346
Avoid variables with short names 348
Avoid variables with short names 350

xdoclet/Property.java

Violation Line
Avoid calls to overridable methods during construction 28
Avoid calls to overridable methods during construction 29
Avoid variables with short names 32

xdoclet/XDoclet.java

Violation Line
Avoid excessively long variable names 51
Avoid excessively long variable names 54
Avoid excessively long variable names 66
Avoid variables with short names 78
Avoid variables with short names 87
Avoid excessively long variable names 134
Avoid excessively long variable names 190
Avoid excessively long variable names 192
Avoid variables with short names 217
Avoid variables with short names 281
Avoid variables with short names 290
Avoid variables with short names 294
Avoid excessively long variable names 300

xdoclet/ant/AntLogFactory.java

Violation Line
The class 'AntLogFactory' has a Cyclomatic Complexity of 9 (Highest = 24). 25
Avoid really long methods. 63
The method 'getInstance' has a Cyclomatic Complexity of 24. 63
Avoid variables with short names 83
Deeply nested if..then statements are hard to read 92
Avoid variables with short names 93
Avoid variables with short names 105
Avoid variables with short names 113
Avoid variables with short names 121
Avoid variables with short names 129
Avoid variables with short names 137
Avoid variables with short names 145

xdoclet/ant/AntProxy.java

Violation Line
Avoid excessively long variable names 34
Avoid using if statements without curly braces 44
Avoid using if statements without curly braces 45
Avoid using if statements without curly braces 46
Avoid excessively long variable names 58
Avoid variables with short names 71
Avoid variables with short names 77
The same String literal appears 5 times in this file; the first occurrence is on line 78 78
The same String literal appears 5 times in this file; the first occurrence is on line 79 79
Avoid variables with short names 82
Avoid variables with short names 87
Avoid variables with short names 93
Avoid variables with short names 99
Avoid variables with short names 100

xdoclet/ant/XDocletTask.java

Violation Line
Avoid variables with short names 74
Avoid variables with short names 117
Avoid excessively long variable names 147
Avoid variables with short names 154
Avoid variables with short names 177

xdoclet/beans/BeanContextSupportEx.java

Violation Line
Avoid variables with short names 18

xdoclet/beans/Invocation.java

Violation Line
Avoid excessively long variable names 13
Avoid excessively long variable names 17

xdoclet/gui/BeanContextTreeModel.java

Violation Line
Avoid excessively long variable names 29
Avoid variables with short names 70
Avoid variables with short names 74
Avoid variables with short names 79
Switch statements should have a default label 85
Avoid excessively long variable names 136
Avoid excessively long variable names 172

xdoclet/gui/ValueHolder.java

Violation Line
Avoid variables with short names 13

xdoclet/gui/ValueHolderFactory.java

Violation Line
Avoid excessively long variable names 12

xdoclet/gui/swing/BeanContextConfigurationPanel.java

Violation Line
Avoid excessively long variable names 31
Avoid excessively long variable names 33
Avoid excessively long variable names 34
Avoid excessively long variable names 40
Avoid variables with short names 61
Avoid excessively long variable names 65
Avoid variables with short names 88
Avoid variables with short names 91
Avoid variables with short names 114
Avoid excessively long variable names 129
Avoid excessively long variable names 134
Avoid excessively long variable names 146

xdoclet/gui/swing/BeanTreeCellRenderer.java

Violation Line
Avoid variables with short names 37

xdoclet/gui/swing/PropertyFile.java

Violation Line
Avoid unused imports such as 'FileFilter' 6
Avoid excessively long variable names 21
Avoid excessively long variable names 22
Avoid excessively long variable names 43
Avoid calls to overridable methods during construction 59
Avoid variables with short names 65
Avoid excessively long variable names 75
Avoid variables with short names 79
Avoid variables with short names 85
Avoid variables with short names 89
Avoid variables with short names 93

xdoclet/gui/swing/PropertySheet.java

Violation Line
Avoid variables with short names 35
Avoid excessively long variable names 45
Avoid variables with short names 57
Avoid variables with short names 59
Avoid excessively long variable names 66
Avoid excessively long variable names 69
Avoid variables with short names 84
Avoid empty 'if' statements 96

xdoclet/gui/swing/PropertyText.java

Violation Line
Avoid excessively long variable names 17
Avoid excessively long variable names 18
Avoid excessively long variable names 21
Avoid calls to overridable methods during construction 31
Avoid variables with short names 37
Avoid excessively long variable names 47
Avoid variables with short names 50
Avoid variables with short names 56
Avoid variables with short names 60
Avoid variables with short names 64

xdoclet/gui/swing/SwingValueHolderFactory.java

Violation Line
Avoid excessively long variable names 16
Avoid variables with short names 25

xdoclet/plugins/BetwixtPlugin.java

Violation Line
Avoid excessively long variable names 58
Avoid unused private methods such as 'readBeanReader' 104
Avoid excessively long variable names 109
Avoid variables with short names 112
Avoid variables with short names 115
Avoid variables with short names 118
Avoid excessively long variable names 147
Avoid variables with short names 162
Avoid variables with short names 171
Avoid variables with short names 177
Avoid variables with short names 180
Avoid variables with short names 216
Avoid variables with short names 218
Avoid variables with short names 221
Avoid variables with short names 250

xdoclet/plugins/JellyPlugin.java

Violation Line
Avoid variables with short names 103
Avoid variables with short names 106

xdoclet/plugins/ScriptPlugin.java

Violation Line
Avoid excessively long variable names 28
Avoid excessively long variable names 31
Avoid variables with short names 97
Avoid excessively long variable names 103
Avoid excessively long variable names 109
Avoid excessively long variable names 119
Avoid excessively long variable names 123

xdoclet/plugins/VelocityPlugin.java

Violation Line
Avoid excessively long variable names 39
Avoid excessively long variable names 51
Avoid variables with short names 112
Avoid variables with short names 120
Avoid variables with short names 121
Avoid variables with short names 124
Avoid variables with short names 126

xdoclet/sdk/ant/AntTaskPredicate.java

Violation Line
Avoid variables with short names 24

xdoclet/sdk/ant/AntUtil.java

Violation Line
The class 'AntUtil' has a Cyclomatic Complexity of 4 (Highest = 12). 31
Avoid excessively long variable names 35
Avoid excessively long variable names 36
Avoid excessively long variable names 37
Avoid excessively long variable names 38
Avoid variables with short names 152
Avoid empty catch blocks 153
Avoid variables with short names 153
Avoid empty catch blocks 154
Avoid reassigning parameters such as 'type' 239
Avoid variables with short names 246
Avoid excessively long variable names 247
Avoid variables with short names 258
Avoid unused private methods such as 'getAttributeMethods' 272
Avoid variables with short names 276
Avoid variables with short names 280
Avoid excessively long variable names 287
Avoid excessively long variable names 305
Avoid excessively long variable names 316
Avoid excessively long variable names 323
Avoid unused private methods such as 'getElementMethods' 356
The method 'getElementMethods' has a Cyclomatic Complexity of 12. 356
Avoid variables with short names 360
Avoid variables with short names 364
Avoid excessively long variable names 371
Avoid excessively long variable names 388
Avoid excessively long variable names 436
Avoid reassigning parameters such as 'cur_class' 463
Avoid variables with short names 579
Avoid variables with short names 580
Avoid variables with short names 581
Ensure you override both equals() and hashCode() 586

xdoclet/sdk/ant/BuildXmlMetadataProvider.java

Violation Line
Avoid variables with short names 35
Avoid variables with short names 41

xdoclet/sdk/ant/BuildXmlPlugin.java

Violation Line
Avoid variables with short names 31

xdoclet/sdk/ant/PropertyMethodPredicate.java

Violation Line
Avoid excessively long variable names 22
Avoid excessively long variable names 23
Avoid variables with short names 40
Avoid variables with short names 48

xdoclet/sdk/xgg/MergedClass.java

Violation Line
Avoid excessively long variable names 28
Avoid excessively long variable names 31
Avoid variables with short names 82
Avoid excessively long variable names 161

xdoclet/sdk/xgg/XGGPlugin.java

Violation Line
Avoid excessively long variable names 76
Avoid excessively long variable names 78
Avoid variables with short names 114
Avoid variables with short names 142

xdoclet/sdk/xgg/XGGPojo.java

Violation Line
Avoid using implementation types like 'HashMap'; use the interface instead 21
Avoid variables with short names 35
Avoid variables with short names 42
Avoid excessively long variable names 59

xdoclet/sdk/xgg/betwixt/BeanReaderSerializer.java

Violation Line
Avoid variables with short names 66
Avoid variables with short names 80
Avoid reassigning parameters such as 'pakkage' 86
Avoid excessively long variable names 93
Deeply nested if..then statements are hard to read 103
Avoid variables with short names 116
The same String literal appears 4 times in this file; the first occurrence is on line 117 117
Avoid variables with short names 119

xdoclet/sdk/xgg/binding/Attribute.java

Violation Line
Avoid variables with short names 92
Ensure you override both equals() and hashCode() 92

xdoclet/sdk/xgg/binding/Binder.java

Violation Line
Avoid empty 'if' statements 75
Avoid excessively long variable names 102
Avoid variables with short names 105
Avoid variables with short names 108
Avoid variables with short names 111
Avoid variables with short names 114
Avoid unused private methods such as 'writeRngFile' 143
Avoid excessively long variable names 145
Avoid variables with short names 157
Avoid variables with short names 164

xdoclet/sdk/xgg/binding/DataTypeUtils.java

Violation Line
Avoid using implementation types like 'HashMap'; use the interface instead 72
Avoid variables with short names 86
Avoid variables with short names 87
Avoid variables with short names 115
The same String literal appears 14 times in this file; the first occurrence is on line 123 123
The same String literal appears 5 times in this file; the first occurrence is on line 144 144
The same String literal appears 4 times in this file; the first occurrence is on line 150 150
Avoid variables with short names 176
Avoid variables with short names 183
Avoid variables with short names 200
Avoid variables with short names 207
Avoid variables with short names 210
Avoid variables with short names 225
Avoid variables with short names 237
Avoid variables with short names 249
Avoid variables with short names 261
Avoid variables with short names 268
Avoid variables with short names 275
Avoid variables with short names 282
Avoid variables with short names 289

xdoclet/sdk/xgg/binding/Element.java

Violation Line
Avoid unused private fields such as '_hasPcData' 19
Avoid variables with short names 118

xdoclet/sdk/xgg/binding/NamingUtils.java

Violation Line
Avoid excessively long variable names 17
Avoid excessively long variable names 20
Avoid using implementation types like 'HashMap'; use the interface instead 20
Avoid excessively long variable names 23
Avoid excessively long variable names 41
Avoid excessively long variable names 44
Avoid excessively long variable names 46
The same String literal appears 7 times in this file; the first occurrence is on line 79 79
The same String literal appears 5 times in this file; the first occurrence is on line 80 80
The same String literal appears 7 times in this file; the first occurrence is on line 127 127
The same String literal appears 5 times in this file; the first occurrence is on line 183 183
Avoid variables with short names 236
Avoid excessively long variable names 357
Avoid instantiating String objects; this is usually unnecessary. 362
Avoid excessively long variable names 387
Avoid instantiating String objects; this is usually unnecessary. 392
Avoid excessively long variable names 477
Avoid variables with short names 560

xdoclet/sdk/xgg/binding/SubElement.java

Violation Line
Avoid variables with short names 124
Ensure you override both equals() and hashCode() 124

xdoclet/sdk/xgg/binding/XGGVisitor.java

Violation Line
Avoid excessively long variable names 43
Avoid using implementation types like 'HashMap'; use the interface instead 43
Avoid excessively long variable names 46
Avoid excessively long variable names 51
Avoid excessively long variable names 59
Avoid variables with short names 181
Avoid excessively long variable names 280
Avoid variables with short names 411

xdoclet/sdk/xtag/migrator/Condition.java

Violation Line
Avoid excessively long variable names 147
Avoid excessively long variable names 162
Avoid excessively long variable names 192

xdoclet/sdk/xtag/migrator/Namespace.java

Violation Line
The same String literal appears 5 times in this file; the first occurrence is on line 59 59
Avoid excessively long variable names 89
Avoid excessively long variable names 111
Avoid excessively long variable names 126
Avoid excessively long variable names 148

xdoclet/sdk/xtag/migrator/OptionSets.java

Violation Line
Avoid excessively long variable names 67

xdoclet/sdk/xtag/migrator/Options.java

Violation Line
Avoid excessively long variable names 67

xdoclet/sdk/xtag/migrator/Parameter.java

Violation Line
The same String literal appears 8 times in this file; the first occurrence is on line 61 61
Avoid excessively long variable names 128
Avoid excessively long variable names 150
Avoid excessively long variable names 239
Avoid excessively long variable names 261

xdoclet/sdk/xtag/migrator/Tag.java

Violation Line
Avoid excessively long variable names 67
The same String literal appears 6 times in this file; the first occurrence is on line 89 89
Avoid excessively long variable names 119
Avoid excessively long variable names 141
Avoid excessively long variable names 230
Avoid excessively long variable names 252
Avoid excessively long variable names 319

xdoclet/sdk/xtag/migrator/Tags.java

Violation Line
Avoid excessively long variable names 67

xdoclet/sdk/xtag/migrator/XTagXml2BeanPlugin.java

Violation Line
Avoid excessively long variable names 134
Avoid excessively long variable names 138
Avoid variables with short names 142
Avoid variables with short names 145
Avoid variables with short names 148
Avoid variables with short names 154
Avoid variables with short names 169

xdoclet/sdk/xtag/migrator/Xdoclet.java

Violation Line
Avoid excessively long variable names 53

xdoclet/util/ClasspathManager.java

Violation Line
Avoid variables with short names 63
Avoid variables with short names 124
Avoid empty catch blocks 125
Avoid empty catch blocks 127
Avoid empty catch blocks 136
Avoid excessively long variable names 146
Avoid excessively long variable names 189
Avoid variables with short names 197
Avoid empty catch blocks 199
Avoid variables with short names 205
Avoid empty catch blocks 207
Avoid variables with short names 231
Avoid variables with short names 238
Avoid variables with short names 254
Avoid variables with short names 270

xdoclet/util/FileUtils.java

Violation Line
All methods are static. Consider using Singleton instead. 5
Avoid excessively long variable names 39
Avoid variables with short names 43
Avoid excessively long variable names 51
Avoid variables with short names 56
Avoid unnecessary if..then..else statements when returning a boolean 71
Avoid variables with short names 109
Avoid variables with short names 115

xdoclet/util/TypeConversionUtil.java

Violation Line
All methods are static. Consider using Singleton instead. 5
Avoid variables with short names 21
Avoid excessively long variable names 54

xdoclet/util/betwixt/BetwixtConfigurer.java

Violation Line
All methods are static. Consider using Singleton instead. 1
Avoid excessively long variable names 13

xdoclet/util/predicates/And.java

Violation Line
Avoid variables with short names 18

xdoclet/util/predicates/CompositePredicate.java

Violation Line
Avoid excessively long variable names 18

xdoclet/util/predicates/False.java

Violation Line
Avoid variables with short names 15

xdoclet/util/predicates/HasClassTag.java

Violation Line
Avoid excessively long variable names 17
Avoid excessively long variable names 18
Avoid calls to overridable methods during construction 24
Avoid excessively long variable names 34
Avoid calls to overridable methods during construction 35
Avoid calls to overridable methods during construction 36
Avoid calls to overridable methods during construction 37
Avoid excessively long variable names 44
Avoid excessively long variable names 48
Avoid excessively long variable names 52

xdoclet/util/predicates/IsA.java

Violation Line
Avoid calls to overridable methods during construction 30
Avoid variables with short names 41

xdoclet/util/predicates/Not.java

Violation Line
Avoid variables with short names 23

xdoclet/util/predicates/Or.java

Violation Line
Avoid variables with short names 17

xdoclet/util/predicates/ReflectionPredicate.java

Violation Line
Avoid calls to overridable methods during construction 26
Avoid excessively long variable names 29
Avoid variables with short names 35
Avoid variables with short names 51

xdoclet/util/predicates/SimplePredicateFactory.java

Violation Line
Avoid variables with short names 69
Avoid variables with short names 71
Avoid excessively long variable names 82

xdoclet/util/predicates/True.java

Violation Line
Avoid variables with short names 15

xdoclet/util/velocity/VelocityConfigurer.java

Violation Line
Avoid excessively long variable names 34
Avoid excessively long variable names 44
Avoid excessively long variable names 54
Avoid calls to overridable methods during construction 56
Avoid calls to overridable methods during construction 57
Avoid excessively long variable names 85

xdoclet/xjavadoc/XJavadocMetadataProvider.java

Violation Line
Avoid excessively long variable names 96
Avoid variables with short names 103
Avoid variables with short names 107
Avoid variables with short names 118