Checkstyle Results

The following document contains the results of Checkstyle 6.18 with /Users/rgoers/projects/apache/logging/log4j/log4j2/log4j-2.13.0/log4j-spring-cloud-config/log4j-spring-cloud-config-client/../../checkstyle.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
8 0 0 13

Files

File
 I
 W
 E
log4j2.component.properties 0 0 1
log4j2.system.properties 0 0 1
org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java 0 0 5
org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java 0 0 2
org/apache/logging/log4j/spring/cloud/config/client/SpringEnvironmentHolder.java 0 0 1
org/apache/logging/log4j/spring/cloud/config/client/SpringPropertySource.java 0 0 1
org/apache/logging/log4j/spring/cloud/config/client/WatchEventManager.java 0 0 2

Details

log4j2.component.properties

Severity Category Rule Message Line
 Error
misc NewlineAtEndOfFile File does not end with a newline.

log4j2.system.properties

Severity Category Rule Message Line
 Error
misc NewlineAtEndOfFile File does not end with a newline.

org/apache/logging/log4j/spring/cloud/config/client/Log4j2CloudConfigLoggingSystem.java

Severity Category Rule Message Line
 Error
javadoc JavadocPackage Missing package-info.java file.
 Error
imports UnusedImports Unused import - org.apache.logging.log4j.core.util.BasicAuthorizationProvider. 37
 Error
javadoc JavadocVariable Missing a Javadoc comment. 52
 Error
coding DeclarationOrder Variable access definition in wrong order. 52
 Error
blocks RightCurly '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 110

org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java

Severity Category Rule Message Line
 Error
javadoc JavadocType Missing a Javadoc comment. 31
 Error
naming StaticVariableName Name 'LOGGER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 36

org/apache/logging/log4j/spring/cloud/config/client/SpringEnvironmentHolder.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 161). 35

org/apache/logging/log4j/spring/cloud/config/client/SpringPropertySource.java

Severity Category Rule Message Line
 Error
coding MagicNumber '-50' is a magic number. 34

org/apache/logging/log4j/spring/cloud/config/client/WatchEventManager.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 30
 Error
naming ConstantName Name 'watchManagers' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 30