Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
140 3 0 387

Files

File
 I
 W
 E
org/apache/logging/log4j/CloseableThreadContext.java 0 0 9
org/apache/logging/log4j/LogBuilder.java 0 0 4
org/apache/logging/log4j/LogManager.java 1 0 2
org/apache/logging/log4j/Logger.java 0 0 55
org/apache/logging/log4j/MarkerManager.java 1 0 0
org/apache/logging/log4j/ThreadContext.java 0 0 2
org/apache/logging/log4j/internal/DefaultLogBuilder.java 0 0 6
org/apache/logging/log4j/internal/LogManagerStatus.java 0 0 2
org/apache/logging/log4j/message/AbstractMessageFactory.java 0 0 17
org/apache/logging/log4j/message/AsynchronouslyFormattable.java 0 0 1
org/apache/logging/log4j/message/DefaultFlowMessageFactory.java 0 0 6
org/apache/logging/log4j/message/EntryMessage.java 0 0 1
org/apache/logging/log4j/message/ExitMessage.java 0 0 1
org/apache/logging/log4j/message/FlowMessage.java 0 0 2
org/apache/logging/log4j/message/FormattedMessage.java 0 0 5
org/apache/logging/log4j/message/FormattedMessageFactory.java 0 0 7
org/apache/logging/log4j/message/LocalizedMessage.java 0 0 2
org/apache/logging/log4j/message/LocalizedMessageFactory.java 0 0 1
org/apache/logging/log4j/message/MapMessage.java 0 0 1
org/apache/logging/log4j/message/MapMessageJsonFormatter.java 0 0 8
org/apache/logging/log4j/message/Message.java 0 0 2
org/apache/logging/log4j/message/MessageFormatMessageFactory.java 0 0 7
org/apache/logging/log4j/message/ParameterConsumer.java 0 0 1
org/apache/logging/log4j/message/ParameterFormatter.java 0 0 9
org/apache/logging/log4j/message/ParameterizedMessage.java 0 0 7
org/apache/logging/log4j/message/ParameterizedMessageFactory.java 0 0 7
org/apache/logging/log4j/message/ParameterizedNoReferenceMessageFactory.java 0 0 2
org/apache/logging/log4j/message/ReusableObjectMessage.java 0 0 1
org/apache/logging/log4j/message/ReusableParameterizedMessage.java 0 0 31
org/apache/logging/log4j/message/ReusableSimpleMessage.java 0 0 1
org/apache/logging/log4j/message/SimpleMessage.java 0 0 3
org/apache/logging/log4j/message/SimpleMessageFactory.java 0 0 7
org/apache/logging/log4j/message/StringFormatterMessageFactory.java 0 0 7
org/apache/logging/log4j/message/StructuredDataId.java 0 0 4
org/apache/logging/log4j/message/ThreadDumpMessage.java 0 0 4
org/apache/logging/log4j/simple/SimpleLoggerContext.java 0 0 2
org/apache/logging/log4j/spi/AbstractLogger.java 0 0 23
org/apache/logging/log4j/spi/AbstractLoggerAdapter.java 0 0 1
org/apache/logging/log4j/spi/CopyOnWriteSortedArrayThreadContextMap.java 0 0 4
org/apache/logging/log4j/spi/DefaultThreadContextMap.java 0 0 5
org/apache/logging/log4j/spi/GarbageFreeSortedArrayThreadContextMap.java 0 0 5
org/apache/logging/log4j/spi/LoggerContext.java 0 0 1
org/apache/logging/log4j/spi/LoggerContextFactory.java 0 0 1
org/apache/logging/log4j/spi/LoggerContextKey.java 0 0 1
org/apache/logging/log4j/spi/LoggerRegistry.java 0 0 1
org/apache/logging/log4j/spi/MutableThreadContextStack.java 0 0 3
org/apache/logging/log4j/spi/ObjectThreadContextMap.java 0 0 3
org/apache/logging/log4j/spi/Provider.java 0 0 4
org/apache/logging/log4j/spi/ThreadContextMapFactory.java 0 0 3
org/apache/logging/log4j/util/Activator.java 0 0 2
org/apache/logging/log4j/util/Base64Util.java 0 0 1
org/apache/logging/log4j/util/Chars.java 0 0 8
org/apache/logging/log4j/util/Constants.java 0 0 5
org/apache/logging/log4j/util/EnvironmentPropertySource.java 0 0 2
org/apache/logging/log4j/util/IndexedReadOnlyStringMap.java 0 0 1
org/apache/logging/log4j/util/LambdaUtil.java 0 0 1
org/apache/logging/log4j/util/LoaderUtil.java 0 0 5
org/apache/logging/log4j/util/LowLevelLogUtil.java 0 0 2
org/apache/logging/log4j/util/PerformanceSensitive.java 0 0 1
org/apache/logging/log4j/util/PrivateSecurityManagerStackTraceUtil.java 0 0 1
org/apache/logging/log4j/util/ProcessIdUtil.java 0 0 3
org/apache/logging/log4j/util/PropertiesUtil.java 0 0 8
org/apache/logging/log4j/util/PropertySource.java 0 0 2
org/apache/logging/log4j/util/ProviderUtil.java 0 0 1
org/apache/logging/log4j/util/ReadOnlyStringMap.java 0 0 1
org/apache/logging/log4j/util/SortedArrayStringMap.java 0 0 10
org/apache/logging/log4j/util/StackLocatorUtil.java 1 0 2
org/apache/logging/log4j/util/StringBuilders.java 0 0 2
org/apache/logging/log4j/util/StringMap.java 0 0 1
org/apache/logging/log4j/util/Strings.java 0 0 7
org/apache/logging/log4j/util/SystemPropertiesPropertySource.java 0 0 1
org/apache/logging/log4j/util/Timer.java 0 0 34
org/apache/logging/log4j/util/Unbox.java 0 0 4

