Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
11 0 0 42

Files

File
 I
 W
 E
org/apache/logging/log4j/web/Log4jServletContainerInitializer.java 0 0 6
org/apache/logging/log4j/web/Log4jServletContextListener.java 0 0 5
org/apache/logging/log4j/web/Log4jServletFilter.java 0 0 8
org/apache/logging/log4j/web/Log4jWebInitializerImpl.java 0 0 2
org/apache/logging/log4j/web/ServletRequestThreadContext.java 0 0 4
org/apache/logging/log4j/web/WebLoggerContextUtils.java 0 0 2
org/apache/logging/log4j/web/WebLookup.java 0 0 2
org/apache/logging/log4j/web/appender/ServletAppender.java 0 0 13

Details

org/apache/logging/log4j/web/Log4jServletContainerInitializer.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.DispatcherType. 21
 Error
imports ImportControl Disallowed import - javax.servlet.FilterRegistration. 22
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContainerInitializer. 23
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 24
 Error
imports ImportControl Disallowed import - javax.servlet.ServletException. 25
 Error
naming LocalFinalVariableName Name 'LOGGER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43

org/apache/logging/log4j/web/Log4jServletContextListener.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 22
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContextEvent. 23
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContextListener. 24
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 38
 Error
sizes LineLength Line is longer than 120 characters (found 124). 78

org/apache/logging/log4j/web/Log4jServletFilter.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.Filter. 20
 Error
imports ImportControl Disallowed import - javax.servlet.FilterChain. 21
 Error
imports ImportControl Disallowed import - javax.servlet.FilterConfig. 22
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 23
 Error
imports ImportControl Disallowed import - javax.servlet.ServletException. 24
 Error
imports ImportControl Disallowed import - javax.servlet.ServletRequest. 25
 Error
imports ImportControl Disallowed import - javax.servlet.ServletResponse. 26
 Error
coding DeclarationOrder Variable access definition in wrong order. 46

org/apache/logging/log4j/web/Log4jWebInitializerImpl.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 30
 Error
sizes LineLength Line is longer than 120 characters (found 128). 194

org/apache/logging/log4j/web/ServletRequestThreadContext.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.ServletRequest. 21
 Error
imports ImportControl Disallowed import - javax.servlet.http.HttpServletRequest. 22
 Error
javadoc JavadocType Missing a Javadoc comment. 26
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 26

org/apache/logging/log4j/web/WebLoggerContextUtils.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 21
 Error
coding DeclarationOrder Static variable definition in wrong order. 39

org/apache/logging/log4j/web/WebLookup.java

Severity Category Rule Message Line
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 21
 Error
javadoc JavadocType Missing a Javadoc comment. 28

org/apache/logging/log4j/web/appender/ServletAppender.java

Severity Category Rule Message Line
 Error
javadoc JavadocPackage Missing package-info.java file.
 Error
imports ImportControl Disallowed import - javax.servlet.ServletContext. 21
 Error
javadoc JavadocStyle First sentence should end with a period. 35
 Error
design FinalClass Class ServletAppender should be declared as final. 38
 Error
javadoc JavadocType Missing a Javadoc comment. 41
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 41
 Error
sizes LineLength Line is longer than 120 characters (found 131). 65
 Error
sizes LineLength Line is longer than 120 characters (found 128). 69
 Error
sizes LineLength Line is longer than 120 characters (found 128). 78
 Error
javadoc JavadocMethod Expected @param tag for 'logThrowables'. 80
 Error
coding DeclarationOrder Instance variable definition in wrong order. 91
 Error
coding DeclarationOrder Instance variable definition in wrong order. 92
 Error
coding DeclarationOrder Constructor definition in wrong order. 94