Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

org/codehaus/gmavenplus/mojo/AbstractCompileMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 524526

org/codehaus/gmavenplus/mojo/AbstractGenerateStubsMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 445447

org/codehaus/gmavenplus/mojo/ConsoleMojo.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 17262

org/codehaus/gmavenplus/mojo/GroovyDocJarMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 159161

org/codehaus/gmavenplus/mojo/GroovyDocTestsJarMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 159161

org/codehaus/gmavenplus/mojo/ShellMojo.java

Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 17179

org/codehaus/gmavenplus/util/ClassWrangler.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 9193
EmptyCatchBlock Avoid empty catch blocks 104106

org/codehaus/gmavenplus/util/FileUtils.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 8688
EmptyCatchBlock Avoid empty catch blocks 101103
EmptyCatchBlock Avoid empty catch blocks 116118
EmptyCatchBlock Avoid empty catch blocks 131133

Priority 4

org/codehaus/gmavenplus/util/ReflectionUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 119

org/codehaus/gmavenplus/gmavenplus_plugin/HelpMojo.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang 43

Files

org/codehaus/gmavenplus/mojo/AbstractCompileMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 524526

org/codehaus/gmavenplus/mojo/AbstractGenerateStubsMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 445447

org/codehaus/gmavenplus/mojo/ConsoleMojo.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 17262

org/codehaus/gmavenplus/mojo/GroovyDocJarMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 159161

org/codehaus/gmavenplus/mojo/GroovyDocTestsJarMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 159161

org/codehaus/gmavenplus/mojo/ShellMojo.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 17179

org/codehaus/gmavenplus/util/ClassWrangler.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 9193
EmptyCatchBlock Avoid empty catch blocks 3 104106

org/codehaus/gmavenplus/util/FileUtils.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 8688
EmptyCatchBlock Avoid empty catch blocks 3 101103
EmptyCatchBlock Avoid empty catch blocks 3 116118
EmptyCatchBlock Avoid empty catch blocks 3 131133

org/codehaus/gmavenplus/util/ReflectionUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 119

org/codehaus/gmavenplus/gmavenplus_plugin/HelpMojo.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'java.lang': 'String' is already in scope because it is declared in java.lang 4 43