PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 270274
org/apache/maven/report/projectinfo/LicensesReport.java
Rule Violation Line
EmptyControlStatement Empty if statement 376378
org/apache/maven/report/projectinfo/SummaryReport.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 128132
org/apache/maven/report/projectinfo/TeamReport.java
Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 232239
org/apache/maven/report/projectinfo/dependencies/RepositoryUtils.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'repositoryMetadataManager'. 78
CollapsibleIfStatements This if statement could be combined with its parent 140150
CollapsibleIfStatements This if statement could be combined with its parent 142149

Priority 4

org/apache/maven/report/projectinfo/DependencyConvergenceReport.java
Rule Violation Line
UselessParentheses Useless parentheses. 861
org/apache/maven/report/projectinfo/LicensesReport.java
Rule Violation Line
UselessParentheses Useless parentheses. 319
org/apache/maven/report/projectinfo/ScmReport.java
Rule Violation Line
UselessParentheses Useless parentheses. 422
org/apache/maven/report/projectinfo/dependencies/RepositoryUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 139
org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
Rule Violation Line
UselessParentheses Useless parentheses. 573574
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SummaryTableRowOrder': 'values' is already in scope 1255

Files

org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 270274

org/apache/maven/report/projectinfo/DependencyConvergenceReport.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 861

org/apache/maven/report/projectinfo/LicensesReport.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 319
EmptyControlStatement Empty if statement 3 376378

org/apache/maven/report/projectinfo/ScmReport.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 422

org/apache/maven/report/projectinfo/SummaryReport.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 128132

org/apache/maven/report/projectinfo/TeamReport.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 232239

org/apache/maven/report/projectinfo/dependencies/RepositoryUtils.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'repositoryMetadataManager'. 3 78
UselessParentheses Useless parentheses. 4 139
CollapsibleIfStatements This if statement could be combined with its parent 3 140150
CollapsibleIfStatements This if statement could be combined with its parent 3 142149

org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 573574
UnnecessaryFullyQualifiedName Unnecessary qualifier 'SummaryTableRowOrder': 'values' is already in scope 4 1255