PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/logging/log4j/LogManager.java

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

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

ViolationLine
Avoid unused imports such as 'javax.xml.stream.XMLOutputFactory'19
Avoid unused imports such as 'javax.xml.stream.XMLStreamException'20
Avoid unused imports such as 'javax.xml.stream.XMLStreamWriter'21
Avoid unused imports such as 'java.io.ByteArrayOutputStream'22

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

ViolationLine
These nested if statements could be combined149 - 152
These nested if statements could be combined301 - 327
These nested if statements could be combined302 - 326
These nested if statements could be combined368 - 373
These nested if statements could be combined369 - 372

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

ViolationLine
Avoid unused method parameters such as 'stream'.124 - 127