Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files Info Warnings Errors
679089

Details

org/apache/logging/log4j/EventLogger.java

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.32

org/apache/logging/log4j/Level.java

SeverityCategoryRuleMessageLine
 ErrornamingConstantNameName 'levels' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.47
 ErrorcodingDeclarationOrderVariable access definition in wrong order.52
 ErrorcodingDeclarationOrderVariable access definition in wrong order.57
 ErrorcodingDeclarationOrderVariable access definition in wrong order.62
 ErrorcodingDeclarationOrderVariable access definition in wrong order.67
 ErrorcodingDeclarationOrderVariable access definition in wrong order.72
 ErrorcodingDeclarationOrderVariable access definition in wrong order.77
 ErrorcodingDeclarationOrderVariable access definition in wrong order.82
 ErrorcodingDeclarationOrderVariable access definition in wrong order.87
 ErrorcodingDeclarationOrderVariable access definition in wrong order.103
 ErrorjavadocJavadocStyleFirst sentence should end with a period.142
 ErrorcodingSuperCloneMethod 'clone' should call 'super.clone'.168

org/apache/logging/log4j/LogManager.java

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.54
 ErrorcodingDeclarationOrderVariable access definition in wrong order.61
 ErrorsizesLineLengthLine is longer than 120 characters (found 168).105
 ErrorsizesLineLengthLine is longer than 120 characters (found 164).119
 InfomiscTodoCommentComment matches to-do format 'TODO:'.159
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).319
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).351
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).416
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).436
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).465
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).478
 ErrorcodingDeclarationOrderConstructor definition in wrong order.532

org/apache/logging/log4j/MarkerManager.java

SeverityCategoryRuleMessageLine
 InfomiscTodoCommentComment matches to-do format 'TODO:'.130
 ErrorsizesLineLengthLine is longer than 120 characters (found 126).301
 ErrorwhitespaceWhitespaceAfter'cast' is not followed by whitespace.301

org/apache/logging/log4j/ThreadContext.java

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderConstructor definition in wrong order.250

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

SeverityCategoryRuleMessageLine
 ErrorsizesLineLengthLine is longer than 120 characters (found 128).219

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

SeverityCategoryRuleMessageLine
 ErrorwhitespaceNoWhitespaceAfter'{' is followed by whitespace.70

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.35

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.35

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.31
 ErrorcodingDeclarationOrderVariable access definition in wrong order.37
 ErrorcodingDeclarationOrderVariable access definition in wrong order.43
 ErrorcodingDeclarationOrderVariable access definition in wrong order.49

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

SeverityCategoryRuleMessageLine
 ErrorwhitespaceFileTabCharacterFile contains tab characters (this is the first instance).43
 ErrorregexpRegexpSinglelineLine has trailing spaces.126
 ErrorsizesLineLengthLine is longer than 120 characters (found 121).157

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.40
 ErrorcodingDeclarationOrderVariable access definition in wrong order.45
 ErrorcodingDeclarationOrderVariable access definition in wrong order.50
 ErrorcodingDeclarationOrderVariable access definition in wrong order.55
 ErrorcodingDeclarationOrderVariable access definition in wrong order.60
 ErrorcodingDeclarationOrderVariable access definition in wrong order.65
 ErrorsizesLineLengthLine is longer than 120 characters (found 122).70
 ErrorcodingDeclarationOrderVariable access definition in wrong order.70
 ErrorsizesLineLengthLine is longer than 120 characters (found 122).98
 ErrorcodingDeclarationOrderInstance variable definition in wrong order.103
 ErrorcodingDeclarationOrderInstance variable definition in wrong order.105
 ErrorcodingDeclarationOrderConstructor definition in wrong order.110
 ErrorcodingDeclarationOrderConstructor definition in wrong order.120
 ErrorcodingDeclarationOrderConstructor definition in wrong order.131

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

SeverityCategoryRuleMessageLine
 ErrorregexpRegexpSinglelineLine has trailing spaces.32
 ErrorcodingMagicNumber'1231' is a magic number.132
 ErrorcodingMagicNumber'1237' is a magic number.132
 ErrorregexpRegexpSinglelineLine has trailing spaces.155

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

SeverityCategoryRuleMessageLine
 ErrorsizesLineLengthLine is longer than 120 characters (found 136).29
 ErrornamingConstantNameName 'stack' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.36

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

SeverityCategoryRuleMessageLine
 ErrorregexpRegexpSinglelineLine has trailing spaces.117
 ErrorsizesLineLengthLine is longer than 120 characters (found 129).126

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.35
 ErrorcodingDeclarationOrderVariable access definition in wrong order.39
 ErrorcodingDeclarationOrderVariable access definition in wrong order.43

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.70
 ErrornamingConstantNameName 'levelSet' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.70

org/apache/logging/log4j/status/StatusLogger.java

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.51
 ErrorsizesLineLengthLine is longer than 120 characters (found 122).76
 ErrorblocksEmptyBlockEmpty catch block.160
 ErrorsizesLineLengthLine is longer than 120 characters (found 125).203

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

SeverityCategoryRuleMessageLine
 ErrorsizesLineLengthLine is longer than 120 characters (found 138).28

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

SeverityCategoryRuleMessageLine
 ErrorwhitespaceWhitespaceAround'{' is not followed by whitespace.36
 ErrorwhitespaceWhitespaceAround'}' is not preceded with whitespace.36
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.43
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.45
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.49
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.51
 ErrorcodingDeclarationOrderStatic variable definition in wrong order.53
 ErrorjavadocJavadocTypeMissing a Javadoc comment.89
 ErrorcodingMagicNumber'31' is a magic number.257

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderConstructor definition in wrong order.87

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

SeverityCategoryRuleMessageLine
 ErrorjavadocJavadocVariableMissing a Javadoc comment.52
 ErrorcodingDeclarationOrderVariable access definition in wrong order.52
 ErrorcodingDeclarationOrderVariable access definition in wrong order.59
 ErrornamingStaticVariableNameName 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'.62

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

SeverityCategoryRuleMessageLine
 ErrorcodingDeclarationOrderVariable access definition in wrong order.56
 ErrornamingConstantNameName 'JDK_7u25_OFFSET' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.56
 InfomiscTodoCommentComment matches to-do format 'TODO:'.111
 InfomiscTodoCommentComment matches to-do format 'TODO:'.127
 InfomiscTodoCommentComment matches to-do format 'TODO:'.131
 InfomiscTodoCommentComment matches to-do format 'TODO:'.139
 InfomiscTodoCommentComment matches to-do format 'TODO:'.210
 InfomiscTodoCommentComment matches to-do format 'TODO:'.221
 ErrorjavadocJavadocTypeMissing a Javadoc comment.292
 InfomiscTodoCommentComment matches to-do format 'TODO:'.310
 ErrorcodingDeclarationOrderConstructor definition in wrong order.330

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

SeverityCategoryRuleMessageLine
 ErrorheaderHeaderLine does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'.2