Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 5.2.3.

Files

org/apache/logging/log4j/Level.java

Violation Line
Useless parentheses. 174

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 118120
Avoid empty catch blocks 125127

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

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

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

Violation Line
Avoid empty catch blocks 162163

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

Violation Line
Avoid empty catch blocks 129131
Avoid empty catch blocks 147149
Avoid empty catch blocks 175177

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

Violation Line
Avoid empty catch blocks 218220
Avoid empty catch blocks 247249
Overriding method merely calls super 295297