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 283287

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. 228
UselessParentheses Useless parentheses. 228
UselessParentheses Useless parentheses. 234
UselessParentheses Useless parentheses. 235
UselessParentheses Useless parentheses. 236

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. 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. 624
UselessParentheses Useless parentheses. 671
UselessParentheses Useless parentheses. 701703

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 228
UselessParentheses Useless parentheses. 4 228
UselessParentheses Useless parentheses. 4 234
UselessParentheses Useless parentheses. 4 235
UselessParentheses Useless parentheses. 4 236
CollapsibleIfStatements These nested if statements could be combined 3 283287

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 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 624
UselessParentheses Useless parentheses. 4 671
UselessParentheses Useless parentheses. 4 701703