PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/logging/log4j/LogManager.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe272

org/apache/logging/log4j/message/BasicThreadInformation.java

ViolationLine
Avoid unused private fields such as 'longName'.27
Avoid unused private fields such as 'isAlive'.30

org/apache/logging/log4j/message/MapMessage.java

ViolationLine
Avoid unused imports such as 'java.util.Locale'21

org/apache/logging/log4j/message/ParameterizedMessage.java

ViolationLine
These nested if statements could be combined141 - 144
These nested if statements could be combined260 - 286
These nested if statements could be combined261 - 285
These nested if statements could be combined327 - 332
These nested if statements could be combined328 - 331

org/apache/logging/log4j/message/StructuredDataMessage.java

ViolationLine
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

ViolationLine
Avoid unused method parameters such as 'stream'.126 - 129

org/apache/logging/log4j/simple/SimpleLoggerContext.java

ViolationLine
Avoid unused private fields such as 'simpleLogProps'.43

org/apache/logging/log4j/util/PropsUtil.java

ViolationLine
Avoid empty catch blocks41 - 43
Avoid empty catch blocks51 - 53
Avoid using java.lang.ThreadGroup; it is not thread safe73