PMD Results

The following document contains the results of PMD 7.7.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 10861089

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. 809
UselessParentheses Useless parentheses. 1044
UselessParentheses Useless parentheses. 1502
UselessParentheses Useless parentheses. 1503
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.model': 'Dependency' is already in scope because it is imported in this file 1747

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 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. 4 1044
CollapsibleIfStatements This if statement could be combined with its parent 3 10861089
UselessParentheses Useless parentheses. 4 1502
UselessParentheses Useless parentheses. 4 1503
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.model': 'Dependency' is already in scope because it is imported in this file 4 1747

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

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