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 199238
EmptyControlStatement Empty if statement 218238
CollapsibleIfStatements This if statement could be combined with its parent 235237
org/apache/maven/doxia/module/xdoc/XdocSink.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 347349

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 199238
EmptyControlStatement Empty if statement 3 218238
CollapsibleIfStatements This if statement could be combined with its parent 3 235237
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 347349
UselessParentheses Useless parentheses. 4 390