PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

Modello Core - org/codehaus/modello/core/DefaultModelloCore.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'model'. 102
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 102
Modello Core - org/codehaus/modello/core/io/ModelReader.java
Rule Violation Line
EmptyControlStatement Empty if statement 110125
EmptyControlStatement Empty else statement 123125
EmptyControlStatement Empty if statement 179188
EmptyControlStatement Empty if statement 207220
EmptyControlStatement Empty if statement 254274
EmptyControlStatement Empty if statement 329336
EmptyControlStatement Empty if statement 349354
EmptyControlStatement Empty if statement 371376
Modello Core - org/codehaus/modello/model/Model.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9091
Modello Core - org/codehaus/modello/model/ModelClass.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 203206
Modello Core - org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 121122
Modello Model Version Converter Plugin - org/codehaus/modello/plugin/converters/ConverterGenerator.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 184190
CollapsibleIfStatements These nested if statements could be combined 185189
Modello Dom4J Plugin - org/codehaus/modello/plugin/dom4j/Dom4jReaderGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 713
Modello Dom4J Plugin - org/codehaus/modello/plugin/dom4j/Dom4jWriterGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 288
Modello Jackson Plugin - org/codehaus/modello/plugin/jackson/JacksonReaderGenerator.java
Rule Violation Line
EmptyControlStatement Empty if statement 163166
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 325
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 427
Modello Java Plugin - org/codehaus/modello/plugin/java/JavaModelloGenerator.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 252258
CollapsibleIfStatements These nested if statements could be combined 15191522
CollapsibleIfStatements These nested if statements could be combined 20802082
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JClass.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 245249
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JConstructor.java
Rule Violation Line
EmptyControlStatement Empty for statement 186
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JDocComment.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 186
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JInterface.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 205209
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMember.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getModifiers': the method is declared in an interface type 89
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAnnotations': the method is declared in an interface type 97
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JSourceWriter.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 261262
UnnecessarySemicolon Unnecessary semicolon 263
EmptyCatchBlock Avoid empty catch blocks 274275
UnnecessarySemicolon Unnecessary semicolon 276
EmptyCatchBlock Avoid empty catch blocks 287288
UnnecessarySemicolon Unnecessary semicolon 289
EmptyCatchBlock Avoid empty catch blocks 300301
UnnecessarySemicolon Unnecessary semicolon 302
EmptyCatchBlock Avoid empty catch blocks 313314
UnnecessarySemicolon Unnecessary semicolon 315
EmptyCatchBlock Avoid empty catch blocks 327328
EmptyCatchBlock Avoid empty catch blocks 341342
UnnecessarySemicolon Unnecessary semicolon 343
EmptyCatchBlock Avoid empty catch blocks 354355
UnnecessarySemicolon Unnecessary semicolon 356
EmptyCatchBlock Avoid empty catch blocks 367368
UnnecessarySemicolon Unnecessary semicolon 369
EmptyCatchBlock Avoid empty catch blocks 382383
UnnecessarySemicolon Unnecessary semicolon 384
EmptyCatchBlock Avoid empty catch blocks 390391
UnnecessarySemicolon Unnecessary semicolon 392
EmptyCatchBlock Avoid empty catch blocks 400401
UnnecessarySemicolon Unnecessary semicolon 402
EmptyCatchBlock Avoid empty catch blocks 412413
UnnecessarySemicolon Unnecessary semicolon 414
EmptyCatchBlock Avoid empty catch blocks 424425
UnnecessarySemicolon Unnecessary semicolon 426
EmptyCatchBlock Avoid empty catch blocks 437438
UnnecessarySemicolon Unnecessary semicolon 439
EmptyCatchBlock Avoid empty catch blocks 449450
UnnecessarySemicolon Unnecessary semicolon 451
EmptyCatchBlock Avoid empty catch blocks 480481
UnnecessarySemicolon Unnecessary semicolon 482
EmptyCatchBlock Avoid empty catch blocks 502503
UnnecessarySemicolon Unnecessary semicolon 504
Modello JDOM Plugin - org/codehaus/modello/plugin/jdom/JDOMWriterGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 181
UnusedFormalParameter Avoid unused method parameters such as 'alwaysExisting'. 466
UnusedFormalParameter Avoid unused method parameters such as 'childFieldTagName'. 639
UnusedFormalParameter Avoid unused method parameters such as 'field'. 639
UnusedFormalParameter Avoid unused method parameters such as 'childFieldTagName'. 672
UnusedFormalParameter Avoid unused method parameters such as 'field'. 672
Modello SnakeYaml Plugin - org/codehaus/modello/plugin/snakeyaml/SnakeYamlReaderGenerator.java
Rule Violation Line
EmptyControlStatement Empty if statement 174177
UnusedFormalParameter Avoid unused method parameters such as 'objectName'. 449
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 449
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 480
UnusedFormalParameter Avoid unused method parameters such as 'locatorName'. 1075
UnusedFormalParameter Avoid unused method parameters such as 'locationKey'. 1076
UnusedFormalParameter Avoid unused method parameters such as 'wrappedItem'. 1079
Modello StAX Plugin - org/codehaus/modello/plugin/stax/StaxWriterGenerator.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 282284
Modello XPP3 Plugin - org/codehaus/modello/plugin/xpp3/Xpp3ReaderGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 548
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 624
Modello XSD Plugin - org/codehaus/modello/plugin/xsd/XsdGenerator.java
Rule Violation Line
EmptyControlStatement Empty if statement 250336
CollapsibleIfStatements These nested if statements could be combined 262264
Modello Test Package - org/codehaus/modello/AbstractModelloJavaGeneratorTest.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 165