Details

org/apache/logging/log4j/CloseableThreadContext.java

Severity Category Rule Message Line
 Error
design FinalClass Class CloseableThreadContext should be declared as final. 37
 Error
design FinalClass Class Instance should be declared as final. 103
 Error
javadoc JavadocType Missing a Javadoc comment. 103
 Error
sizes LineLength Line is longer than 120 characters (found 124). 112
 Error
sizes LineLength Line is longer than 120 characters (found 124). 125
 Error
sizes LineLength Line is longer than 120 characters (found 121). 140
 Error
sizes LineLength Line is longer than 120 characters (found 122). 158
 Error
sizes LineLength Line is longer than 120 characters (found 142). 197
 Error
whitespace EmptyForIteratorPad ';' is followed by whitespace. 207

org/apache/logging/log4j/LogBuilder.java

Severity Category Rule Message Line
 Error
javadoc JavadocVariable Missing a Javadoc comment. 29
 Error
modifier RedundantModifier Redundant 'public' modifier. 29
 Error
whitespace WhitespaceAround '{' is not followed by whitespace. 29
 Error
whitespace WhitespaceAround '}' is not preceded with whitespace. 29

org/apache/logging/log4j/LogManager.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 131). 97
 Info
misc TodoComment Comment matches to-do format 'TODO:'. 174
 Error
sizes LineLength Line is longer than 120 characters (found 122). 354

org/apache/logging/log4j/Logger.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 122). 72
 Error
sizes LineLength Line is longer than 120 characters (found 126). 129
 Error
sizes LineLength Line is longer than 120 characters (found 122). 227
 Error
sizes LineLength Line is longer than 120 characters (found 126). 263
 Error
sizes LineLength Line is longer than 120 characters (found 122). 458
 Error
sizes LineLength Line is longer than 120 characters (found 122). 476
 Error
sizes LineLength Line is longer than 120 characters (found 122). 495
 Error
sizes LineLength Line is longer than 120 characters (found 124). 634
 Error
sizes LineLength Line is longer than 120 characters (found 126). 685
 Error
sizes LineLength Line is longer than 120 characters (found 122). 783
 Error
sizes LineLength Line is longer than 120 characters (found 126). 819
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1014
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1032
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1051
 Error
sizes LineLength Line is longer than 120 characters (found 126). 1233
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1331
 Error
sizes LineLength Line is longer than 120 characters (found 126). 1367
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1562
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1580
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1599
 Error
javadoc JavadocMethod Expected @param tag for '<MF>'. 1747
 Error
sizes LineLength Line is longer than 120 characters (found 126). 1786
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1884
 Error
sizes LineLength Line is longer than 120 characters (found 126). 1920
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2115
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2133
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2152
 Error
