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 | 853–855 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 905–913 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 1087–1090 |
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 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 | 853–855 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 905–913 |
| UselessParentheses | Useless parentheses around `value != null && !value.isEmpty()`. | 4 | 1045 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1087–1090 |
| 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 | 313–316 |


