PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/logging/log4j/LogManager.java
Violation | Line |
---|
Avoid using java.lang.ThreadGroup; it is not thread safe | 187 |
org/apache/logging/log4j/message/BasicThreadInformation.java
Violation | Line |
---|
Avoid unused private fields such as 'longName'. | 27 |
Avoid unused private fields such as 'isAlive'. | 30 |
org/apache/logging/log4j/message/MapMessage.java
Violation | Line |
---|
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
Violation | Line |
---|
These nested if statements could be combined | 149 - 152 |
These nested if statements could be combined | 301 - 327 |
These nested if statements could be combined | 302 - 326 |
These nested if statements could be combined | 368 - 373 |
These nested if statements could be combined | 369 - 372 |
org/apache/logging/log4j/message/ThreadDumpMessage.java
Violation | Line |
---|
Avoid unused method parameters such as 'stream'. | 124 - 127 |