PMD Results
The following document contains the results of PMD 7.7.0.
Violations By Priority
Priority 3
org/apache/maven/surefire/api/report/ConsoleOutputCapture.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 19–200 |
org/apache/maven/surefire/api/report/LegacyPojoStackTraceWriter.java
| Rule | Violation | Line |
|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 92–94 |
org/apache/maven/surefire/api/stream/AbstractStreamDecoder.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 19–657 |
org/apache/maven/surefire/api/testset/ResolvedTest.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 19–412 |
org/apache/maven/surefire/api/testset/TestListResolver.java
| Rule | Violation | Line |
|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 19–431 |
org/apache/maven/surefire/api/util/ReflectionUtils.java
| Rule | Violation | Line |
|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 153–154 |
org/apache/maven/surefire/api/util/TempFileManager.java
| Rule | Violation | Line |
|---|---|---|
| AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 96 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 156–159 |
Priority 4
org/apache/maven/surefire/api/booter/MasterProcessCommand.java
| Rule | Violation | Line |
|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MasterProcessCommand': 'values' is already in scope | 81 |
org/apache/maven/surefire/api/util/TempFileManager.java
| Rule | Violation | Line |
|---|---|---|
| UselessParentheses | Useless parentheses. | 141 |
Files
org/apache/maven/surefire/api/booter/MasterProcessCommand.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MasterProcessCommand': 'values' is already in scope | 4 | 81 |
org/apache/maven/surefire/api/report/ConsoleOutputCapture.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–200 |
org/apache/maven/surefire/api/report/LegacyPojoStackTraceWriter.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 92–94 |
org/apache/maven/surefire/api/stream/AbstractStreamDecoder.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–657 |
org/apache/maven/surefire/api/testset/ResolvedTest.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–412 |
org/apache/maven/surefire/api/testset/TestListResolver.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| TooManyStaticImports | Too many static imports may lead to messy code | 3 | 19–431 |
org/apache/maven/surefire/api/util/ReflectionUtils.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| EmptyCatchBlock | Avoid empty catch blocks | 3 | 153–154 |
org/apache/maven/surefire/api/util/TempFileManager.java
| Rule | Violation | Priority | Line |
|---|---|---|---|
| AvoidThreadGroup | Avoid using java.lang.ThreadGroup; it is not thread safe | 3 | 96 |
| UselessParentheses | Useless parentheses. | 4 | 141 |
| CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 156–159 |


