Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 0 225

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
coding HiddenField 23  Error
MagicNumber 6  Error
SimplifyBooleanExpression 2  Error
design DesignForExtension 23  Error
HideUtilityClassConstructor 1  Error
VisibilityModifier 1  Error
javadoc JavadocMethod 23  Error
JavadocPackage 2  Error
JavadocStyle 24  Error
JavadocType 3  Error
JavadocVariable 10  Error
misc FinalParameters 41  Error
naming ConstantName 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
31  Error
sizes LineLength 29  Error
whitespace ParenPad 2  Error

Details

org/apache/streams/config/ComponentConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 22
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error sizes LineLength Line is longer than 80 characters (found 94). 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error sizes LineLength Line is longer than 80 characters (found 95). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error sizes LineLength Line is longer than 80 characters (found 85). 38
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error misc FinalParameters Parameter inClasses should be final. 56
 Error coding HiddenField 'inClasses' hides a field. 56
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'withInClasses' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'withInClasses' static/final/abstract/empty, or adding allowed annotation for the method. 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error misc FinalParameters Parameter inClasses should be final. 60
 Error coding HiddenField 'inClasses' hides a field. 60
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error misc FinalParameters Parameter outClasses should be final. 81
 Error coding HiddenField 'outClasses' hides a field. 81
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'withOutClasses' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'withOutClasses' static/final/abstract/empty, or adding allowed annotation for the method. 85
 Error javadoc JavadocMethod Missing a Javadoc comment. 85
 Error misc FinalParameters Parameter outClasses should be final. 85
 Error coding HiddenField 'outClasses' hides a field. 85
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. 90
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. 95
 Error javadoc JavadocMethod Missing a Javadoc comment. 95
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 100
 Error javadoc JavadocMethod Missing a Javadoc comment. 100
 Error misc FinalParameters Parameter name should be final. 101
 Error misc FinalParameters Parameter value should be final. 101
 Error sizes LineLength Line is longer than 80 characters (found 85). 105
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 105
 Error javadoc JavadocMethod Missing a Javadoc comment. 105
 Error misc FinalParameters Parameter name should be final. 105
 Error misc FinalParameters Parameter value should be final. 105
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. 110
 Error sizes LineLength Line is longer than 80 characters (found 116). 112
 Error design DesignForExtension Class 'ComponentConfiguration' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ComponentConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 115
 Error misc FinalParameters Parameter other should be final. 116
 Error coding SimplifyBooleanExpression Expression can be simplified. 120
 Error sizes LineLength Line is longer than 80 characters (found 169). 124

org/apache/streams/config/ComponentConfigurator.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 116). 30
 Error sizes LineLength Line is longer than 80 characters (found 113). 33
 Error sizes LineLength Line is longer than 80 characters (found 104). 36
 Error javadoc JavadocType Type Javadoc comment is missing an @param <T> tag. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 46
 Error misc FinalParameters Parameter configClass should be final. 46
 Error coding HiddenField 'configClass' hides a field. 46
 Error sizes LineLength Line is longer than 80 characters (found 92). 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error naming ConstantName Name 'mapper' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 52
 Error sizes LineLength Line is longer than 80 characters (found 83). 55
 Error misc FinalParameters Parameter typesafeConfig should be final. 59
 Error sizes LineLength Line is longer than 80 characters (found 110). 64
 Error sizes LineLength Line is longer than 80 characters (found 87). 74
 Error misc FinalParameters Parameter subConfig should be final. 78
 Error whitespace ParenPad '(' is followed by whitespace. 80
 Error sizes LineLength Line is longer than 80 characters (found 96). 84
 Error misc FinalParameters Parameter typesafeConfig should be final. 89
 Error misc FinalParameters Parameter subConfig should be final. 89
 Error whitespace ParenPad '(' is followed by whitespace. 90

