PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 594
UnusedPrivateMethod Avoid unused private methods such as 'determineRelativePath(File)'. 679
org/apache/maven/plugins/checkstyle/CheckstyleReportRenderer.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'results'. 233
CollapsibleIfStatements This if statement could be combined with its parent 357359
org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 844
org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'sourceDirectories'. 326
CollapsibleIfStatements This if statement could be combined with its parent 397399

Priority 4

org/apache/maven/plugins/checkstyle/CheckstyleReport.java
Rule Violation Line
UselessParentheses Useless parentheses. 99
org/apache/maven/plugins/checkstyle/CheckstyleViolationCheckMojo.java
Rule Violation Line
UselessParentheses Useless parentheses. 703

Files

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

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 3 594
UnusedPrivateMethod Avoid unused private methods such as 'determineRelativePath(File)'. 3 679

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 99

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

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'results'. 3 233
CollapsibleIfStatements This if statement could be combined with its parent 3 357359

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 703
UnusedFormalParameter Avoid unused method parameters such as 'hint'. 3 844

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

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'sourceDirectories'. 3 326
CollapsibleIfStatements This if statement could be combined with its parent 3 397399