Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
8 0 0 17

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 7
org/apache/logging/log4j/spring/cloud/config/client/Log4j2EventListener.java 0 0 3
org/apache/logging/log4j/spring/cloud/config/client/SpringEnvironmentHolder.java 0 0 1
org/apache/logging/log4j/spring/cloud/config/client/SpringLookup.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
imports UnusedImports Unused import - java.net.URI. 24
 Error
imports UnusedImports Unused import - org.apache.logging.log4j.core.util.BasicAuthorizationProvider. 47
 Error
javadoc JavadocVariable Missing a Javadoc comment. 63
 Error
coding DeclarationOrder Variable access definition in wrong order. 63
 Error
naming StaticVariableName Name 'LOGGER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 65
 Error
sizes LineLength Line is longer than 120 characters (found 126). 136
 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). 147

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

Severity Category Rule Message Line
 Error
javadoc JavadocPackage Missing package-info.java file.
 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/SpringLookup.java

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

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