Priority 4

Modello Core - org/codehaus/modello/model/ModelField.java
Rule Violation Line
UselessParentheses Useless parentheses. 221
Modello Core - org/codehaus/modello/model/Version.java
Rule Violation Line
UselessParentheses Useless parentheses. 184
UselessParentheses Useless parentheses. 184
Modello Core - org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 113
UselessParentheses Useless parentheses. 183
Modello Dom4J Plugin - org/codehaus/modello/plugin/dom4j/Dom4jWriterGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 209
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JComment.java
Rule Violation Line
UselessParentheses Useless parentheses. 292
UselessParentheses Useless parentheses. 342
UselessParentheses Useless parentheses. 346
UselessParentheses Useless parentheses. 346
UselessParentheses Useless parentheses. 346
UselessParentheses Useless parentheses. 350
UselessParentheses Useless parentheses. 350
UselessParentheses Useless parentheses. 350
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JCompUnit.java
Rule Violation Line
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 270
UselessParentheses Useless parentheses. 377
UselessParentheses Useless parentheses. 377
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JDocDescriptor.java
Rule Violation Line
UselessParentheses Useless parentheses. 157
UselessParentheses Useless parentheses. 349
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JInterface.java
Rule Violation Line
UselessParentheses Useless parentheses. 133
UselessParentheses Useless parentheses. 133
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMethod.java
Rule Violation Line
UselessParentheses Useless parentheses. 142
UselessParentheses Useless parentheses. 142
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMethodSignature.java
Rule Violation Line
UselessParentheses Useless parentheses. 128
UselessParentheses Useless parentheses. 128
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JModifiers.java
Rule Violation Line
UselessParentheses Useless parentheses. 207
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 231
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JNaming.java
Rule Violation Line
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 158
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JStructure.java
Rule Violation Line
UselessParentheses Useless parentheses. 356
UselessParentheses Useless parentheses. 356
UselessParentheses Useless parentheses. 643
UselessParentheses Useless parentheses. 643
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JType.java
Rule Violation Line
UselessParentheses Useless parentheses. 154161
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 156
UselessParentheses Useless parentheses. 157
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 159
UselessParentheses Useless parentheses. 160
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 196
UselessParentheses Useless parentheses. 196
Modello Java Plugin - org/codehaus/modello/plugin/java/metadata/JavaMetadataPlugin.java
Rule Violation Line
UselessParentheses Useless parentheses. 128
Modello SAX Plugin - org/codehaus/modello/plugin/sax/SaxWriterGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 337
UselessParentheses Useless parentheses. 342
UselessParentheses Useless parentheses. 342
Modello StAX Plugin - org/codehaus/modello/plugin/stax/StaxWriterGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 260
Modello XDOC Plugin - org/codehaus/modello/plugin/xdoc/XdocGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 289
UselessParentheses Useless parentheses. 479
UselessParentheses Useless parentheses. 526
UselessParentheses Useless parentheses. 526
UselessParentheses Useless parentheses. 526
Modello XML Plugin - org/codehaus/modello/plugins/xml/AbstractXmlGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 80
Modello XML Plugin - org/codehaus/modello/plugins/xml/XmlModelHelpers.java
Rule Violation Line
UselessParentheses Useless parentheses. 54
UselessParentheses Useless parentheses. 54
UselessParentheses Useless parentheses. 72
UselessParentheses Useless parentheses. 72
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 90
Modello XPP3 Plugin - org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 243
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 253
Modello XSD Plugin - org/codehaus/modello/plugin/xsd/XsdGenerator.java
Rule Violation Line
UselessParentheses Useless parentheses. 252

