PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/logging/log4j/LogManager.java
Violation | Line |
---|
Avoid using java.lang.ThreadGroup; it is not thread safe | 272 |
org/apache/logging/log4j/message/BasicThreadInformation.java
Violation | Line |
---|
Avoid unused private fields such as 'longName'. | 27 |
Avoid unused private fields such as 'isAlive'. | 30 |
org/apache/logging/log4j/message/MapMessage.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.Locale' | 21 |
org/apache/logging/log4j/message/ParameterizedMessage.java
Violation | Line |
---|
These nested if statements could be combined | 141 - 144 |
These nested if statements could be combined | 260 - 286 |
These nested if statements could be combined | 261 - 285 |
These nested if statements could be combined | 327 - 332 |
These nested if statements could be combined | 328 - 331 |
org/apache/logging/log4j/message/StructuredDataMessage.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.Locale' | 20 |
Avoid unused imports such as 'org.apache.logging.log4j.message.MapMessage.MapFormat' | 23 |
org/apache/logging/log4j/message/ThreadDumpMessage.java
Violation | Line |
---|
Avoid unused method parameters such as 'stream'. | 126 - 129 |
org/apache/logging/log4j/simple/SimpleLoggerContext.java
Violation | Line |
---|
Avoid unused private fields such as 'simpleLogProps'. | 43 |
org/apache/logging/log4j/util/PropsUtil.java
Violation | Line |
---|
Avoid empty catch blocks | 41 - 43 |
Avoid empty catch blocks | 51 - 53 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 73 |