PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 278282

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

Rule Violation Line
EmptyControlStatement Empty if statement 375377

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 128132

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 231238

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

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'repositoryMetadataManager'. 78
CollapsibleIfStatements These nested if statements could be combined 140150
CollapsibleIfStatements These nested if statements could be combined 142149

Priority 4

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

Rule Violation Line
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 223
UselessParentheses Useless parentheses. 229
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 231

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

Rule Violation Line
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 318
UselessParentheses Useless parentheses. 318

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

Rule Violation Line
UselessParentheses Useless parentheses. 329
UselessParentheses Useless parentheses. 506
UselessParentheses Useless parentheses. 507

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

Rule Violation Line
UselessParentheses Useless parentheses. 511

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

Rule Violation Line
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 104

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

Rule Violation Line
UselessParentheses Useless parentheses. 47
UselessParentheses Useless parentheses. 47

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

Rule Violation Line
UselessParentheses Useless parentheses. 139

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

Rule Violation Line
UselessParentheses Useless parentheses. 160

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

Rule Violation Line
UselessParentheses Useless parentheses. 629630
UselessParentheses Useless parentheses. 631632
UselessParentheses Useless parentheses. 633
UselessParentheses Useless parentheses. 722
UselessParentheses Useless parentheses. 745

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 223
UselessParentheses Useless parentheses. 4 229
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 231
CollapsibleIfStatements These nested if statements could be combined 3 278282

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 318
UselessParentheses Useless parentheses. 4 318
EmptyControlStatement Empty if statement 3 375377

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 329
UselessParentheses Useless parentheses. 4 506
UselessParentheses Useless parentheses. 4 507

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 128132

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

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

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 104
UselessParentheses Useless parentheses. 4 104

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47
UselessParentheses Useless parentheses. 4 47

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 These nested if statements could be combined 3 140150
CollapsibleIfStatements These nested if statements could be combined 3 142149

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 160

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 629630
UselessParentheses Useless parentheses. 4 631632
UselessParentheses Useless parentheses. 4 633
UselessParentheses Useless parentheses. 4 722
UselessParentheses Useless parentheses. 4 745