Files

Modello Core - org/codehaus/modello/core/DefaultModelloCore.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'model'. 3 102
UnusedFormalParameter Avoid unused method parameters such as 'modelReader'. 3 102

Modello Core - org/codehaus/modello/core/io/ModelReader.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 110125
EmptyControlStatement Empty else statement 3 123125
EmptyControlStatement Empty if statement 3 179188
EmptyControlStatement Empty if statement 3 207220
EmptyControlStatement Empty if statement 3 254274
EmptyControlStatement Empty if statement 3 329336
EmptyControlStatement Empty if statement 3 349354
EmptyControlStatement Empty if statement 3 371376

Modello Core - org/codehaus/modello/model/Model.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9091

Modello Core - org/codehaus/modello/model/ModelClass.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 203206

Modello Core - org/codehaus/modello/model/ModelField.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 221

Modello Core - org/codehaus/modello/model/Version.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 184
UselessParentheses Useless parentheses. 4 184

Modello Core - org/codehaus/modello/plugin/AbstractModelloGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 113
EmptyCatchBlock Avoid empty catch blocks 3 121122
UselessParentheses Useless parentheses. 4 183

Modello Model Version Converter Plugin - org/codehaus/modello/plugin/converters/ConverterGenerator.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 184190
CollapsibleIfStatements These nested if statements could be combined 3 185189

Modello Dom4J Plugin - org/codehaus/modello/plugin/dom4j/Dom4jReaderGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 713

Modello Dom4J Plugin - org/codehaus/modello/plugin/dom4j/Dom4jWriterGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 209
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 288

Modello Jackson Plugin - org/codehaus/modello/plugin/jackson/JacksonReaderGenerator.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 163166
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 3 325
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 427

Modello Java Plugin - org/codehaus/modello/plugin/java/JavaModelloGenerator.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 252258
CollapsibleIfStatements These nested if statements could be combined 3 15191522
CollapsibleIfStatements These nested if statements could be combined 3 20802082

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JClass.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 245249

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JComment.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 292
UselessParentheses Useless parentheses. 4 342
UselessParentheses Useless parentheses. 4 346
UselessParentheses Useless parentheses. 4 346
UselessParentheses Useless parentheses. 4 346
UselessParentheses Useless parentheses. 4 350
UselessParentheses Useless parentheses. 4 350
UselessParentheses Useless parentheses. 4 350

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JCompUnit.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 270
UselessParentheses Useless parentheses. 4 377
UselessParentheses Useless parentheses. 4 377

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JConstructor.java

Rule Violation Priority Line
EmptyControlStatement Empty for statement 3 186

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JDocComment.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 186

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JDocDescriptor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 157
UselessParentheses Useless parentheses. 4 349

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JInterface.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 133
UselessParentheses Useless parentheses. 4 133
CollapsibleIfStatements These nested if statements could be combined 3 205209

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMember.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getModifiers': the method is declared in an interface type 3 89
UnnecessaryModifier Unnecessary modifier 'public' on method 'getName': the method is declared in an interface type 3 95
UnnecessaryModifier Unnecessary modifier 'public' on method 'getAnnotations': the method is declared in an interface type 3 97

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMethod.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 142
UselessParentheses Useless parentheses. 4 142

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JMethodSignature.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 128
UselessParentheses Useless parentheses. 4 128

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JModifiers.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 207
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 231

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JNaming.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 158

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JSourceWriter.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 261262
UnnecessarySemicolon Unnecessary semicolon 3 263
EmptyCatchBlock Avoid empty catch blocks 3 274275
UnnecessarySemicolon Unnecessary semicolon 3 276
EmptyCatchBlock Avoid empty catch blocks 3 287288
UnnecessarySemicolon Unnecessary semicolon 3 289
EmptyCatchBlock Avoid empty catch blocks 3 300301
UnnecessarySemicolon Unnecessary semicolon 3 302
EmptyCatchBlock Avoid empty catch blocks 3 313314
UnnecessarySemicolon Unnecessary semicolon 3 315
EmptyCatchBlock Avoid empty catch blocks 3 327328
EmptyCatchBlock Avoid empty catch blocks 3 341342
UnnecessarySemicolon Unnecessary semicolon 3 343
EmptyCatchBlock Avoid empty catch blocks 3 354355
UnnecessarySemicolon Unnecessary semicolon 3 356
EmptyCatchBlock Avoid empty catch blocks 3 367368
UnnecessarySemicolon Unnecessary semicolon 3 369
EmptyCatchBlock Avoid empty catch blocks 3 382383
UnnecessarySemicolon Unnecessary semicolon 3 384
EmptyCatchBlock Avoid empty catch blocks 3 390391
UnnecessarySemicolon Unnecessary semicolon 3 392
EmptyCatchBlock Avoid empty catch blocks 3 400401
UnnecessarySemicolon Unnecessary semicolon 3 402
EmptyCatchBlock Avoid empty catch blocks 3 412413
UnnecessarySemicolon Unnecessary semicolon 3 414
EmptyCatchBlock Avoid empty catch blocks 3 424425
UnnecessarySemicolon Unnecessary semicolon 3 426
EmptyCatchBlock Avoid empty catch blocks 3 437438
UnnecessarySemicolon Unnecessary semicolon 3 439
EmptyCatchBlock Avoid empty catch blocks 3 449450
UnnecessarySemicolon Unnecessary semicolon 3 451
EmptyCatchBlock Avoid empty catch blocks 3 480481
UnnecessarySemicolon Unnecessary semicolon 3 482
EmptyCatchBlock Avoid empty catch blocks 3 502503
UnnecessarySemicolon Unnecessary semicolon 3 504

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JStructure.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 356
UselessParentheses Useless parentheses. 4 356
UselessParentheses Useless parentheses. 4 643
UselessParentheses Useless parentheses. 4 643

Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JType.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 154161
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 156
UselessParentheses Useless parentheses. 4 157
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 159
UselessParentheses Useless parentheses. 4 160
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 196
UselessParentheses Useless parentheses. 4 196