sizes LineLength Line is longer than 120 characters (found 127). 2431
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2452
 Error
sizes LineLength Line is longer than 120 characters (found 124). 2472
 Error
sizes LineLength Line is longer than 120 characters (found 124). 2514
 Error
sizes LineLength Line is longer than 120 characters (found 123). 2577
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2596
 Error
sizes LineLength Line is longer than 120 characters (found 124). 2614
 Error
sizes LineLength Line is longer than 120 characters (found 124). 2652
 Error
sizes LineLength Line is longer than 120 characters (found 123). 2756
 Error
sizes LineLength Line is longer than 120 characters (found 122). 2772
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2790
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2809
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2829
 Error
sizes LineLength Line is longer than 120 characters (found 130). 2930
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2947
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2966
 Error
sizes LineLength Line is longer than 120 characters (found 126). 3046
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3147
 Error
sizes LineLength Line is longer than 120 characters (found 126). 3183
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3381
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3399
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3418
 Error
sizes LineLength Line is longer than 120 characters (found 125). 3761
 Error
sizes LineLength Line is longer than 120 characters (found 121). 3859
 Error
sizes LineLength Line is longer than 120 characters (found 125). 3895
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4090
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4108
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4127

org/apache/logging/log4j/MarkerManager.java

Severity Category Rule Message Line
 Info
misc TodoComment Comment matches to-do format 'TODO:'. 145

org/apache/logging/log4j/ThreadContext.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'org.apache.logging.log4j.spi.CleanableThreadContextMap' import. 36
 Error
whitespace WhitespaceAround 'if' is not followed by whitespace. 261

org/apache/logging/log4j/internal/DefaultLogBuilder.java

Severity Category Rule Message Line
 Error
naming StaticVariableName Name 'EMPTY_MESSAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 36
 Error
coding HiddenField 'level' hides a field. 66
 Error
coding HiddenField 'marker' hides a field. 76
 Error
coding HiddenField 'throwable' hides a field. 82
 Error
coding HiddenField 'location' hides a field. 94
 Error
whitespace NoWhitespaceBefore ';' is preceded with whitespace. 244

org/apache/logging/log4j/internal/LogManagerStatus.java

Severity Category Rule Message Line
 Error
javadoc JavadocStyle First sentence should end with a period. 19
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 22

org/apache/logging/log4j/message/AbstractMessageFactory.java

Severity Category Rule Message Line
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 67
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 75
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 83
 Error
sizes LineLength Line is longer than 120 characters (found 121). 90
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 91
 Error
sizes LineLength Line is longer than 120 characters (found 138). 98
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 99
 Error
sizes LineLength Line is longer than 120 characters (found 155). 106
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 107
 Error
sizes LineLength Line is longer than 120 characters (found 153). 114
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 116
 Error
sizes LineLength Line is longer than 120 characters (found 153). 123
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 125
 Error
sizes LineLength Line is longer than 120 characters (found 153). 132
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 134
 Error
sizes LineLength Line is longer than 120 characters (found 153). 141
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 143

org/apache/logging/log4j/message/AsynchronouslyFormattable.java

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

org/apache/logging/log4j/message/DefaultFlowMessageFactory.java

Severity Category Rule Message Line
 Error
javadoc JavadocType Missing a Javadoc comment. 52
 Error
javadoc JavadocType Missing a Javadoc comment. 106
 Error
javadoc JavadocType Missing a Javadoc comment. 116
 Error
sizes LineLength Line is longer than 120 characters (found 125). 187
 Error
sizes LineLength Line is longer than 120 characters (found 143). 197
 Error
sizes LineLength Line is longer than 120 characters (found 138). 207

org/apache/logging/log4j/message/EntryMessage.java

Severity Category Rule Message Line
 Error
javadoc JavadocStyle First sentence should end with a period. 19

org/apache/logging/log4j/message/ExitMessage.java

Severity Category Rule Message Line
 Error
javadoc JavadocStyle First sentence should end with a period. 19

org/apache/logging/log4j/message/FlowMessage.java

Severity Category Rule Message Line
 Error
javadoc JavadocStyle First sentence should end with a period. 19
 Error
javadoc JavadocStyle First sentence should end with a period. 33

org/apache/logging/log4j/message/FormattedMessage.java

Severity Category Rule Message Line
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 55
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 67
 Error
