PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 263267
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. 208
UselessParentheses Useless parentheses. 208
UselessParentheses Useless parentheses. 214
UselessParentheses Useless parentheses. 215
UselessParentheses Useless parentheses. 216
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. 421
UselessParentheses Useless parentheses. 422
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. 638639
UselessParentheses Useless parentheses. 640641
UselessParentheses Useless parentheses. 642
UselessParentheses Useless parentheses. 731
UselessParentheses Useless parentheses. 754

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 208
UselessParentheses Useless parentheses. 4 214
UselessParentheses Useless parentheses. 4 215
UselessParentheses Useless parentheses. 4 216
CollapsibleIfStatements These nested if statements could be combined 3 263267

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 421
UselessParentheses Useless parentheses. 4 422

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 638639
UselessParentheses Useless parentheses. 4 640641
UselessParentheses Useless parentheses. 4 642
UselessParentheses Useless parentheses. 4 731
UselessParentheses Useless parentheses. 4 754