Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
138 3 0 340

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 32
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 8
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/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 2
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 18
org/apache/logging/log4j/spi/AbstractLoggerAdapter.java 0 0 2
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/LoggerContextKey.java 0 0 1
org/apache/logging/log4j/spi/LoggerRegistry.java 0 0 1
org/apache/logging/log4j/spi/MutableThreadContextStack.java 0 0 2
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 2
org/apache/logging/log4j/util/Chars.java 0 0 8
org/apache/logging/log4j/util/Constants.java 0 0 2
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 6
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 9
org/apache/logging/log4j/util/StackLocator.java 0 0 1
org/apache/logging/log4j/util/StackLocatorUtil.java 1 0 1
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 2
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). 96
 Info
misc TodoComment Comment matches to-do format 'TODO:'. 172
 Error
sizes LineLength Line is longer than 120 characters (found 122). 352

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 122). 456
 Error
sizes LineLength Line is longer than 120 characters (found 122). 474
 Error
sizes LineLength Line is longer than 120 characters (found 122). 493
 Error
sizes LineLength Line is longer than 120 characters (found 124). 632
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1012
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1030
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1049
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1560
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1578
 Error
sizes LineLength Line is longer than 120 characters (found 122). 1597
 Error
javadoc JavadocMethod Expected @param tag for '<MF>'. 1745
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2113
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2131
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2150
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2450
 Error
sizes LineLength Line is longer than 120 characters (found 121). 2594
 Error
sizes LineLength Line is longer than 120 characters (found 123). 2754
 Error
sizes LineLength Line is longer than 120 characters (found 122). 2770
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2788
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2807
 Error
sizes LineLength Line is longer than 120 characters (found 133). 2827
 Error
sizes LineLength Line is longer than 120 characters (found 130). 2928
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2945
 Error
sizes LineLength Line is longer than 120 characters (found 129). 2964
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3378
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3396
 Error
sizes LineLength Line is longer than 120 characters (found 122). 3415
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4091
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4109
 Error
sizes LineLength Line is longer than 120 characters (found 121). 4128
 Error
javadoc JavadocMethod Expected @param tag for 'level'. 4336

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. 260

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

Severity Category Rule Message Line
 Error
javadoc JavadocPackage Missing package-info.java file.
 Error
imports UnusedImports Unused import - java.io.Serializable. 19
 Error
naming StaticVariableName Name 'EMPTY_MESSAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 38
 Error
coding HiddenField 'level' hides a field. 68
 Error
coding HiddenField 'marker' hides a field. 77
 Error
coding HiddenField 'throwable' hides a field. 82
 Error
coding HiddenField 'location' hides a field. 92
 Error
whitespace NoWhitespaceBefore ';' is preceded with whitespace. 235

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. 53
 Error
javadoc JavadocType Missing a Javadoc comment. 107
 Error
javadoc JavadocType Missing a Javadoc comment. 117
 Error
sizes LineLength Line is longer than 120 characters (found 125). 188
 Error
sizes LineLength Line is longer than 120 characters (found 143). 198
 Error
sizes LineLength Line is longer than 120 characters (found 138). 208

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). 81
 Error
sizes LineLength Line is longer than 120 characters (found 138). 89
 Error
sizes LineLength Line is longer than 120 characters (found 155). 97
 Error
sizes LineLength Line is longer than 120 characters (found 153). 105
 Error
sizes LineLength Line is longer than 120 characters (found 153). 114
 Error
sizes LineLength Line is longer than 120 characters (found 153). 123
 Error
sizes LineLength Line is longer than 120 characters (found 153). 132

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). 79
 Error
sizes LineLength Line is longer than 120 characters (found 138). 87
 Error
sizes LineLength Line is longer than 120 characters (found 155). 95
 Error
sizes LineLength Line is longer than 120 characters (found 153). 103
 Error
sizes LineLength Line is longer than 120 characters (found 153). 112
 Error
sizes LineLength Line is longer than 120 characters (found 153). 121
 Error
sizes LineLength Line is longer than 120 characters (found 153). 130

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/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). 94
 Error
sizes LineLength Line is longer than 120 characters (found 138). 102
 Error
sizes LineLength Line is longer than 120 characters (found 155). 110
 Error
sizes LineLength Line is longer than 120 characters (found 153). 118
 Error
sizes LineLength Line is longer than 120 characters (found 153). 127
 Error
sizes LineLength Line is longer than 120 characters (found 153). 136
 Error
sizes LineLength Line is longer than 120 characters (found 153). 145

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. 89

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. 124
 Error
coding HiddenField 'argCount' hides a field. 124
 Error
coding HiddenField 'params' hides a field. 142
 Error
coding HiddenField 'argCount' hides a field. 142
 Error
coding HiddenField 'messagePattern' hides a field. 150
 Error
coding HiddenField 'messagePattern' hides a field. 156
 Error
