Apache logging services logo Apache log4j logo

PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/apache/log4j/AppenderSkeleton.java

Violation Priority Line
Avoid unused constructor parameters such as 'isActive'. 3 50
Useless parentheses. 4 108
Useless parentheses. 4 108

org/apache/log4j/Category.java

Violation Priority Line
Avoid unused method parameters such as 'fqcn'. 3 449

org/apache/log4j/PatternLayout.java

Violation Priority Line
Avoid unused constructor parameters such as 'pattern'. 3 27

org/apache/log4j/config/Log4j1ConfigurationConverter.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 179
Avoid modifiers which are implied by the context 3 180
Avoid modifiers which are implied by the context 3 205
Avoid modifiers which are implied by the context 3 205

org/apache/log4j/config/Log4j1ConfigurationFactory.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 45

org/apache/log4j/config/Log4j1ConfigurationParser.java

Violation Priority Line
These nested if statements could be combined 3 150156
Avoid unused private methods such as 'buildAttributeWithDefault(String,ComponentBuilder,String,String,String)'. 3 267268

org/apache/log4j/config/PropertySetter.java

Violation Priority Line
Avoid unused constructor parameters such as 'obj'. 3 34