This project is not maintained anymore! Log4j Extras is a companion to Log4j 1, which reached end of life in August 2015. For other inquiries, see the support policy.

PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/log4j/receivers/db/CustomSQLDBReceiver.java

ViolationLine
Avoid empty catch blocks199 - 201
Avoid empty catch blocks397 - 398

org/apache/log4j/receivers/db/DBHelper.java

ViolationLine
Avoid empty catch blocks53 - 56
Avoid empty catch blocks64 - 65

org/apache/log4j/receivers/db/DBReceiverJob.java

ViolationLine
Avoid empty catch blocks158 - 160

org/apache/log4j/receivers/db/dialect/Util.java

ViolationLine
Avoid empty catch blocks60 - 62

org/apache/log4j/receivers/net/JMSReceiver.java

ViolationLine
Avoid empty catch blocks233 - 235
Avoid empty catch blocks253 - 255

org/apache/log4j/receivers/net/JMSReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks47 - 48

org/apache/log4j/receivers/net/MulticastReceiver.java

ViolationLine
Avoid empty catch blocks264 - 266

org/apache/log4j/receivers/net/MulticastReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks46 - 47

org/apache/log4j/receivers/net/SocketNode13.java

ViolationLine
Avoid empty if statements199 - 201
Avoid empty catch blocks224 - 226

org/apache/log4j/receivers/net/SocketReceiver.java

ViolationLine
Avoid empty catch blocks208 - 210
Avoid empty catch blocks222 - 224

org/apache/log4j/receivers/net/UDPReceiver.java

ViolationLine
Avoid empty catch blocks272 - 274

org/apache/log4j/receivers/net/XMLSocketNode.java

ViolationLine
Avoid empty catch blocks199 - 201

org/apache/log4j/receivers/net/XMLSocketReceiver.java

ViolationLine
Avoid empty catch blocks222 - 224
Avoid empty catch blocks236 - 238

org/apache/log4j/receivers/varia/LogFilePatternReceiver.java

ViolationLine
Avoid empty catch blocks202 - 204
These nested if statements could be combined492 - 494
These nested if statements could be combined512 - 514
These nested if statements could be combined530 - 532
These nested if statements could be combined548 - 550
Avoid unnecessary temporaries when converting primitives to Strings660
Avoid unnecessary temporaries when converting primitives to Strings681
These nested if statements could be combined897 - 902

org/apache/log4j/receivers/varia/LogFilePatternReceiverBeanInfo.java

ViolationLine
Avoid empty catch blocks48 - 49

org/apache/log4j/receivers/xml/LogFileXMLReceiver.java

ViolationLine
These nested if statements could be combined149 - 151