sizes LineLength Line is longer than 120 characters (found 132). 89
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 102
 Error
whitespace NoWhitespaceAfter '{' is followed by whitespace. 112

org/apache/logging/log4j/message/FormattedMessageFactory.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 121). 80
 Error
sizes LineLength Line is longer than 120 characters (found 138). 88
 Error
sizes LineLength Line is longer than 120 characters (found 155). 96
 Error
sizes LineLength Line is longer than 120 characters (found 153). 104
 Error
sizes LineLength Line is longer than 120 characters (found 153). 113
 Error
sizes LineLength Line is longer than 120 characters (found 153). 122
 Error
sizes LineLength Line is longer than 120 characters (found 153). 131

org/apache/logging/log4j/message/LocalizedMessage.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for 'bundle'. 108
 Error
javadoc JavadocMethod Expected @param tag for 'key'. 108

org/apache/logging/log4j/message/LocalizedMessageFactory.java

Severity Category Rule Message Line
 Error
modifier ModifierOrder 'final' modifier out of order with the JLS suggestions. 35

org/apache/logging/log4j/message/MapMessage.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 204

org/apache/logging/log4j/message/MapMessageJsonFormatter.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'java.math.BigDecimal' import. 24
 Error
whitespace WhitespaceAround '{' is not followed by whitespace. 48
 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). 93
 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). 103
 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). 114
 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). 123
 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). 129
 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). 159

org/apache/logging/log4j/message/Message.java

Severity Category Rule Message Line
 Error
imports ImportOrder 'org.apache.logging.log4j.util.StringBuilderFormattable' should be separated from previous imports. 20
 Error
javadoc JavadocType Missing a Javadoc comment. 46

org/apache/logging/log4j/message/MessageFormatMessageFactory.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 121). 78
 Error
sizes LineLength Line is longer than 120 characters (found 138). 86
 Error
sizes LineLength Line is longer than 120 characters (found 155). 94
 Error
sizes LineLength Line is longer than 120 characters (found 153). 102
 Error
sizes LineLength Line is longer than 120 characters (found 153). 111
 Error
sizes LineLength Line is longer than 120 characters (found 153). 120
 Error
sizes LineLength Line is longer than 120 characters (found 153). 129

org/apache/logging/log4j/message/ParameterConsumer.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for 'state'. 40

org/apache/logging/log4j/message/ParameterFormatter.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'java.text.SimpleDateFormat' import. 21
 Error
sizes LineLength Line is longer than 120 characters (found 125). 433
 Error
sizes LineLength Line is longer than 120 characters (found 138). 436
 Error
sizes LineLength Line is longer than 120 characters (found 132). 437
 Error
sizes LineLength Line is longer than 120 characters (found 122). 441
 Error
sizes LineLength Line is longer than 120 characters (found 125). 455
 Error
sizes LineLength Line is longer than 120 characters (found 138). 460
 Error
sizes LineLength Line is longer than 120 characters (found 132). 461
 Error
sizes LineLength Line is longer than 120 characters (found 122). 465

org/apache/logging/log4j/message/ParameterizedMessage.java

Severity Category Rule Message Line
 Error
coding DeclarationOrder Variable access definition in wrong order. 41
 Error
coding DeclarationOrder Variable access definition in wrong order. 45
 Error
coding DeclarationOrder Variable access definition in wrong order. 50
 Error
coding DeclarationOrder Variable access definition in wrong order. 55
 Error
coding DeclarationOrder Variable access definition in wrong order. 60
 Error
coding DeclarationOrder Variable access definition in wrong order. 65
 Error
coding HiddenField 'messagePattern' hides a field. 145

org/apache/logging/log4j/message/ParameterizedMessageFactory.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 121). 93
 Error
sizes LineLength Line is longer than 120 characters (found 138). 101
 Error
sizes LineLength Line is longer than 120 characters (found 155). 109
 Error
sizes LineLength Line is longer than 120 characters (found 153). 117
 Error
sizes LineLength Line is longer than 120 characters (found 153). 126
 Error
sizes LineLength Line is longer than 120 characters (found 153). 135
 Error
sizes LineLength Line is longer than 120 characters (found 153). 144

org/apache/logging/log4j/message/ParameterizedNoReferenceMessageFactory.java

Severity Category Rule Message Line
 Error
