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 | 270–274 |
org/apache/maven/report/projectinfo/LicensesReport.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 376–378 |
org/apache/maven/report/projectinfo/SummaryReport.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 128–132 |
org/apache/maven/report/projectinfo/TeamReport.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 232–239 |
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 | 140–150 |
CollapsibleIfStatements | This if statement could be combined with its parent | 142–149 |
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. | 573–574 |
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 | 270–274 |
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 | 376–378 |
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 | 128–132 |
org/apache/maven/report/projectinfo/TeamReport.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 232–239 |
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 | 140–150 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 142–149 |
org/apache/maven/report/projectinfo/dependencies/renderer/DependenciesRenderer.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 573–574 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SummaryTableRowOrder': 'values' is already in scope | 4 | 1255 |