PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 3

org/apache/maven/doxia/module/fml/FmlContentParser.java

Rule Violation Line
UnnecessaryReturn Unnecessary return statement 50
CollapsibleIfStatements This if statement could be combined with its parent 8284

org/apache/maven/doxia/module/fml/FmlParser.java

Rule Violation Line
UnnecessaryReturn Unnecessary return statement 209
CollapsibleIfStatements This if statement could be combined with its parent 381393

Priority 4

org/apache/maven/doxia/module/fml/FmlParser.java

Rule Violation Line
UselessParentheses Useless parentheses around `paramName == null || paramName.isEmpty()`. 414
UselessParentheses Useless parentheses around `paramValue == null || paramValue.isEmpty()`. 414

Files

org/apache/maven/doxia/module/fml/FmlContentParser.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 50
CollapsibleIfStatements This if statement could be combined with its parent 3 8284

org/apache/maven/doxia/module/fml/FmlParser.java

Rule Violation Priority Line
UnnecessaryReturn Unnecessary return statement 3 209
CollapsibleIfStatements This if statement could be combined with its parent 3 381393
UselessParentheses Useless parentheses around `paramName == null || paramName.isEmpty()`. 4 414
UselessParentheses Useless parentheses around `paramValue == null || paramValue.isEmpty()`. 4 414