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 | 110–125 |
EmptyControlStatement | Empty else statement | 123–125 |
EmptyControlStatement | Empty if statement | 179–188 |
EmptyControlStatement | Empty if statement | 207–220 |
EmptyControlStatement | Empty if statement | 254–274 |
EmptyControlStatement | Empty if statement | 329–336 |
EmptyControlStatement | Empty if statement | 349–354 |
EmptyControlStatement | Empty if statement | 371–376 |
Modello Core - org/codehaus/modello/model/Model.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 90–91 |
Modello Core - org/codehaus/modello/model/ModelClass.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 203–206 |
Modello Core - org/codehaus/modello/plugin/AbstractModelloGenerator.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 121–122 |
Modello Model Version Converter Plugin - org/codehaus/modello/plugin/converters/ConverterGenerator.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 184–190 |
CollapsibleIfStatements | These nested if statements could be combined | 185–189 |
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 | 163–166 |
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 | 252–258 |
CollapsibleIfStatements | These nested if statements could be combined | 1519–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 2080–2082 |
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JClass.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 245–249 |
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 | 205–209 |
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 | 261–262 |
UnnecessarySemicolon | Unnecessary semicolon | 263 |
EmptyCatchBlock | Avoid empty catch blocks | 274–275 |
UnnecessarySemicolon | Unnecessary semicolon | 276 |
EmptyCatchBlock | Avoid empty catch blocks | 287–288 |
UnnecessarySemicolon | Unnecessary semicolon | 289 |
EmptyCatchBlock | Avoid empty catch blocks | 300–301 |
UnnecessarySemicolon | Unnecessary semicolon | 302 |
EmptyCatchBlock | Avoid empty catch blocks | 313–314 |
UnnecessarySemicolon | Unnecessary semicolon | 315 |
EmptyCatchBlock | Avoid empty catch blocks | 327–328 |
EmptyCatchBlock | Avoid empty catch blocks | 341–342 |
UnnecessarySemicolon | Unnecessary semicolon | 343 |
EmptyCatchBlock | Avoid empty catch blocks | 354–355 |
UnnecessarySemicolon | Unnecessary semicolon | 356 |
EmptyCatchBlock | Avoid empty catch blocks | 367–368 |
UnnecessarySemicolon | Unnecessary semicolon | 369 |
EmptyCatchBlock | Avoid empty catch blocks | 382–383 |
UnnecessarySemicolon | Unnecessary semicolon | 384 |
EmptyCatchBlock | Avoid empty catch blocks | 390–391 |
UnnecessarySemicolon | Unnecessary semicolon | 392 |
EmptyCatchBlock | Avoid empty catch blocks | 400–401 |
UnnecessarySemicolon | Unnecessary semicolon | 402 |
EmptyCatchBlock | Avoid empty catch blocks | 412–413 |
UnnecessarySemicolon | Unnecessary semicolon | 414 |
EmptyCatchBlock | Avoid empty catch blocks | 424–425 |
UnnecessarySemicolon | Unnecessary semicolon | 426 |
EmptyCatchBlock | Avoid empty catch blocks | 437–438 |
UnnecessarySemicolon | Unnecessary semicolon | 439 |
EmptyCatchBlock | Avoid empty catch blocks | 449–450 |
UnnecessarySemicolon | Unnecessary semicolon | 451 |
EmptyCatchBlock | Avoid empty catch blocks | 480–481 |
UnnecessarySemicolon | Unnecessary semicolon | 482 |
EmptyCatchBlock | Avoid empty catch blocks | 502–503 |
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 | 174–177 |
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 | 282–284 |
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 | 250–336 |
CollapsibleIfStatements | These nested if statements could be combined | 262–264 |
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. | 154–161 |
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 | 110–125 |
EmptyControlStatement | Empty else statement | 3 | 123–125 |
EmptyControlStatement | Empty if statement | 3 | 179–188 |
EmptyControlStatement | Empty if statement | 3 | 207–220 |
EmptyControlStatement | Empty if statement | 3 | 254–274 |
EmptyControlStatement | Empty if statement | 3 | 329–336 |
EmptyControlStatement | Empty if statement | 3 | 349–354 |
EmptyControlStatement | Empty if statement | 3 | 371–376 |
Modello Core - org/codehaus/modello/model/Model.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 90–91 |
Modello Core - org/codehaus/modello/model/ModelClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 203–206 |
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 | 121–122 |
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 | 184–190 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 185–189 |
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 | 163–166 |
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 | 252–258 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 1519–1522 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 2080–2082 |
Modello Java Plugin - org/codehaus/modello/plugin/java/javasource/JClass.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 245–249 |
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 | 205–209 |
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 | 261–262 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 263 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 274–275 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 276 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 287–288 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 289 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 300–301 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 302 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 313–314 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 315 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 327–328 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 341–342 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 343 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 354–355 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 356 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 367–368 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 369 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 382–383 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 384 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 390–391 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 392 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 400–401 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 402 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 412–413 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 414 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 424–425 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 426 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 437–438 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 439 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 449–450 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 451 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 480–481 |
UnnecessarySemicolon | Unnecessary semicolon | 3 | 482 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 502–503 |
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 | 154–161 |
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 | 174–177 |
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 | 282–284 |
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 | 250–336 |
UselessParentheses | Useless parentheses. | 4 | 252 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 262–264 |
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 |