PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 3
org/apache/maven/doxia/tools/DefaultSiteTool.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 1109–1113 |
Priority 4
org/apache/maven/doxia/tools/DefaultSiteTool.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `toUrl.getProtocol().equalsIgnoreCase(fromUrl.ge...`. | 232 |
| UselessParentheses | Useless parentheses around `toUrl.getHost().equalsIgnoreCase(fromUrl.getHos...`. | 233 |
| UselessParentheses | Useless parentheses around `toPath.startsWith(":", 1) && fromPath.startsWit...`. | 292 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 418 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 969 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 1366 |
Files
org/apache/maven/doxia/tools/DefaultSiteTool.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UselessParentheses | Useless parentheses around `toUrl.getProtocol().equalsIgnoreCase(fromUrl.ge...`. | 4 | 232 |
| UselessParentheses | Useless parentheses around `toUrl.getHost().equalsIgnoreCase(fromUrl.getHos...`. | 4 | 233 |
| UselessParentheses | Useless parentheses around `toPath.startsWith(":", 1) && fromPath.startsWit...`. | 4 | 292 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 4 | 418 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 4 | 805 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 4 | 969 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 1109–1113 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 4 | 1161 |
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SiteTool': 'DEFAULT_LOCALE' is already in scope because it is inherited by an enclosing type | 4 | 1366 |


