PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'session'. 81
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 593

org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'results'. 320
CollapsibleIfStatements These nested if statements could be combined 467470

org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 897

org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'sourceDirectories'. 372
CollapsibleIfStatements These nested if statements could be combined 461464

Priority 4

org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java

Rule Violation Line
UselessParentheses Useless parentheses. 723

org/apache/maven/plugins/checkstyle/CheckstyleReport.java

Rule Violation Line
UselessParentheses Useless parentheses. 110111
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 111

org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java

Rule Violation Line
UselessParentheses Useless parentheses. 658
UselessParentheses Useless parentheses. 931

org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java

Rule Violation Line
UselessParentheses Useless parentheses. 587
UselessParentheses Useless parentheses. 708
UselessParentheses Useless parentheses. 709
UselessParentheses Useless parentheses. 733
UselessParentheses Useless parentheses. 733

org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java

Rule Violation Line
UselessParentheses Useless parentheses. 269
UselessParentheses Useless parentheses. 379

Files

org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'session'. 3 81
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 3 593
UselessParentheses Useless parentheses. 4 723

org/apache/maven/plugins/checkstyle/CheckstyleReport.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110111
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 111

org/apache/maven/plugins/checkstyle/CheckstyleReportGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'results'. 3 320
CollapsibleIfStatements These nested if statements could be combined 3 467470
UselessParentheses Useless parentheses. 4 658
UselessParentheses Useless parentheses. 4 931

org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 587
UselessParentheses Useless parentheses. 4 708
UselessParentheses Useless parentheses. 4 709
UselessParentheses Useless parentheses. 4 733
UselessParentheses Useless parentheses. 4 733
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 3 897

org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 269
UnusedFormalParameter Avoid unused method parameters such as 'sourceDirectories'. 3 372
UselessParentheses Useless parentheses. 4 379
CollapsibleIfStatements These nested if statements could be combined 3 461464