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 853–855
CollapsibleIfStatements This if statement could be combined with its parent 905–913
CollapsibleIfStatements This if statement could be combined with its parent 1086–1089

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

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 313–316

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 853–855
CollapsibleIfStatements This if statement could be combined with its parent 3 905–913
UselessParentheses Useless parentheses. 4 1044
CollapsibleIfStatements This if statement could be combined with its parent 3 1086–1089
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 313–316