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/plugins/invoker/AbstractInvokerMojo.java

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

org/apache/maven/plugins/invoker/InvokerProperties.java

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

Priority 4

org/apache/maven/plugins/invoker/AbstractInvokerMojo.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.settings': 'TrackableBase' is already in scope because it is imported in this file 1562
UselessParentheses Useless parentheses around `filteredPomPrefix != null && !filteredPomPrefix...`. 1773

org/apache/maven/plugins/invoker/InvokerProperties.java

Rule Violation Line
UselessParentheses Useless parentheses around `exitCode != 0`. 481

org/apache/maven/plugins/invoker/InvokerReportRenderer.java

Rule Violation Line
UselessParentheses Useless parentheses around `totalSuccess / (float) totalSuccess + totalFail...`. 118

Files

org/apache/maven/plugins/invoker/AbstractInvokerMojo.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 14951510
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.settings': 'TrackableBase' is already in scope because it is imported in this file 4 1562
UselessParentheses Useless parentheses around `filteredPomPrefix != null && !filteredPomPrefix...`. 4 1773

org/apache/maven/plugins/invoker/InvokerProperties.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 350352
UselessParentheses Useless parentheses around `exitCode != 0`. 4 481

org/apache/maven/plugins/invoker/InvokerReportRenderer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses around `totalSuccess / (float) totalSuccess + totalFail...`. 4 118