coding HiddenField 'messagePattern' hides a field. 162
 Error
coding HiddenField 'messagePattern' hides a field. 169
 Error
sizes LineLength Line is longer than 120 characters (found 135). 177
 Error
coding HiddenField 'messagePattern' hides a field. 177
 Error
sizes LineLength Line is longer than 120 characters (found 152). 186
 Error
coding HiddenField 'messagePattern' hides a field. 186
 Error
sizes LineLength Line is longer than 120 characters (found 169). 196
 Error
coding HiddenField 'messagePattern' hides a field. 196
 Error
sizes LineLength Line is longer than 120 characters (found 167). 207
 Error
coding HiddenField 'messagePattern' hides a field. 207
 Error
sizes LineLength Line is longer than 120 characters (found 167). 220
 Error
coding HiddenField 'messagePattern' hides a field. 220
 Error
coding MagicNumber '8' is a magic number. 230
 Error
sizes LineLength Line is longer than 120 characters (found 167). 234
 Error
coding HiddenField 'messagePattern' hides a field. 234
 Error
coding MagicNumber '8' is a magic number. 244
 Error
coding MagicNumber '9' is a magic number. 245
 Error
sizes LineLength Line is longer than 120 characters (found 167). 249
 Error
coding HiddenField 'messagePattern' hides a field. 249
 Error
coding MagicNumber '8' is a magic number. 259
 Error
coding MagicNumber '9' is a magic number. 260
 Error
coding MagicNumber '10' is a magic number. 261

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

Severity Category Rule Message Line
 Error
naming StaticVariableName Name 'EMPTY_PARAMS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 28
 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). 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/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
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 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 135). 2558
 Error
sizes LineLength Line is longer than 120 characters (found 135). 2566
 Error
sizes LineLength Line is longer than 120 characters (found 135). 2575
 Error
whitespace ParenPad '(' is followed by whitespace. 2928
 Error
whitespace ParenPad ')' is preceded with whitespace. 2928
 Error
javadoc JavadocType Missing a Javadoc comment. 2938

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

Severity Category Rule Message Line
 Error
imports UnusedImports Unused import - java.util.WeakHashMap. 22
 Error
javadoc JavadocMethod Expected an @return tag. 100

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. 26
 Error
coding DeclarationOrder Instance variable definition in wrong order. 75
 Error
coding DeclarationOrder Constructor definition in wrong order. 77
 Error
modifier RedundantModifier Redundant 'public' modifier. 77

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. 25
 Error
coding DeclarationOrder Variable access definition in wrong order. 41
 Error
coding DeclarationOrder Static variable definition in wrong order. 46
 Error
coding DeclarationOrder Constructor definition in wrong order. 73
 Error
coding DeclarationOrder Constructor definition in wrong order. 77

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. 25
 Error
coding DeclarationOrder Static variable definition in wrong order. 57
 Error
coding DeclarationOrder Static variable definition in wrong order. 58
 Error
coding DeclarationOrder Constructor definition in wrong order. 74
 Error
modifier RedundantModifier Redundant 'public' modifier. 74

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/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. 27
 Error
javadoc JavadocMethod Expected @param tag for 'list'. 51

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
imports UnusedImports Unused import - org.apache.logging.log4j.status.StatusLogger. 22
 Error
whitespace NoWhitespaceAfter 'byte' is followed by whitespace. 57

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. 43
 Error
coding DeclarationOrder Constructor definition in wrong order. 88

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
design FinalClass Class Environment should be declared as final. 422
 Error
whitespace FileTabCharacter File contains tab characters (this is the first instance). 444
 Error
sizes LineLength Line is longer than 120 characters (found 131). 446
 Error
sizes LineLength Line is longer than 120 characters (found 123). 450
 Error
javadoc JavadocType Missing a Javadoc comment. 581

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
coding DeclarationOrder Static variable definition in wrong order. 91
 Error
naming ConstantName Name 'setObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 91
 Error
coding DeclarationOrder Static variable definition in wrong order. 92
 Error
naming ConstantName Name 'getObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 92
 Error
coding DeclarationOrder Static variable definition in wrong order. 93
 Error
naming ConstantName Name 'newObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 93
 Error
coding MagicNumber '37' is a magic number. 471
 Error
naming LocalFinalVariableName Name 'BITS_PER_INT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 586
 Error
sizes LineLength Line is longer than 120 characters (found 156). 596

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

Severity Category Rule Message Line
 Error
imports UnusedImports Unused import - org.apache.logging.log4j.LogBuilder. 22

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

Severity Category Rule Message Line
 Error
imports UnusedImports Unused import - org.apache.logging.log4j.LogBuilder. 22
 Info
misc TodoComment Comment matches to-do format 'TODO:'. 39

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
coding DeclarationOrder Constructor definition in wrong order. 262
 Error
javadoc JavadocStyle First sentence should end with a period. 266

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