Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 853855
CollapsibleIfStatements This if statement could be combined with its parent 905913
CollapsibleIfStatements This if statement could be combined with its parent 10871090

org/apache/maven/plugin/compiler/CompilerMojo.java

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

Priority 4

org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Rule Violation Line
UselessParentheses Useless parentheses around `debuglevel != null && !debuglevel.isEmpty()`. 809
UselessParentheses Useless parentheses around `value != null && !value.isEmpty()`. 1045
UselessParentheses Useless parentheses around `isDigits(setting.substring(0, setting.length() ...`. 1503
UselessParentheses Useless parentheses around `setting.toLowerCase().endsWith("m")`. 1504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.model': 'Dependency' is already in scope because it is imported in this file 1748

Files

org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `debuglevel != null && !debuglevel.isEmpty()`. 4 809
CollapsibleIfStatements This if statement could be combined with its parent 3 853855
CollapsibleIfStatements This if statement could be combined with its parent 3 905913
UselessParentheses Useless parentheses around `value != null && !value.isEmpty()`. 4 1045
CollapsibleIfStatements This if statement could be combined with its parent 3 10871090
UselessParentheses Useless parentheses around `isDigits(setting.substring(0, setting.length() ...`. 4 1503
UselessParentheses Useless parentheses around `setting.toLowerCase().endsWith("m")`. 4 1504
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.model': 'Dependency' is already in scope because it is imported in this file 4 1748

org/apache/maven/plugin/compiler/CompilerMojo.java

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