Checkstyle Results
The following document contains the results of Checkstyle 6.18 with /Users/rgoers/projects/apache/logging/log4j/log4j-2.17.1/log4j-spring-boot/../checkstyle.xml ruleset. rss feed
Summary
Files
Info
Warnings
Errors
6
0
0
14
Details
log4j2.system.properties
Severity
Category
Rule
Message
Line
Error
misc
NewlineAtEndOfFile
File does not end with a newline.
org/apache/logging/log4j/spring/boot/Log4j2CloudConfigLoggingSystem.java
Severity
Category
Rule
Message
Line
Error
javadoc
JavadocPackage
Missing package-info.java file.
Error
javadoc
JavadocVariable
Missing a Javadoc comment.
62
Error
coding
DeclarationOrder
Variable access definition in wrong order.
62
Error
naming
StaticVariableName
Name 'LOGGER' must match pattern '^[a-z][a-zA-Z0-9]*$'.
64
Error
sizes
LineLength
Line is longer than 120 characters (found 126).
135
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).
146
org/apache/logging/log4j/spring/boot/SpringLookup.java
Severity
Category
Rule
Message
Line
Error
imports
ImportOrder
Wrong order for 'java.util.regex.Matcher' import.
26
org/apache/logging/log4j/spring/boot/SpringProfileArbiter.java
Severity
Category
Rule
Message
Line
Error
design
FinalClass
Class SpringProfileArbiter should be declared as final.
33
Error
javadoc
JavadocType
Missing a Javadoc comment.
62
Error
javadoc
JavadocVariable
Missing a Javadoc comment.
64
Error
coding
HiddenField
'name' hides a field.
77
Error
coding
HiddenField
'configuration' hides a field.
82
org/apache/logging/log4j/spring/boot/SpringPropertySource.java
Severity
Category
Rule
Message
Line
Error
coding
MagicNumber
'-50' is a magic number.
34