PMD Results

The following document contains the results of PMD 6.42.0.

Violations By Priority

Priority 3

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

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

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

Rule Violation Line
EmptyIfStmt Avoid empty if statements 437439

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

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

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

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

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

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'repositoryMetadataManager'. 75
CollapsibleIfStatements These nested if statements could be combined 145159
CollapsibleIfStatements These nested if statements could be combined 148158

Priority 4

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

Rule Violation Line
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 268
UselessParentheses Useless parentheses. 275
UselessParentheses Useless parentheses. 275
UselessParentheses Useless parentheses. 276

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

Rule Violation Line
UselessParentheses Useless parentheses. 364
UselessParentheses Useless parentheses. 364
UselessParentheses Useless parentheses. 364

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

Rule Violation Line
UselessParentheses Useless parentheses. 560

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

Rule Violation Line
UselessParentheses Useless parentheses. 571

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

Rule Violation Line
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 109

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

Rule Violation Line
UselessParentheses Useless parentheses. 51
UselessParentheses Useless parentheses. 51

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

Rule Violation Line
UselessParentheses Useless parentheses. 143

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

Rule Violation Line
UselessParentheses Useless parentheses. 183

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

Rule Violation Line
UselessParentheses Useless parentheses. 650
UselessParentheses Useless parentheses. 708
UselessParentheses Useless parentheses. 743744

Files

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 268
UselessParentheses Useless parentheses. 4 275
UselessParentheses Useless parentheses. 4 275
UselessParentheses Useless parentheses. 4 276
CollapsibleIfStatements These nested if statements could be combined 3 326331

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 364
UselessParentheses Useless parentheses. 4 364
UselessParentheses Useless parentheses. 4 364
EmptyIfStmt Avoid empty if statements 3 437439

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 560

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

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

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

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

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

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

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

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

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

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'repositoryMetadataManager'. 3 75
UselessParentheses Useless parentheses. 4 143
CollapsibleIfStatements These nested if statements could be combined 3 145159
CollapsibleIfStatements These nested if statements could be combined 3 148158

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 183

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 650
UselessParentheses Useless parentheses. 4 708
UselessParentheses Useless parentheses. 4 743744