modifier RedundantModifier Redundant 'public' modifier. 53
 Error
coding DeclarationOrder Static variable definition in wrong order. 88

org/apache/logging/log4j/message/ReusableObjectMessage.java

Severity Category Rule Message Line
 Error
coding MagicNumber '10' is a magic number. 107

org/apache/logging/log4j/message/ReusableParameterizedMessage.java

Severity Category Rule Message Line
 Error
coding MagicNumber '256' is a magic number. 43
 Error
coding DeclarationOrder Variable access definition in wrong order. 47
 Error
design VisibilityModifier Variable 'reserved' must be private and have accessor methods. 47
 Error
coding HiddenField 'messagePattern' hides a field. 122
 Error
coding HiddenField 'argCount' hides a field. 122
 Error
coding HiddenField 'params' hides a field. 140
 Error
coding HiddenField 'argCount' hides a field. 140
 Error
coding HiddenField 'messagePattern' hides a field. 148
 Error
coding HiddenField 'messagePattern' hides a field. 154
 Error
coding HiddenField 'messagePattern' hides a field. 160
 Error
coding HiddenField 'messagePattern' hides a field. 167
 Error
sizes LineLength Line is longer than 120 characters (found 135). 175
 Error
coding HiddenField 'messagePattern' hides a field. 175
 Error
sizes LineLength Line is longer than 120 characters (found 152). 184
 Error
coding HiddenField 'messagePattern' hides a field. 184
 Error
sizes LineLength Line is longer than 120 characters (found 169). 194
 Error
coding HiddenField 'messagePattern' hides a field. 194
 Error
sizes LineLength Line is longer than 120 characters (found 167). 205
 Error
coding HiddenField 'messagePattern' hides a field. 205
 Error
sizes LineLength Line is longer than 120 characters (found 167). 218
 Error
coding HiddenField 'messagePattern' hides a field. 218
 Error
coding MagicNumber '8' is a magic number. 228
 Error
sizes LineLength Line is longer than 120 characters (found 167). 232
 Error
coding HiddenField 'messagePattern' hides a field. 232
 Error
coding MagicNumber '8' is a magic number. 242
 Error
coding MagicNumber '9' is a magic number. 243
 Error
sizes LineLength Line is longer than 120 characters (found 167). 247
 Error
coding HiddenField 'messagePattern' hides a field. 247
 Error
coding MagicNumber '8' is a magic number. 257
 Error
coding MagicNumber '9' is a magic number. 258
 Error
coding MagicNumber '10' is a magic number. 259

org/apache/logging/log4j/message/ReusableSimpleMessage.java

Severity Category Rule Message Line
 Error
coding HiddenField 'charSequence' hides a field. 35

org/apache/logging/log4j/message/SimpleMessage.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'java.io.IOException' import. 21
 Error
whitespace NoWhitespaceBefore ';' is preceded with whitespace. 65
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 70

org/apache/logging/log4j/message/SimpleMessageFactory.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 121). 92
 Error
sizes LineLength Line is longer than 120 characters (found 138). 100
 Error
sizes LineLength Line is longer than 120 characters (found 155). 108
 Error
sizes LineLength Line is longer than 120 characters (found 153). 116
 Error
sizes LineLength Line is longer than 120 characters (found 153). 125
 Error
sizes LineLength Line is longer than 120 characters (found 153). 134
 Error
sizes LineLength Line is longer than 120 characters (found 153). 143

org/apache/logging/log4j/message/StringFormatterMessageFactory.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 121). 92
 Error
sizes LineLength Line is longer than 120 characters (found 138). 100
 Error
sizes LineLength Line is longer than 120 characters (found 155). 108
 Error
sizes LineLength Line is longer than 120 characters (found 153). 116
 Error
sizes LineLength Line is longer than 120 characters (found 153). 125
 Error
sizes LineLength Line is longer than 120 characters (found 153). 134
 Error
sizes LineLength Line is longer than 120 characters (found 153). 143

org/apache/logging/log4j/message/StructuredDataId.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for 'name'. 86
 Error
javadoc JavadocMethod Expected @param tag for 'required'. 86
 Error
javadoc JavadocMethod Expected @param tag for 'optional'. 86
 Error
javadoc JavadocMethod Expected @param tag for 'maxLength'. 98

org/apache/logging/log4j/message/ThreadDumpMessage.java

