PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/logging/log4j/core/appender/AsynchAppender.java

ViolationLine
Avoid empty catch blocks209 - 211
Avoid empty catch blocks216 - 218

org/apache/logging/log4j/core/appender/SyslogAppender.java

ViolationLine
Avoid unused private fields such as 'BSD'.39

org/apache/logging/log4j/core/appender/rewrite/RewriteAppender.java

ViolationLine
Overriding method merely calls super70 - 72

org/apache/logging/log4j/core/appender/rolling/helper/FileRenameAction.java

ViolationLine
These nested if statements could be combined86 - 89

org/apache/logging/log4j/core/config/AppenderControl.java

ViolationLine
These nested if statements could be combined74 - 76

org/apache/logging/log4j/core/config/ConfigurationFactory.java

ViolationLine
Avoid empty catch blocks255 - 257
Avoid empty catch blocks287 - 289

org/apache/logging/log4j/core/config/LoggerConfig.java

ViolationLine
Overriding method merely calls super101 - 103

org/apache/logging/log4j/core/filter/ThreadContextMapFilter.java

ViolationLine
Avoid unused private fields such as 'value'.44

org/apache/logging/log4j/core/helpers/Loader.java

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

org/apache/logging/log4j/core/helpers/UUIDUtil.java

ViolationLine
Avoid empty catch blocks97 - 99

org/apache/logging/log4j/core/impl/Log4jLogEvent.java

ViolationLine
Avoid unused method parameters such as 'stream'.240 - 242

org/apache/logging/log4j/core/impl/ThrowableProxy.java

ViolationLine
Avoid empty catch blocks411 - 413
Avoid empty catch blocks438 - 440
Avoid empty catch blocks459 - 461
Avoid unused local variables such as 'i'.537
Avoid empty catch blocks541 - 543

org/apache/logging/log4j/core/layout/AbstractStringLayout.java

ViolationLine
Avoid empty catch blocks45 - 47

org/apache/logging/log4j/core/layout/HTMLLayout.java

ViolationLine
Avoid unused private fields such as 'contentType'.62
Avoid empty catch blocks155 - 157
Avoid using java.lang.ThreadGroup; it is not thread safe207

org/apache/logging/log4j/core/layout/PatternLayout.java

ViolationLine
Avoid unused private fields such as 'handlesExceptions'.86

org/apache/logging/log4j/core/layout/XMLLayout.java

ViolationLine
Avoid empty catch blocks221 - 223

org/apache/logging/log4j/core/net/SocketServer.java

ViolationLine
Avoid empty catch blocks193 - 195
Avoid empty catch blocks224 - 226
Avoid empty catch blocks232 - 234
Avoid empty catch blocks234 - 236
Avoid empty catch blocks243 - 245

org/apache/logging/log4j/core/net/TCPSocketManager.java

ViolationLine
Avoid empty catch blocks145 - 147

org/apache/logging/log4j/core/pattern/AnsiEscape.java

ViolationLine
Avoid empty catch blocks101 - 103

org/apache/logging/log4j/core/pattern/ExtendedThrowablePatternConverter.java

ViolationLine
These nested if statements could be combined51 - 60

org/apache/logging/log4j/core/pattern/MarkerPatternConverter.java

ViolationLine
Avoid unused constructor parameters such as 'options'.34 - 36

org/apache/logging/log4j/core/pattern/RootThrowablePatternConverter.java

ViolationLine
These nested if statements could be combined52 - 61

org/apache/logging/log4j/core/pattern/ThrowablePatternConverter.java

ViolationLine
Avoid empty if statements66 - 67

org/apache/logging/log4j/core/selector/ClassLoaderContextSelector.java

ViolationLine
Avoid empty catch blocks97 - 99
Avoid empty catch blocks123 - 125