PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/doxia/index/IndexEntry.java
Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 98
org/apache/maven/doxia/macro/toc/TocMacro.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 147167
org/apache/maven/doxia/parser/AbstractXmlParser.java
Rule Violation Line
EmptyControlStatement Empty if statement 220230
EmptyControlStatement Empty if statement 222230
org/apache/maven/doxia/parser/Xhtml5BaseParser.java
Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 159161
EmptyControlStatement Empty if statement 561563
CollapsibleIfStatements These nested if statements could be combined 662664

Priority 4

org/apache/maven/doxia/macro/toc/TocMacro.java
Rule Violation Line
UselessParentheses Useless parentheses. 122
UselessParentheses Useless parentheses. 122
org/apache/maven/doxia/parser/Xhtml5BaseParser.java
Rule Violation Line
UselessParentheses Useless parentheses. 577
org/apache/maven/doxia/sink/impl/SinkEventAttributeSet.java
Rule Violation Line
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 206
UselessParentheses Useless parentheses. 206
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 351
org/apache/maven/doxia/sink/impl/Xhtml5BaseSink.java
Rule Violation Line
UselessParentheses Useless parentheses. 680
UselessParentheses Useless parentheses. 1067
UselessParentheses Useless parentheses. 1123
org/apache/maven/doxia/util/DoxiaUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 8590
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 176
UselessParentheses Useless parentheses. 182
UselessParentheses Useless parentheses. 182
UselessParentheses Useless parentheses. 182
UselessParentheses Useless parentheses. 219
UselessParentheses Useless parentheses. 219
UselessParentheses Useless parentheses. 292
UselessParentheses Useless parentheses. 292
UselessParentheses Useless parentheses. 292
UselessParentheses Useless parentheses. 296
org/apache/maven/doxia/util/HtmlTools.java
Rule Violation Line
UselessParentheses Useless parentheses. 393
UselessParentheses Useless parentheses. 393
UselessParentheses Useless parentheses. 393
UselessParentheses Useless parentheses. 401
UselessParentheses Useless parentheses. 404
UselessParentheses Useless parentheses. 443
UselessParentheses Useless parentheses. 451
UselessParentheses Useless parentheses. 455

Files

org/apache/maven/doxia/index/IndexEntry.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 98

org/apache/maven/doxia/macro/toc/TocMacro.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 122
UselessParentheses Useless parentheses. 4 122
CollapsibleIfStatements These nested if statements could be combined 3 147167

org/apache/maven/doxia/parser/AbstractXmlParser.java

Rule Violation Priority Line
EmptyControlStatement Empty if statement 3 220230
EmptyControlStatement Empty if statement 3 222230

org/apache/maven/doxia/parser/Xhtml5BaseParser.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 159161
EmptyControlStatement Empty if statement 3 561563
UselessParentheses Useless parentheses. 4 577
CollapsibleIfStatements These nested if statements could be combined 3 662664

org/apache/maven/doxia/sink/impl/SinkEventAttributeSet.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 206
UselessParentheses Useless parentheses. 4 206
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 351

org/apache/maven/doxia/sink/impl/Xhtml5BaseSink.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 680
UselessParentheses Useless parentheses. 4 1067
UselessParentheses Useless parentheses. 4 1123

org/apache/maven/doxia/util/DoxiaUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 8590
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 176
UselessParentheses Useless parentheses. 4 182
UselessParentheses Useless parentheses. 4 182
UselessParentheses Useless parentheses. 4 182
UselessParentheses Useless parentheses. 4 219
UselessParentheses Useless parentheses. 4 219
UselessParentheses Useless parentheses. 4 292
UselessParentheses Useless parentheses. 4 292
UselessParentheses Useless parentheses. 4 292
UselessParentheses Useless parentheses. 4 296

org/apache/maven/doxia/util/HtmlTools.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 393
UselessParentheses Useless parentheses. 4 393
UselessParentheses Useless parentheses. 4 393
UselessParentheses Useless parentheses. 4 401
UselessParentheses Useless parentheses. 4 404
UselessParentheses Useless parentheses. 4 443
UselessParentheses Useless parentheses. 4 451
UselessParentheses Useless parentheses. 4 455