Severity Category Rule Message Line
 Error
naming StaticVariableName Name 'FACTORY' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
 Error
sizes LineLength Line is longer than 120 characters (found 128). 73
 Error
sizes LineLength Line is longer than 120 characters (found 129). 174
 Error
modifier RedundantModifier Redundant 'static' modifier. 176

org/apache/logging/log4j/simple/SimpleLoggerContext.java

Severity Category Rule Message Line
 Error
coding DeclarationOrder Variable access definition in wrong order. 41
 Error
coding DeclarationOrder Variable access definition in wrong order. 44

org/apache/logging/log4j/spi/AbstractLogger.java

Severity Category Rule Message Line
 Error
javadoc JavadocVariable Missing a Javadoc comment. 110
 Error
coding DeclarationOrder Static variable definition in wrong order. 113
 Error
naming ConstantName Name 'recursionDepthHolder' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 113
 Error
javadoc JavadocVariable Missing a Javadoc comment. 114
 Error
coding DeclarationOrder Variable access definition in wrong order. 114
 Error
sizes LineLength Line is longer than 120 characters (found 136). 219
 Error
sizes LineLength Line is longer than 120 characters (found 123). 1686
 Error
sizes LineLength Line is longer than 120 characters (found 127). 1701
 Error
sizes LineLength Line is longer than 120 characters (found 130). 1792
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1797
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1803
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1809
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1815
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1821
 Error
sizes LineLength Line is longer than 120 characters (found 128). 1827
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1865
 Error
sizes LineLength Line is longer than 120 characters (found 123). 2006
 Error
sizes LineLength Line is longer than 120 characters (found 135). 2560
 Error
sizes LineLength Line is longer than 120 characters (found 135). 2568
 Error
sizes LineLength Line is longer than 120 characters (found 135). 2577
 Error
whitespace ParenPad '(' is followed by whitespace. 2929
 Error
whitespace ParenPad ')' is preceded with whitespace. 2929
 Error
javadoc JavadocType Missing a Javadoc comment. 2939

org/apache/logging/log4j/spi/AbstractLoggerAdapter.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected an @return tag. 99

org/apache/logging/log4j/spi/CopyOnWriteSortedArrayThreadContextMap.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. 27
 Error
coding DeclarationOrder Instance variable definition in wrong order. 76
 Error
coding DeclarationOrder Constructor definition in wrong order. 78
 Error
modifier RedundantModifier Redundant 'public' modifier. 78

org/apache/logging/log4j/spi/DefaultThreadContextMap.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. 26
 Error
coding DeclarationOrder Variable access definition in wrong order. 42
 Error
coding DeclarationOrder Static variable definition in wrong order. 47
 Error
coding DeclarationOrder Constructor definition in wrong order. 74
 Error
coding DeclarationOrder Constructor definition in wrong order. 78

org/apache/logging/log4j/spi/GarbageFreeSortedArrayThreadContextMap.java

Severity Category Rule Message Line
 Error
imports ImportOrder Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. 26
 Error
coding DeclarationOrder Static variable definition in wrong order. 58
 Error
coding DeclarationOrder Static variable definition in wrong order. 59
 Error
coding DeclarationOrder Constructor definition in wrong order. 75
 Error
modifier RedundantModifier Redundant 'public' modifier. 75

org/apache/logging/log4j/spi/LoggerContext.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected an @return tag. 37

org/apache/logging/log4j/spi/LoggerContextFactory.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected an @return tag. 100

org/apache/logging/log4j/spi/LoggerContextKey.java

Severity Category Rule Message Line
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 28

org/apache/logging/log4j/spi/LoggerRegistry.java

Severity Category Rule Message Line
 Error
javadoc JavadocType Type Javadoc comment is missing an @param <T> tag. 32

org/apache/logging/log4j/spi/MutableThreadContextStack.java

Severity Category Rule Message Line
 Error
javadoc JavadocStyle First sentence should end with a period. 28
 Error
javadoc JavadocMethod Expected @param tag for 'list'. 52
 Error
coding MagicNumber '31' is a magic number. 215

org/apache/logging/log4j/spi/ObjectThreadContextMap.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for '<V>'. 37
 Error
javadoc JavadocMethod Expected @param tag for '<V>'. 45
 Error
