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.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
140 | 3 | 0 | 387 |
Files
Details
org/apache/logging/log4j/CloseableThreadContext.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | FinalClass | Class CloseableThreadContext should be declared as final. | 37 |
![]() |
design | FinalClass | Class Instance should be declared as final. | 103 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 103 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 112 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 125 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 140 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 158 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 142). | 197 |
![]() |
whitespace | EmptyForIteratorPad | ';' is followed by whitespace. | 207 |
org/apache/logging/log4j/LogBuilder.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 29 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 29 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 29 |
org/apache/logging/log4j/LogManager.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 131). | 97 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 174 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 354 |
org/apache/logging/log4j/Logger.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 72 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 129 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 227 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 263 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 458 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 476 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 495 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 634 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 685 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 783 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 819 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1014 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1032 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1051 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 1233 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1331 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 1367 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1562 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1580 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1599 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<MF>'. | 1747 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 1786 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1884 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 1920 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 2115 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 2133 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 2152 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 127). | 2431 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 129). | 2452 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 2472 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 2514 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 2577 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 129). | 2596 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 2614 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 124). | 2652 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 2756 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 2772 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 133). | 2790 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 133). | 2809 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 133). | 2829 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 130). | 2930 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 129). | 2947 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 129). | 2966 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 3046 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 3147 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 3183 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 3381 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 3399 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 3418 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 125). | 3761 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 3859 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 125). | 3895 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 4090 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 4108 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 4127 |
org/apache/logging/log4j/MarkerManager.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 145 |
org/apache/logging/log4j/ThreadContext.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'org.apache.logging.log4j.spi.CleanableThreadContextMap' import. | 36 |
![]() |
whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 261 |
org/apache/logging/log4j/internal/DefaultLogBuilder.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | StaticVariableName | Name 'EMPTY_MESSAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 36 |
![]() |
coding | HiddenField | 'level' hides a field. | 66 |
![]() |
coding | HiddenField | 'marker' hides a field. | 76 |
![]() |
coding | HiddenField | 'throwable' hides a field. | 82 |
![]() |
coding | HiddenField | 'location' hides a field. | 94 |
![]() |
whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 244 |
org/apache/logging/log4j/internal/LogManagerStatus.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 19 |
![]() |
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 |
---|---|---|---|---|
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 67 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 75 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 83 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 90 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 91 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 98 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 99 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 106 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 107 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 114 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 116 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 123 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 125 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 132 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 134 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 141 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 143 |
org/apache/logging/log4j/message/AsynchronouslyFormattable.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 41 |
org/apache/logging/log4j/message/DefaultFlowMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 52 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 106 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 116 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 125). | 187 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 143). | 197 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 207 |
org/apache/logging/log4j/message/EntryMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 19 |
org/apache/logging/log4j/message/ExitMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 19 |
org/apache/logging/log4j/message/FlowMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 19 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 33 |
org/apache/logging/log4j/message/FormattedMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 55 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 67 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 132). | 89 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 102 |
![]() |
whitespace | NoWhitespaceAfter | '{' is followed by whitespace. | 112 |
org/apache/logging/log4j/message/FormattedMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 80 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 88 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 96 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 104 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 113 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 122 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 131 |
org/apache/logging/log4j/message/LocalizedMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for 'bundle'. | 108 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'key'. | 108 |
org/apache/logging/log4j/message/LocalizedMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | ModifierOrder | 'final' modifier out of order with the JLS suggestions. | 35 |
org/apache/logging/log4j/message/MapMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 204 |
org/apache/logging/log4j/message/MapMessageJsonFormatter.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'java.math.BigDecimal' import. | 24 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 48 |
![]() |
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 |
![]() |
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 |
![]() |
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 |
![]() |
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 |
![]() |
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 |
![]() |
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 |
---|---|---|---|---|
![]() |
imports | ImportOrder | 'org.apache.logging.log4j.util.StringBuilderFormattable' should be separated from previous imports. | 20 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 46 |
org/apache/logging/log4j/message/MessageFormatMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 78 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 86 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 94 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 102 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 111 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 120 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 129 |
org/apache/logging/log4j/message/ParameterConsumer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for 'state'. | 40 |
org/apache/logging/log4j/message/ParameterFormatter.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'java.text.SimpleDateFormat' import. | 21 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 125). | 433 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 436 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 132). | 437 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 441 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 125). | 455 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 460 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 132). | 461 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 465 |
org/apache/logging/log4j/message/ParameterizedMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 41 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 45 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 50 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 55 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 60 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 65 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 145 |
org/apache/logging/log4j/message/ParameterizedMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 93 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 101 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 109 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 117 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 126 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 135 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 144 |
org/apache/logging/log4j/message/ParameterizedNoReferenceMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 53 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 88 |
org/apache/logging/log4j/message/ReusableObjectMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | MagicNumber | '10' is a magic number. | 107 |
org/apache/logging/log4j/message/ReusableParameterizedMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | MagicNumber | '256' is a magic number. | 43 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 47 |
![]() |
design | VisibilityModifier | Variable 'reserved' must be private and have accessor methods. | 47 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 122 |
![]() |
coding | HiddenField | 'argCount' hides a field. | 122 |
![]() |
coding | HiddenField | 'params' hides a field. | 140 |
![]() |
coding | HiddenField | 'argCount' hides a field. | 140 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 148 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 154 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 160 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 167 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 135). | 175 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 175 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 152). | 184 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 184 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 169). | 194 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 194 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 167). | 205 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 205 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 167). | 218 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 218 |
![]() |
coding | MagicNumber | '8' is a magic number. | 228 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 167). | 232 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 232 |
![]() |
coding | MagicNumber | '8' is a magic number. | 242 |
![]() |
coding | MagicNumber | '9' is a magic number. | 243 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 167). | 247 |
![]() |
coding | HiddenField | 'messagePattern' hides a field. | 247 |
![]() |
coding | MagicNumber | '8' is a magic number. | 257 |
![]() |
coding | MagicNumber | '9' is a magic number. | 258 |
![]() |
coding | MagicNumber | '10' is a magic number. | 259 |
org/apache/logging/log4j/message/ReusableSimpleMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | HiddenField | 'charSequence' hides a field. | 35 |
org/apache/logging/log4j/message/SimpleMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'java.io.IOException' import. | 21 |
![]() |
whitespace | NoWhitespaceBefore | ';' is preceded with whitespace. | 65 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 70 |
org/apache/logging/log4j/message/SimpleMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 92 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 100 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 108 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 116 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 125 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 134 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 143 |
org/apache/logging/log4j/message/StringFormatterMessageFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 121). | 92 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 138). | 100 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 108 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 116 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 125 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 134 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 153). | 143 |
org/apache/logging/log4j/message/StructuredDataId.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for 'name'. | 86 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'required'. | 86 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'optional'. | 86 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'maxLength'. | 98 |
org/apache/logging/log4j/message/ThreadDumpMessage.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | StaticVariableName | Name 'FACTORY' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 38 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 73 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 129). | 174 |
![]() |
modifier | RedundantModifier | Redundant 'static' modifier. | 176 |
org/apache/logging/log4j/simple/SimpleLoggerContext.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 41 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 44 |
org/apache/logging/log4j/spi/AbstractLogger.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 110 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 113 |
![]() |
naming | ConstantName | Name 'recursionDepthHolder' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. | 113 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 114 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 114 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 136). | 219 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 1686 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 127). | 1701 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 130). | 1792 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1797 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1803 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1809 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1815 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1821 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 128). | 1827 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 1865 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 2006 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 135). | 2560 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 135). | 2568 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 135). | 2577 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 2929 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 2929 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 2939 |
org/apache/logging/log4j/spi/AbstractLoggerAdapter.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 99 |
org/apache/logging/log4j/spi/CopyOnWriteSortedArrayThreadContextMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. | 27 |
![]() |
coding | DeclarationOrder | Instance variable definition in wrong order. | 76 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 78 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 78 |
org/apache/logging/log4j/spi/DefaultThreadContextMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. | 26 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 42 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 47 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 74 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 78 |
org/apache/logging/log4j/spi/GarbageFreeSortedArrayThreadContextMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | ImportOrder | Wrong order for 'org.apache.logging.log4j.util.PropertiesUtil' import. | 26 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 58 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 59 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 75 |
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 75 |
org/apache/logging/log4j/spi/LoggerContext.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 37 |
org/apache/logging/log4j/spi/LoggerContextFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 100 |
org/apache/logging/log4j/spi/LoggerContextKey.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
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 |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Type Javadoc comment is missing an @param <T> tag. | 32 |
org/apache/logging/log4j/spi/MutableThreadContextStack.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 28 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'list'. | 52 |
![]() |
coding | MagicNumber | '31' is a magic number. | 215 |
org/apache/logging/log4j/spi/ObjectThreadContextMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for '<V>'. | 37 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<V>'. | 45 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<V>'. | 52 |
org/apache/logging/log4j/spi/Provider.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 165). | 239 |
![]() |
coding | MagicNumber | '31' is a magic number. | 248 |
![]() |
coding | MagicNumber | '31' is a magic number. | 249 |
![]() |
coding | MagicNumber | '31' is a magic number. | 250 |
org/apache/logging/log4j/spi/ThreadContextMapFactory.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | StaticVariableName | Name 'GcFreeThreadContextKey' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 53 |
![]() |
naming | StaticVariableName | Name 'ThreadContextMapName' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 54 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 81 |
org/apache/logging/log4j/util/Activator.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 155). | 72 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 136). | 105 |
org/apache/logging/log4j/util/Base64Util.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | NoWhitespaceAfter | 'byte' is followed by whitespace. | 56 |
org/apache/logging/log4j/util/Chars.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 37 |
![]() |
coding | MagicNumber | '16' is a magic number. | 55 |
![]() |
coding | MagicNumber | '10' is a magic number. | 58 |
![]() |
coding | MagicNumber | '16' is a magic number. | 68 |
![]() |
coding | MagicNumber | '10' is a magic number. | 71 |
![]() |
coding | MagicNumber | '10' is a magic number. | 79 |
![]() |
coding | MagicNumber | '10' is a magic number. | 83 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 86 |
org/apache/logging/log4j/util/Constants.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 44 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 147). | 60 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 89 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 94 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 99 |
org/apache/logging/log4j/util/EnvironmentPropertySource.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 32 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 137). | 48 |
org/apache/logging/log4j/util/IndexedReadOnlyStringMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for '<V>'. | 49 |
org/apache/logging/log4j/util/LambdaUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for 'messageFactory'. | 87 |
org/apache/logging/log4j/util/LoaderUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 115 |
![]() |
blocks | EmptyBlock | Empty catch block. | 169 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 184 |
![]() |
javadoc | JavadocMethod | Expected @param tag for '<T>'. | 207 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 286 |
org/apache/logging/log4j/util/LowLevelLogUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 26 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 77 |
org/apache/logging/log4j/util/PerformanceSensitive.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 36 |
org/apache/logging/log4j/util/PrivateSecurityManagerStackTraceUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 63 |
org/apache/logging/log4j/util/ProcessIdUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 26 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 126). | 32 |
org/apache/logging/log4j/util/PropertiesUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 122). | 221 |
![]() |
blocks | EmptyBlock | Empty catch block. | 228 |
![]() |
blocks | EmptyBlock | Empty catch block. | 284 |
![]() |
design | FinalClass | Class Environment should be declared as final. | 420 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 439 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 131). | 441 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 445 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 573 |
org/apache/logging/log4j/util/PropertySource.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 123). | 104 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 152 |
org/apache/logging/log4j/util/ProviderUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 103 |
org/apache/logging/log4j/util/ReadOnlyStringMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocMethod | Expected @param tag for '<V>'. | 93 |
org/apache/logging/log4j/util/SortedArrayStringMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 120 characters (found 136). | 70 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 86 |
![]() |
naming | ConstantName | Name 'setObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. | 86 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 87 |
![]() |
naming | ConstantName | Name 'getObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. | 87 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 88 |
![]() |
naming | ConstantName | Name 'newObjectInputFilter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. | 88 |
![]() |
coding | MagicNumber | '37' is a magic number. | 466 |
![]() |
naming | LocalFinalVariableName | Name 'BITS_PER_INT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 581 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 156). | 591 |
org/apache/logging/log4j/util/StackLocatorUtil.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 39 |
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 56 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'fqcn'. | 57 |
org/apache/logging/log4j/util/StringBuilders.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
coding | MagicNumber | '0xF' is a magic number. | 227 |
![]() |
coding | MagicNumber | '0xF0' is a magic number. | 228 |
org/apache/logging/log4j/util/StringMap.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. |
org/apache/logging/log4j/util/Strings.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
naming | ConstantName | Name 'tempStr' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. | 30 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 35 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 40 |
![]() |
coding | DeclarationOrder | Variable access definition in wrong order. | 46 |
![]() |
sizes | LineLength | Line is longer than 120 characters (found 127). | 64 |
![]() |
coding | DeclarationOrder | Constructor definition in wrong order. | 278 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 282 |
org/apache/logging/log4j/util/SystemPropertiesPropertySource.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 31 |
org/apache/logging/log4j/util/Timer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | LeftCurly | '{' at column 1 should be on the previous line. | 28 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 33 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 38 |
![]() |
naming | StaticVariableName | Name 'NANO_PER_SECOND' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 38 |
![]() |
coding | MagicNumber | '1000000000L' is a magic number. | 38 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 39 |
![]() |
naming | StaticVariableName | Name 'NANO_PER_MINUTE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 39 |
![]() |
coding | MagicNumber | '60' is a magic number. | 39 |
![]() |
coding | DeclarationOrder | Static variable definition in wrong order. | 40 |
![]() |
naming | StaticVariableName | Name 'NANO_PER_HOUR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 40 |
![]() |
coding | MagicNumber | '60' is a magic number. | 40 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 53 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'iterations'. | 62 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 63 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 73 |
![]() |
javadoc | JavadocMethod | Expected an @return tag. | 90 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 91 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 102 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 112 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 122 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 132 |
![]() |
coding | MagicNumber | '1000000' is a magic number. | 133 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 142 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 152 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 156 |
![]() |
blocks | LeftCurly | '{' at column 5 should be on the previous line. | 161 |
![]() |
coding | MagicNumber | '29' is a magic number. | 275 |
![]() |
coding | MagicNumber | '29' is a magic number. | 277 |
![]() |
coding | MagicNumber | '32' is a magic number. | 277 |
![]() |
coding | MagicNumber | '29' is a magic number. | 278 |
![]() |
coding | MagicNumber | '32' is a magic number. | 278 |
org/apache/logging/log4j/util/Unbox.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | FinalClass | Class Unbox should be declared as final. | 48 |
![]() |
coding | MagicNumber | '21' is a magic number. | 74 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 99 |
![]() |
coding | MagicNumber | '21' is a magic number. | 104 |