Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 5.3.5.

Files

org/apache/logging/log4j/Level.java

Violation Line
Useless parentheses. 200

org/apache/logging/log4j/ThreadContext.java

Violation Line
Useless parentheses. 90

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

Violation Line
Avoid unused private fields such as 'longName'. 30
Avoid unused private fields such as 'isAlive'. 33

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

Violation Line
Avoid empty catch blocks 190192
Avoid empty catch blocks 197199

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

Violation Line
Useless parentheses. 186
Avoid unused local variables such as 'length'. 284

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

Violation Line
Avoid unused private fields such as 'objectString'. 31

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

Violation Line
Avoid empty catch blocks 179181

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

Violation Line
Avoid empty catch blocks 194196

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

Violation Line
Avoid empty catch blocks 229231
Avoid empty catch blocks 259261
Overriding method merely calls super 311313