PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 3
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 118 |
| EmptyControlStatement | Empty if statement | 199–238 |
| EmptyControlStatement | Empty if statement | 218–238 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 235–237 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 347–349 |
Priority 4
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 277 |
| UselessParentheses | Useless parentheses. | 330 |
| UselessParentheses | Useless parentheses. | 330 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 390 |
Files
org/apache/maven/doxia/module/xdoc/XdocParser.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryReturn | Unnecessary return statement | 3 | 118 |
| EmptyControlStatement | Empty if statement | 3 | 199–238 |
| EmptyControlStatement | Empty if statement | 3 | 218–238 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 235–237 |
| UselessParentheses | Useless parentheses. | 4 | 277 |
| UselessParentheses | Useless parentheses. | 4 | 330 |
| UselessParentheses | Useless parentheses. | 4 | 330 |
org/apache/maven/doxia/module/xdoc/XdocSink.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 347–349 |
| UselessParentheses | Useless parentheses. | 4 | 390 |


