Checkstyle Results

The following document contains the results of Checkstyle 6.18 with /Users/rgoers/projects/apache/logging/log4j/log4j-2.17.1/log4j-slf4j-impl/../checkstyle.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
12 0 0 11

Files

File
 I
 W
 E
org/apache/logging/slf4j/Log4jLogger.java 0 0 2
org/apache/logging/slf4j/Log4jLoggerFactory.java 0 0 1
org/apache/logging/slf4j/Log4jMarker.java 0 0 6
org/slf4j/impl/StaticLoggerBinder.java 0 0 2

Details

org/apache/logging/slf4j/Log4jLogger.java

Severity Category Rule Message Line
 Error
javadoc JavadocVariable Missing a Javadoc comment. 41
 Error
sizes LineLength Line is longer than 120 characters (found 144). 358

org/apache/logging/slf4j/Log4jLoggerFactory.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'java.util.function.Predicate' import. 28

org/apache/logging/slf4j/Log4jMarker.java

Severity Category Rule Message Line
 Error
coding HiddenField 'marker' hides a field. 49
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 50
 Error
whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 54
 Error
coding HiddenField 'marker' hides a field. 58
 Error
coding MagicNumber '31' is a magic number. 104
 Error
coding HiddenField 'marker' hides a field. 123

org/slf4j/impl/StaticLoggerBinder.java

Severity Category Rule Message Line
 Error
naming StaticVariableName Name 'REQUESTED_API_VERSION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34
 Error
design VisibilityModifier Variable 'REQUESTED_API_VERSION' must be private and have accessor methods. 34