Modello Java Plugin - org/codehaus/modello/plugin/java/metadata/JavaMetadataPlugin.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 128

Modello JDOM Plugin - org/codehaus/modello/plugin/jdom/JDOMWriterGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 3 181
UnusedFormalParameter Avoid unused method parameters such as 'alwaysExisting'. 3 466
UnusedFormalParameter Avoid unused method parameters such as 'childFieldTagName'. 3 639
UnusedFormalParameter Avoid unused method parameters such as 'field'. 3 639
UnusedFormalParameter Avoid unused method parameters such as 'childFieldTagName'. 3 672
UnusedFormalParameter Avoid unused method parameters such as 'field'. 3 672

Modello SAX Plugin - org/codehaus/modello/plugin/sax/SaxWriterGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 337
UselessParentheses Useless parentheses. 4 342
UselessParentheses Useless parentheses. 4 342

Modello SnakeYaml Plugin - org/codehaus/modello/plugin/snakeyaml/SnakeYamlReaderGenerator.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 174177
UnusedFormalParameter Avoid unused method parameters such as 'objectName'. 3 449
UnusedFormalParameter Avoid unused method parameters such as 'rootElement'. 3 449
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 480
UnusedFormalParameter Avoid unused method parameters such as 'locatorName'. 3 1075
UnusedFormalParameter Avoid unused method parameters such as 'locationKey'. 3 1076
UnusedFormalParameter Avoid unused method parameters such as 'wrappedItem'. 3 1079

Modello StAX Plugin - org/codehaus/modello/plugin/stax/StaxWriterGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 260
CollapsibleIfStatements These nested if statements could be combined 3 282284

Modello XDOC Plugin - org/codehaus/modello/plugin/xdoc/XdocGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 289
UselessParentheses Useless parentheses. 4 479
UselessParentheses Useless parentheses. 4 526
UselessParentheses Useless parentheses. 4 526
UselessParentheses Useless parentheses. 4 526

Modello XML Plugin - org/codehaus/modello/plugins/xml/AbstractXmlGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 80

Modello XML Plugin - org/codehaus/modello/plugins/xml/XmlModelHelpers.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 54
UselessParentheses Useless parentheses. 4 54
UselessParentheses Useless parentheses. 4 72
UselessParentheses Useless parentheses. 4 72
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 90

Modello XPP3 Plugin - org/codehaus/modello/plugin/xpp3/Xpp3ReaderGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 548
UnusedFormalParameter Avoid unused method parameters such as 'jClass'. 3 624

Modello XPP3 Plugin - org/codehaus/modello/plugin/xpp3/Xpp3WriterGenerator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 243
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 253

Modello XSD Plugin - org/codehaus/modello/plugin/xsd/XsdGenerator.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 250336
UselessParentheses Useless parentheses. 4 252
CollapsibleIfStatements These nested if statements could be combined 3 262264

Modello Test Package - org/codehaus/modello/AbstractModelloJavaGeneratorTest.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 165

Suppressed Violations

Filename Rule message Suppression type Reason
org/codehaus/modello/core/DefaultModelloCore.java Avoid unused private methods such as 'upgradeModifiedAttribute(String,Map,Map,String)'. annotation