PMD Results
The following document contains the results of PMD 6.4.0.
Files
org/apache/logging/log4j/Level.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 202 |
org/apache/logging/log4j/LogBuilder.java
| Violation | Priority | Line |
|---|---|---|
| Avoid modifiers which are implied by the context | 3 | 29 |
org/apache/logging/log4j/ThreadContext.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 94 |
org/apache/logging/log4j/message/BasicThreadInformation.java
| Violation | Priority | Line |
|---|---|---|
| Avoid unused private fields such as 'longName'. | 3 | 30 |
| Avoid unused private fields such as 'isAlive'. | 3 | 33 |
org/apache/logging/log4j/message/LocalizedMessage.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 193 |
org/apache/logging/log4j/message/ThreadDumpMessage.java
| Violation | Priority | Line |
|---|---|---|
| Avoid modifiers which are implied by the context | 3 | 176–178 |
org/apache/logging/log4j/spi/AbstractLogger.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 2000 |
| Useless parentheses. | 4 | 2009 |
org/apache/logging/log4j/status/StatusLogger.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 272 |
org/apache/logging/log4j/util/PrivateSecurityManagerStackTraceUtil.java
| Violation | Priority | Line |
|---|---|---|
| Overriding method merely calls super | 3 | 66–68 |
org/apache/logging/log4j/util/ProcessIdUtil.java
| Violation | Priority | Line |
|---|---|---|
| Avoid empty catch blocks | 3 | 45–47 |
org/apache/logging/log4j/util/PropertiesPropertySource.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 46 |
| Useless parentheses. | 4 | 46 |
org/apache/logging/log4j/util/PropertiesUtil.java
| Violation | Priority | Line |
|---|---|---|
| Avoid unused private fields such as 'SYSTEM'. | 3 | 53 |
| Avoid empty catch blocks | 3 | 435–437 |
| Avoid empty catch blocks | 3 | 444–448 |
org/apache/logging/log4j/util/PropertyFilePropertySource.java
| Violation | Priority | Line |
|---|---|---|
| Avoid modifiers which are implied by the context | 3 | 38 |
org/apache/logging/log4j/util/SortedArrayStringMap.java
| Violation | Priority | Line |
|---|---|---|
| Avoid empty catch blocks | 3 | 113–115 |
| Unnecessary use of fully qualified name 'java.io.ObjectOutputStream' due to existing import 'java.io.ObjectOutputStream' | 4 | 507 |
| Unnecessary use of fully qualified name 'java.io.ObjectInputStream' due to existing import 'java.io.ObjectInputStream' | 4 | 589 |
| Avoid unused method parameters such as 'key'. | 3 | 633 |
org/apache/logging/log4j/util/Timer.java
| Violation | Priority | Line |
|---|---|---|
| Useless parentheses. | 4 | 66 |
| Useless parentheses. | 4 | 274 |


