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 | 303–308 |
org/apache/maven/report/projectinfo/LicensesReport.java
Rule | Violation | Line |
---|---|---|
EmptyIfStmt | Avoid empty if statements | 437–439 |
org/apache/maven/report/projectinfo/SummaryReport.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 145–150 |
org/apache/maven/report/projectinfo/TeamReport.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 260–271 |
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 | 145–159 |
CollapsibleIfStatements | These nested if statements could be combined | 148–158 |
Priority 4
org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 245 |
UselessParentheses | Useless parentheses. | 245 |
UselessParentheses | Useless parentheses. | 252 |
UselessParentheses | Useless parentheses. | 252 |
UselessParentheses | Useless parentheses. | 253 |
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. | 743–744 |
Files
org/apache/maven/report/projectinfo/AbstractProjectInfoReport.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 245 |
UselessParentheses | Useless parentheses. | 4 | 245 |
UselessParentheses | Useless parentheses. | 4 | 252 |
UselessParentheses | Useless parentheses. | 4 | 252 |
UselessParentheses | Useless parentheses. | 4 | 253 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 303–308 |
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 | 437–439 |
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 | 145–150 |
org/apache/maven/report/projectinfo/TeamReport.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 260–271 |
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 | 145–159 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 148–158 |
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 | 743–744 |