Apache logging services logo Apache log4j logo

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
140088

Details

org/apache/logging/log4j/perf/jmh/AsyncLoggersBenchmark.java

ViolationMessageLine
Errors'static' modifier out of order with the JLS suggestions.53
Errors'500' is a magic number.53
Errors'static' modifier out of order with the JLS suggestions.57
ErrorsVariable 'logger' must be private and have accessor methods.59

org/apache/logging/log4j/perf/jmh/ClocksBenchmark.java

ViolationMessageLine
ErrorsVariable 'systemClock' must be private and have accessor methods.52
ErrorsVariable 'cachedClock' must be private and have accessor methods.53
ErrorsVariable 'coarseCachedClock' must be private and have accessor methods.54
ErrorsVariable 'fixedClock' must be private and have accessor methods.55
ErrorsVariable 'fixedFinalClock' must be private and have accessor methods.56
ErrorsMissing a Javadoc comment.114
ErrorsMissing a Javadoc comment.127

org/apache/logging/log4j/perf/jmh/ConfiguratorInitializeBenchmark.java

ViolationMessageLine
ErrorsName 'inlineConfigurationXML' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.44

org/apache/logging/log4j/perf/jmh/DebugDisabledBenchmark.java

ViolationMessageLine
ErrorsVariable 'log4jLogger' must be private and have accessor methods.39
ErrorsVariable 'slf4jLogger' must be private and have accessor methods.40
ErrorsVariable 'log4jClassicLogger' must be private and have accessor methods.41
ErrorsVariable 'j' must be private and have accessor methods.42

org/apache/logging/log4j/perf/jmh/FormatterLoggerBenchmark.java

ViolationMessageLine
ErrorsVariable 'logger' must be private and have accessor methods.50
ErrorsVariable 'formatterLogger' must be private and have accessor methods.51

org/apache/logging/log4j/perf/jmh/Log4j1AsyncAppenderBenchmark.java

ViolationMessageLine
Errors'static' modifier out of order with the JLS suggestions.51
Errors'500' is a magic number.51
Errors'static' modifier out of order with the JLS suggestions.55
ErrorsMissing a Javadoc comment.57
ErrorsVariable 'logger' must be private and have accessor methods.59

org/apache/logging/log4j/perf/jmh/Log4j2AsyncAppenderBenchmark.java

ViolationMessageLine
Errors'static' modifier out of order with the JLS suggestions.51
Errors'500' is a magic number.51
Errors'static' modifier out of order with the JLS suggestions.55
ErrorsMissing a Javadoc comment.57
ErrorsVariable 'logger' must be private and have accessor methods.59

org/apache/logging/log4j/perf/jmh/Log4jLogEventBenchmark.java

ViolationMessageLine
ErrorsWrong order for 'java.io.Serializable' import.30
ErrorsMissing a Javadoc comment.32
ErrorsName 'MESSAGE' must match pattern '^[a-z][a-zA-Z0-9]*$'.34
ErrorsName 'ERROR' must match pattern '^[a-z][a-zA-Z0-9]*$'.35

org/apache/logging/log4j/perf/jmh/LogbackAsyncAppenderBenchmark.java

ViolationMessageLine
Errors'static' modifier out of order with the JLS suggestions.53
Errors'500' is a magic number.53
Errors'static' modifier out of order with the JLS suggestions.57
ErrorsMissing a Javadoc comment.59
ErrorsVariable 'logger' must be private and have accessor methods.61

org/apache/logging/log4j/perf/jmh/ReflectionBenchmark.java

ViolationMessageLine
Errors'sun.reflect.Reflection' should be separated from previous imports.28
ErrorsDisallowed import - sun.reflect.Reflection.28
ErrorsImport from illegal package - sun.reflect.Reflection.28
ErrorsWrong order for 'java.lang.reflect.Constructor' import.30
ErrorsMissing a Javadoc comment.47
ErrorsVariable access definition in wrong order.52
ErrorsVariable 'random' must be private and have accessor methods.52

org/apache/logging/log4j/perf/jmh/SimpleBenchmark.java

ViolationMessageLine
ErrorsName 'msg' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'.49

org/apache/logging/log4j/perf/jmh/TimeFormatBenchmark.java

ViolationMessageLine
ErrorsVariable 'simpleDateFormat' must be private and have accessor methods.51
ErrorsVariable 'midnightToday' must be private and have accessor methods.52
ErrorsVariable 'midnightTomorrow' must be private and have accessor methods.53
ErrorsMissing a Javadoc comment.55
ErrorsVariable 'buffer' must be private and have accessor methods.57
Errors'12' is a magic number.57
Errors'9773437L' is a magic number.154
Errors'38' is a magic number.154
Errors'3600000' is a magic number.155
Errors'2290650L' is a magic number.157
Errors'32' is a magic number.157
Errors'60000' is a magic number.158
Errors'67109' is a magic number.160
Errors'23' is a magic number.160
Errors'1000' is a magic number.161
Errors'13' is a magic number.165
Errors'10' is a magic number.169
Errors'13' is a magic number.174
Errors'10' is a magic number.178
Errors'13' is a magic number.183
Errors'10' is a magic number.185
Errors'41' is a magic number.190
Errors'12' is a magic number.190
Errors'100' is a magic number.193
Errors'205' is a magic number.194
Errors'11' is a magic number.194
Errors'10' is a magic number.197
Errors'3600000' is a magic number.210
Errors'3600000' is a magic number.211
Errors'60000' is a magic number.213
Errors'60000' is a magic number.214
Errors'1000' is a magic number.216
Errors'1000' is a magic number.217
Errors'10' is a magic number.220
Errors'10' is a magic number.224
Errors'10' is a magic number.228
Errors'10' is a magic number.232
Errors'10' is a magic number.236
Errors'10' is a magic number.238
Errors'100' is a magic number.242
Errors'100' is a magic number.245
Errors'10' is a magic number.246
Errors'10' is a magic number.249