- Source
- Generated from the code
- Wrong?
- Report a problem
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 | 1496–1511 |
org/apache/maven/plugins/invoker/InvokerProperties.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 350–352 |
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 | 1563 |
| UselessParentheses | Useless parentheses around `filteredPomPrefix != null && !filteredPomPrefix...`. | 1774 |
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 | 1496–1511 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.maven.settings': 'TrackableBase' is already in scope because it is imported in this file | 4 | 1563 |
| UselessParentheses | Useless parentheses around `filteredPomPrefix != null && !filteredPomPrefix...`. | 4 | 1774 |
org/apache/maven/plugins/invoker/InvokerProperties.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 350–352 |
| 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 |