javadoc JavadocMethod Expected @param tag for '<V>'. 52

org/apache/logging/log4j/spi/Provider.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 165). 239
 Error
coding MagicNumber '31' is a magic number. 248
 Error
coding MagicNumber '31' is a magic number. 249
 Error
coding MagicNumber '31' is a magic number. 250

org/apache/logging/log4j/spi/ThreadContextMapFactory.java

Severity Category Rule Message Line
 Error
naming StaticVariableName Name 'GcFreeThreadContextKey' must match pattern '^[a-z][a-zA-Z0-9]*$'. 53
 Error
naming StaticVariableName Name 'ThreadContextMapName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
 Error
coding DeclarationOrder Constructor definition in wrong order. 81

org/apache/logging/log4j/util/Activator.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 155). 72
 Error
sizes LineLength Line is longer than 120 characters (found 136). 105

org/apache/logging/log4j/util/Base64Util.java

Severity Category Rule Message Line
 Error
whitespace NoWhitespaceAfter 'byte' is followed by whitespace. 56

org/apache/logging/log4j/util/Chars.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 37
 Error
coding MagicNumber '16' is a magic number. 55
 Error
coding MagicNumber '10' is a magic number. 58
 Error
coding MagicNumber '16' is a magic number. 68
 Error
coding MagicNumber '10' is a magic number. 71
 Error
coding MagicNumber '10' is a magic number. 79
 Error
coding MagicNumber '10' is a magic number. 83
 Error
coding DeclarationOrder Constructor definition in wrong order. 86

org/apache/logging/log4j/util/Constants.java

Severity Category Rule Message Line
 Error
javadoc JavadocVariable Missing a Javadoc comment. 44
 Error
sizes LineLength Line is longer than 120 characters (found 147). 60
 Error
coding DeclarationOrder Static variable definition in wrong order. 89
 Error
coding DeclarationOrder Static variable definition in wrong order. 94
 Error
coding DeclarationOrder Constructor definition in wrong order. 99

org/apache/logging/log4j/util/EnvironmentPropertySource.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 32
 Error
sizes LineLength Line is longer than 120 characters (found 137). 48

org/apache/logging/log4j/util/IndexedReadOnlyStringMap.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for '<V>'. 49

org/apache/logging/log4j/util/LambdaUtil.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for 'messageFactory'. 87

org/apache/logging/log4j/util/LoaderUtil.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 115
 Error
blocks EmptyBlock Empty catch block. 169
 Error
javadoc JavadocMethod Expected @param tag for '<T>'. 184
 Error
javadoc JavadocMethod Expected @param tag for '<T>'. 207
 Error
regexp RegexpSingleline Line has trailing spaces. 286

org/apache/logging/log4j/util/LowLevelLogUtil.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 123). 26
 Error
coding DeclarationOrder Constructor definition in wrong order. 77

org/apache/logging/log4j/util/PerformanceSensitive.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected an @return tag. 36

org/apache/logging/log4j/util/PrivateSecurityManagerStackTraceUtil.java

Severity Category Rule Message Line
 Error
javadoc JavadocType Missing a Javadoc comment. 63

org/apache/logging/log4j/util/ProcessIdUtil.java

Severity Category Rule Message Line
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 26
 Error
javadoc JavadocVariable Missing a Javadoc comment. 28
 Error
sizes LineLength Line is longer than 120 characters (found 126). 32

org/apache/logging/log4j/util/PropertiesUtil.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 122). 221
 Error
blocks EmptyBlock Empty catch block. 228
 Error
blocks EmptyBlock Empty catch block. 284
 Error
design FinalClass Class Environment should be declared as final. 420
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 439
 Error
sizes LineLength Line is longer than 120 characters (found 131). 441
 Error
sizes LineLength Line is longer than 120 characters (found 123). 445
 Error
javadoc JavadocType Missing a Javadoc comment. 573

org/apache/logging/log4j/util/PropertySource.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 123). 104
 Error
coding DeclarationOrder Constructor definition in wrong order. 152

org/apache/logging/log4j/util/ProviderUtil.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 103

org/apache/logging/log4j/util/ReadOnlyStringMap.java

Severity Category Rule Message Line
 Error
javadoc JavadocMethod Expected @param tag for '<V>'. 93

org/apache/logging/log4j/util/SortedArrayStringMap.java

