Apache logging services logo Apache log4j logo

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
61 3 0 260

Files

File  I  W  E
org/apache/logging/log4j/CloseableThreadContext.java 0 0 9
org/apache/logging/log4j/LogManager.java 1 0 1
org/apache/logging/log4j/Logger.java 0 0 30
org/apache/logging/log4j/MarkerManager.java 1 0 0
org/apache/logging/log4j/ThreadContext.java 0 0 1
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/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/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 13
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/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/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 3
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/ProcessIdUtil.java 0 0 3
org/apache/logging/log4j/util/PropertiesUtil.java 0 0 2
org/apache/logging/log4j/util/PropertySource.java 0 0 2
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 0
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 1
org/apache/logging/log4j/util/SystemPropertiesPropertySource.java 0 0 1
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/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

org/apache/logging/log4j/Logger.java

Severity Category Rule Message Line
 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). 1010
 Error sizes LineLength Line is longer than 120 characters (found 122). 1028
 Error sizes LineLength Line is longer than 120 characters (found 122). 1047
 Error sizes LineLength Line is longer than 120 characters (found 122). 1558
 Error sizes LineLength Line is longer than 120 characters (found 122). 1576
 Error sizes LineLength Line is longer than 120 characters (found 122). 1595
 Error javadoc JavadocMethod Expected @param tag for '<MF>'. 1743
 Error sizes LineLength Line is longer than 120 characters (found 121). 2111
 Error sizes LineLength Line is longer than 120 characters (found 121). 2129
 Error sizes LineLength Line is longer than 120 characters (found 121). 2148
 Error sizes LineLength Line is longer than 120 characters (found 121). 2448
 Error sizes LineLength Line is longer than 120 characters (found 121). 2592
 Error sizes LineLength Line is longer than 120 characters (found 123). 2752
 Error sizes LineLength Line is longer than 120 characters (found 122). 2768
 Error sizes LineLength Line is longer than 120 characters (found 133). 2786
 Error sizes LineLength Line is longer than 120 characters (found 133). 2805
 Error sizes LineLength Line is longer than 120 characters (found 133). 2825
 Error sizes LineLength Line is longer than 120 characters (found 130). 2926
 Error sizes LineLength Line is longer than 120 characters (found 129). 2943
 Error sizes LineLength Line is longer than 120 characters (found 129). 2962
 Error sizes LineLength Line is longer than 120 characters (found 122). 3376
 Error sizes LineLength Line is longer than 120 characters (found 122). 3394
 Error sizes LineLength Line is longer than 120 characters (found 122). 3413
 Error sizes LineLength Line is longer than 120 characters (found 121). 4085
 Error sizes LineLength Line is longer than 120 characters (found 121). 4103
 Error sizes LineLength Line is longer than 120 characters (found 121). 4122

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

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/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/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. 120
 Error coding HiddenField 'argCount' hides a field. 120
 Error coding HiddenField 'params' hides a field. 138
 Error coding HiddenField 'argCount' hides a field. 138
 Error coding HiddenField 'messagePattern' hides a field. 146
 Error coding HiddenField 'messagePattern' hides a field. 152
 Error coding HiddenField 'messagePattern' hides a field. 158
 Error coding HiddenField 'messagePattern' hides a field. 165
 Error sizes LineLength Line is longer than 120 characters (found 135). 173
 Error coding HiddenField 'messagePattern' hides a field. 173
 Error sizes LineLength Line is longer than 120 characters (found 152). 182
 Error coding HiddenField 'messagePattern' hides a field. 182
 Error sizes LineLength Line is longer than 120 characters (found 169). 192
 Error coding HiddenField 'messagePattern' hides a field. 192
 Error sizes LineLength Line is longer than 120 characters (found 167). 203
 Error coding HiddenField 'messagePattern' hides a field. 203
 Error sizes LineLength Line is longer than 120 characters (found 167). 216
 Error coding HiddenField 'messagePattern' hides a field. 216
 Error coding MagicNumber '8' is a magic number. 226
 Error sizes LineLength Line is longer than 120 characters (found 167). 230
 Error coding HiddenField 'messagePattern' hides a field. 230
 Error coding MagicNumber '8' is a magic number. 240
 Error coding MagicNumber '9' is a magic number. 241
 Error sizes LineLength Line is longer than 120 characters (found 167). 245
 Error coding HiddenField 'messagePattern' hides a field. 245
 Error coding MagicNumber '8' is a magic number. 255
 Error coding MagicNumber '9' is a magic number. 256
 Error coding MagicNumber '10' is a magic number. 257

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'. 99

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. 104
 Error coding DeclarationOrder Static variable definition in wrong order. 107
 Error sizes LineLength Line is longer than 120 characters (found 136). 210
 Error sizes LineLength Line is longer than 120 characters (found 130). 1783
 Error sizes LineLength Line is longer than 120 characters (found 128). 1788
 Error sizes LineLength Line is longer than 120 characters (found 128). 1794
 Error sizes LineLength Line is longer than 120 characters (found 128). 1800
 Error sizes LineLength Line is longer than 120 characters (found 128). 1806
 Error sizes LineLength Line is longer than 120 characters (found 128). 1812
 Error sizes LineLength Line is longer than 120 characters (found 128). 1818
 Error sizes LineLength Line is longer than 120 characters (found 135). 2522
 Error sizes LineLength Line is longer than 120 characters (found 135). 2530
 Error sizes LineLength Line is longer than 120 characters (found 135). 2539

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/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/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 javadoc JavadocMethod Expected @param tag for '<T>'. 180
 Error javadoc JavadocMethod Expected @param tag for '<T>'. 203
 Error regexp RegexpSingleline Line has trailing spaces. 282

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/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). 198
 Error design FinalClass Class Environment should be declared as final. 310

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

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

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 naming StaticVariableName Name 'SECURITY_MANAGER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49

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

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

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

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

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 javadoc JavadocStyle First sentence should end with a period. 140

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/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