Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/logging/log4j/Level.java

ViolationLine
Useless parentheses.169

org/apache/logging/log4j/ThreadContext.java

ViolationLine
Useless parentheses.91

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/FormattedMessage.java

ViolationLine
Avoid empty catch blocks122124
Avoid empty catch blocks129131

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

ViolationLine
Useless parentheses.183
Avoid unused local variables such as 'length'.276

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

ViolationLine
Avoid unused method parameters such as 'stream'.131

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

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

org/apache/logging/log4j/status/StatusLogger.java

ViolationLine
Avoid empty catch blocks158159

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

ViolationLine
Avoid empty catch blocks113115
Avoid empty catch blocks124126
Avoid empty catch blocks145147