PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 3
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 117 |
| EmptyControlStatement | Empty if statement | 197–236 |
| EmptyControlStatement | Empty if statement | 216–236 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 233–235 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 346–348 |
Priority 4
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `macroName != null && !macroName.isEmpty()`. | 275 |
| UselessParentheses | Useless parentheses around `paramName == null || paramName.isEmpty()`. | 328 |
| UselessParentheses | Useless parentheses around `paramValue == null || paramValue.isEmpty()`. | 328 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses around `grid ? "1" : "0"`. | 389 |
Files
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 3 | 117 |
| EmptyControlStatement | Empty if statement | 3 | 197–236 |
| EmptyControlStatement | Empty if statement | 3 | 216–236 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 233–235 |
| UselessParentheses | Useless parentheses around `macroName != null && !macroName.isEmpty()`. | 4 | 275 |
| UselessParentheses | Useless parentheses around `paramName == null || paramName.isEmpty()`. | 4 | 328 |
| UselessParentheses | Useless parentheses around `paramValue == null || paramValue.isEmpty()`. | 4 | 328 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 346–348 |
| UselessParentheses | Useless parentheses around `grid ? "1" : "0"`. | 4 | 389 |