org/apache/streams/config/StreamsConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 18
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 32
 Error javadoc JavadocStyle First sentence should end with a period. 34
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error coding MagicNumber '5000L' is a magic number. 39
 Error javadoc JavadocStyle First sentence should end with a period. 40
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error coding MagicNumber '1000L' is a magic number. 45
 Error javadoc JavadocStyle First sentence should end with a period. 46
 Error regexp RegexpSingleline Line has trailing spaces. 48
 Error javadoc JavadocStyle First sentence should end with a period. 52
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error coding MagicNumber '1440000L' is a magic number. 63
 Error javadoc JavadocStyle First sentence should end with a period. 64
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error coding MagicNumber '1000L' is a magic number. 69
 Error javadoc JavadocStyle First sentence should end with a period. 70
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error coding MagicNumber '1000L' is a magic number. 75
 Error javadoc JavadocStyle First sentence should end with a period. 76
 Error regexp RegexpSingleline Line has trailing spaces. 78
 Error coding MagicNumber '1000L' is a magic number. 81
 Error javadoc JavadocStyle First sentence should end with a period. 82
 Error regexp RegexpSingleline Line has trailing spaces. 84
 Error javadoc JavadocVariable Missing a Javadoc comment. 88
 Error sizes LineLength Line is longer than 80 characters (found 85). 89
 Error javadoc JavadocStyle First sentence should end with a period. 91
 Error regexp RegexpSingleline Line has trailing spaces. 93
 Error javadoc JavadocStyle First sentence should end with a period. 102
 Error regexp RegexpSingleline Line has trailing spaces. 104
 Error misc FinalParameters Parameter batchFrequencyMs should be final. 109
 Error coding HiddenField 'batchFrequencyMs' hides a field. 109
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withBatchFrequencyMs' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withBatchFrequencyMs' static/final/abstract/empty, or adding allowed annotation for the method. 113
 Error javadoc JavadocMethod Missing a Javadoc comment. 113
 Error misc FinalParameters Parameter batchFrequencyMs should be final. 113
 Error coding HiddenField 'batchFrequencyMs' hides a field. 113
 Error javadoc JavadocStyle First sentence should end with a period. 118
 Error regexp RegexpSingleline Line has trailing spaces. 120
 Error javadoc JavadocStyle First sentence should end with a period. 129
 Error regexp RegexpSingleline Line has trailing spaces. 131
 Error misc FinalParameters Parameter batchSize should be final. 136
 Error coding HiddenField 'batchSize' hides a field. 136
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withBatchSize' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withBatchSize' static/final/abstract/empty, or adding allowed annotation for the method. 140
 Error javadoc JavadocMethod Missing a Javadoc comment. 140
 Error misc FinalParameters Parameter batchSize should be final. 140
 Error coding HiddenField 'batchSize' hides a field. 140
 Error javadoc JavadocStyle First sentence should end with a period. 145
 Error regexp RegexpSingleline Line has trailing spaces. 147
 Error javadoc JavadocStyle First sentence should end with a period. 156
 Error regexp RegexpSingleline Line has trailing spaces. 158
 Error misc FinalParameters Parameter identifier should be final. 163
 Error coding HiddenField 'identifier' hides a field. 163
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withIdentifier' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withIdentifier' static/final/abstract/empty, or adding allowed annotation for the method. 167
 Error javadoc JavadocMethod Missing a Javadoc comment. 167
 Error misc FinalParameters Parameter identifier should be final. 167
 Error coding HiddenField 'identifier' hides a field. 167
 Error javadoc JavadocStyle First sentence should end with a period. 172
 Error regexp RegexpSingleline Line has trailing spaces. 174
 Error javadoc JavadocStyle First sentence should end with a period. 183
 Error regexp RegexpSingleline Line has trailing spaces. 185
 Error misc FinalParameters Parameter parallelism should be final. 190
 Error coding HiddenField 'parallelism' hides a field. 190
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withParallelism' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withParallelism' static/final/abstract/empty, or adding allowed annotation for the method. 194
 Error javadoc JavadocMethod Missing a Javadoc comment. 194
 Error misc FinalParameters Parameter parallelism should be final. 194
 Error coding HiddenField 'parallelism' hides a field. 194
 Error regexp RegexpSingleline Line has trailing spaces. 201
 Error regexp RegexpSingleline Line has trailing spaces. 212
 Error misc FinalParameters Parameter providerTimeoutMs should be final. 217
 Error coding HiddenField 'providerTimeoutMs' hides a field. 217
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withProviderTimeoutMs' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withProviderTimeoutMs' static/final/abstract/empty, or adding allowed annotation for the method. 221
 Error javadoc JavadocMethod Missing a Javadoc comment. 221
 Error misc FinalParameters Parameter providerTimeoutMs should be final. 221
 Error coding HiddenField 'providerTimeoutMs' hides a field. 221
 Error javadoc JavadocStyle First sentence should end with a period. 226
 Error regexp RegexpSingleline Line has trailing spaces. 228
 Error javadoc JavadocStyle First sentence should end with a period. 237
 Error regexp RegexpSingleline Line has trailing spaces. 239
 Error misc FinalParameters Parameter queueSize should be final. 244
 Error coding HiddenField 'queueSize' hides a field. 244
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withQueueSize' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withQueueSize' static/final/abstract/empty, or adding allowed annotation for the method. 248
 Error javadoc JavadocMethod Missing a Javadoc comment. 248
 Error misc FinalParameters Parameter queueSize should be final. 248
 Error coding HiddenField 'queueSize' hides a field. 248
 Error javadoc JavadocStyle First sentence should end with a period. 253
 Error regexp RegexpSingleline Line has trailing spaces. 255
 Error javadoc JavadocStyle First sentence should end with a period. 264
 Error regexp RegexpSingleline Line has trailing spaces. 266
 Error misc FinalParameters Parameter shutdownCheckDelay should be final. 271
 Error coding HiddenField 'shutdownCheckDelay' hides a field. 271
 Error sizes LineLength Line is longer than 80 characters (found 81). 275
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withShutdownCheckDelay' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withShutdownCheckDelay' static/final/abstract/empty, or adding allowed annotation for the method. 275
 Error javadoc JavadocMethod Missing a Javadoc comment. 275
 Error misc FinalParameters Parameter shutdownCheckDelay should be final. 275
 Error coding HiddenField 'shutdownCheckDelay' hides a field. 275
 Error javadoc JavadocStyle First sentence should end with a period. 280
 Error regexp RegexpSingleline Line has trailing spaces. 282
 Error javadoc JavadocStyle First sentence should end with a period. 291
 Error regexp RegexpSingleline Line has trailing spaces. 293
 Error misc FinalParameters Parameter shutdownCheckInterval should be final. 298
 Error coding HiddenField 'shutdownCheckInterval' hides a field. 298
 Error sizes LineLength Line is longer than 80 characters (found 87). 302
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withShutdownCheckInterval' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withShutdownCheckInterval' static/final/abstract/empty, or adding allowed annotation for the method. 302
 Error javadoc JavadocMethod Missing a Javadoc comment. 302
 Error misc FinalParameters Parameter shutdownCheckInterval should be final. 302
 Error coding HiddenField 'shutdownCheckInterval' hides a field. 302
 Error javadoc JavadocStyle First sentence should end with a period. 307
 Error regexp RegexpSingleline Line has trailing spaces. 309
 Error javadoc JavadocStyle First sentence should end with a period. 318
 Error regexp RegexpSingleline Line has trailing spaces. 320
 Error misc FinalParameters Parameter startedAt should be final. 325
 Error coding HiddenField 'startedAt' hides a field. 325
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withStartedAt' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withStartedAt' static/final/abstract/empty, or adding allowed annotation for the method. 329
 Error javadoc JavadocMethod Missing a Javadoc comment. 329
 Error misc FinalParameters Parameter startedAt should be final. 329
 Error coding HiddenField 'startedAt' hides a field. 329
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'toString' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'toString' static/final/abstract/empty, or adding allowed annotation for the method. 334
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'getAdditionalProperties' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'getAdditionalProperties' static/final/abstract/empty, or adding allowed annotation for the method. 339
 Error javadoc JavadocMethod Missing a Javadoc comment. 339
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'setAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'setAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 344
 Error javadoc JavadocMethod Missing a Javadoc comment. 344
 Error misc FinalParameters Parameter name should be final. 345
 Error misc FinalParameters Parameter value should be final. 345
 Error sizes LineLength Line is longer than 80 characters (found 83). 349
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'withAdditionalProperty' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'withAdditionalProperty' static/final/abstract/empty, or adding allowed annotation for the method. 349
 Error javadoc JavadocMethod Missing a Javadoc comment. 349
 Error misc FinalParameters Parameter name should be final. 349
 Error misc FinalParameters Parameter value should be final. 349
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'hashCode' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'hashCode' static/final/abstract/empty, or adding allowed annotation for the method. 354
 Error sizes LineLength Line is longer than 80 characters (found 280). 356
 Error design DesignForExtension Class 'StreamsConfiguration' looks like designed for extension (can be subclassed), but the method 'equals' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsConfiguration' final or making the method 'equals' static/final/abstract/empty, or adding allowed annotation for the method. 359
 Error misc FinalParameters Parameter other should be final. 360
 Error coding SimplifyBooleanExpression Expression can be simplified. 364
 Error sizes LineLength Line is longer than 80 characters (found 476). 368

org/apache/streams/config/StreamsConfigurator.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 81). 32
 Error sizes LineLength Line is longer than 80 characters (found 87). 34
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 37
 Error sizes LineLength Line is longer than 80 characters (found 92). 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error naming ConstantName Name 'mapper' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 41
 Error sizes LineLength Line is longer than 80 characters (found 99). 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error sizes LineLength Line is longer than 80 characters (found 85). 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter configUrl should be final. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error sizes LineLength Line is longer than 80 characters (found 81). 66
 Error javadoc JavadocMethod Missing a Javadoc comment. 66
 Error misc FinalParameters Parameter typesafeConfig should be final. 66
 Error sizes LineLength Line is longer than 80 characters (found 125). 71
 Error sizes LineLength Line is longer than 80 characters (found 85). 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 80
 Error misc FinalParameters Parameter base should be final. 80
 Error misc FinalParameters Parameter delta should be final. 80
 Error sizes LineLength Line is longer than 80 characters (found 117). 87