Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with /Users/rgoers/projects/apache/logging/log4j/log4j2/log4j-2.9.1/log4j-1.2-api/../checkstyle.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
35 0 0 27

Details

org/apache/log4j/Category.java

Severity Category Rule Message Line
 Error coding HiddenField 'bundle' hides a field. 372
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 385
 Error javadoc JavadocType Missing a Javadoc comment. 456

org/apache/log4j/Priority.java

Severity Category Rule Message Line
 Error design VisibilityModifier Variable 'level' must be private and have accessor methods. 96
 Error design VisibilityModifier Variable 'levelStr' must be private and have accessor methods. 97
 Error design VisibilityModifier Variable 'syslogEquivalent' must be private and have accessor methods. 98

org/apache/log4j/config/InputStreamWrapper.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 22
 Error modifier RedundantModifier Redundant 'public' modifier. 27

org/apache/log4j/config/Log4j1ConfigurationConverter.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 126). 50
 Error javadoc JavadocType Missing a Javadoc comment. 55
 Error coding DeclarationOrder Instance variable definition in wrong order. 141
 Error coding DeclarationOrder Constructor definition in wrong order. 143
 Error sizes LineLength Line is longer than 120 characters (found 127). 179

org/apache/log4j/config/Log4j1ConfigurationParser.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 120 characters (found 139). 55
 Error sizes LineLength Line is longer than 120 characters (found 139). 56
 Error sizes LineLength Line is longer than 120 characters (found 133). 57
 Error sizes LineLength Line is longer than 120 characters (found 140). 58
 Error sizes LineLength Line is longer than 120 characters (found 124). 59

org/apache/log4j/layout/Log4j1XmlLayout.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error coding DeclarationOrder Constructor definition in wrong order. 56
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 110

org/apache/log4j/pattern/Log4j1MdcPatternConverter.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 120 characters (found 126). 82
 Error coding DeclarationOrder Static variable definition in wrong order. 82
 Error naming StaticVariableName Name 'APPEND_EACH' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82

org/apache/log4j/pattern/Log4j1NdcPatternConverter.java

Severity Category Rule Message Line
 Error imports ImportOrder Wrong order for 'java.util.List' import. 26

org/apache/log4j/spi/Filter.java

Severity Category Rule Message Line
 Error design VisibilityModifier Variable 'next' must be private and have accessor methods. 48