Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 5.1.2.

Files

org/apache/logging/log4j/Level.java

ViolationLine
Useless parentheses.174

org/apache/logging/log4j/ThreadContext.java

ViolationLine
Useless parentheses.90

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 blocks118120
Avoid empty catch blocks125127

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

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

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

ViolationLine
Avoid unused private methods such as 'checkPermission(Permission)'.52

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

ViolationLine
Avoid empty catch blocks129131
Avoid empty catch blocks147149
Avoid empty catch blocks175177

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

ViolationLine
Avoid empty catch blocks218220
Avoid empty catch blocks247249
Overriding method merely calls super295297