Severity Category Rule Message Line
 Error
sizes LineLength Line is longer than 120 characters (found 136). 70
 Error
coding DeclarationOrder Static variable definition in wrong order. 86
 Error
naming ConstantName Name 'setObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 86
 Error
coding DeclarationOrder Static variable definition in wrong order. 87
 Error
naming ConstantName Name 'getObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 87
 Error
coding DeclarationOrder Static variable definition in wrong order. 88
 Error
naming ConstantName Name 'newObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 88
 Error
coding MagicNumber '37' is a magic number. 466
 Error
naming LocalFinalVariableName Name 'BITS_PER_INT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 581
 Error
sizes LineLength Line is longer than 120 characters (found 156). 591

org/apache/logging/log4j/util/StackLocatorUtil.java

Severity Category Rule Message Line
 Info
misc TodoComment Comment matches to-do format 'TODO:'. 39
 Error
javadoc JavadocMethod Expected an @return tag. 56
 Error
javadoc JavadocMethod Expected @param tag for 'fqcn'. 57

org/apache/logging/log4j/util/StringBuilders.java

Severity Category Rule Message Line
 Error
coding MagicNumber '0xF' is a magic number. 227
 Error
coding MagicNumber '0xF0' is a magic number. 228

org/apache/logging/log4j/util/StringMap.java

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

org/apache/logging/log4j/util/Strings.java

Severity Category Rule Message Line
 Error
naming ConstantName Name 'tempStr' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 30
 Error
coding DeclarationOrder Variable access definition in wrong order. 35
 Error
coding DeclarationOrder Variable access definition in wrong order. 40
 Error
coding DeclarationOrder Variable access definition in wrong order. 46
 Error
sizes LineLength Line is longer than 120 characters (found 127). 64
 Error
coding DeclarationOrder Constructor definition in wrong order. 278
 Error
javadoc JavadocStyle First sentence should end with a period. 282

org/apache/logging/log4j/util/SystemPropertiesPropertySource.java

Severity Category Rule Message Line
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 31

org/apache/logging/log4j/util/Timer.java

Severity Category Rule Message Line
 Error
blocks LeftCurly '{' at column 1 should be on the previous line. 28
 Error
javadoc JavadocType Missing a Javadoc comment. 32
 Error
javadoc JavadocVariable Missing a Javadoc comment. 33
 Error
javadoc JavadocVariable Missing a Javadoc comment. 33
 Error
javadoc JavadocVariable Missing a Javadoc comment. 33
 Error
coding DeclarationOrder Static variable definition in wrong order. 38
 Error
naming StaticVariableName Name 'NANO_PER_SECOND' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
 Error
coding MagicNumber '1000000000L' is a magic number. 38
 Error
coding DeclarationOrder Static variable definition in wrong order. 39
 Error
naming StaticVariableName Name 'NANO_PER_MINUTE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 39
 Error
coding MagicNumber '60' is a magic number. 39
 Error
coding DeclarationOrder Static variable definition in wrong order. 40
 Error
naming StaticVariableName Name 'NANO_PER_HOUR' must match pattern '^[a-z][a-zA-Z0-9]*$'. 40
 Error
coding MagicNumber '60' is a magic number. 40
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 53
 Error
javadoc JavadocMethod Expected @param tag for 'iterations'. 62
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 63
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 73
 Error
javadoc JavadocMethod Expected an @return tag. 90
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 91
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 102
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 112
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 122
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 132
 Error
coding MagicNumber '1000000' is a magic number. 133
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 142
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 152
 Error
javadoc JavadocStyle First sentence should end with a period. 156
 Error
blocks LeftCurly '{' at column 5 should be on the previous line. 161
 Error
coding MagicNumber '29' is a magic number. 275
 Error
coding MagicNumber '29' is a magic number. 277
 Error
coding MagicNumber '32' is a magic number. 277
 Error
coding MagicNumber '29' is a magic number. 278
 Error
coding MagicNumber '32' is a magic number. 278

org/apache/logging/log4j/util/Unbox.java

Severity Category Rule Message Line
 Error
design FinalClass Class Unbox should be declared as final. 48
 Error
coding MagicNumber '21' is a magic number. 74
 Error
javadoc JavadocType Missing a Javadoc comment. 99
 Error
coding MagicNumber '21' is a magic number. 104