This project has retired. For details please refer to its Attic page.
streams-persist-kinesis – Checkstyle Results Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
6 0 0 279

Rules

Category Rule Violations Severity
blocks LeftCurly 3  Error
NeedBraces 1  Error
coding HiddenField 22  Error
MagicNumber 2  Error
SimplifyBooleanExpression 3  Error
design DesignForExtension 52  Error
VisibilityModifier 5  Error
javadoc JavadocMethod 25  Error
JavadocPackage 2  Error
JavadocStyle 13  Error
JavadocType 4  Error
JavadocVariable 32  Error
misc FinalParameters 42  Error
modifier RedundantModifier 2  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
16  Error
sizes LineLength 40  Error
whitespace ParenPad 8  Error
WhitespaceAfter 1  Error
WhitespaceAround 6  Error

Details

org/apache/streams/amazon/kinesis/KinesisConfiguration.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. 31
 Error javadoc JavadocStyle First sentence should end with a period. 33
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error javadoc JavadocStyle First sentence should end with a period. 42
 Error regexp RegexpSingleline Line has trailing spaces. 45
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error sizes LineLength Line is longer than 80 characters (found 102). 57
 Error javadoc JavadocStyle First sentence should end with a period. 58
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error sizes LineLength Line is longer than 80 characters (found 85). 66
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error regexp RegexpSingleline Line has trailing spaces. 71
 Error design DesignForExtension Method 'getKey' is not designed for extension - needs to be abstract, final or empty. 75
 Error javadoc JavadocStyle First sentence should end with a period. 81
 Error regexp RegexpSingleline Line has trailing spaces. 84
 Error design DesignForExtension Method 'setKey' is not designed for extension - needs to be abstract, final or empty. 88
 Error misc FinalParameters Parameter key should be final. 90
 Error coding HiddenField 'key' hides a field. 90
 Error design DesignForExtension Method 'withKey' is not designed for extension - needs to be abstract, final or empty. 94
 Error javadoc JavadocMethod Missing a Javadoc comment. 94
 Error misc FinalParameters Parameter key should be final. 94
 Error coding HiddenField 'key' hides a field. 94
 Error javadoc JavadocStyle First sentence should end with a period. 99
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error design DesignForExtension Method 'getSecretKey' is not designed for extension - needs to be abstract, final or empty. 106
 Error javadoc JavadocStyle First sentence should end with a period. 112
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error design DesignForExtension Method 'setSecretKey' is not designed for extension - needs to be abstract, final or empty. 119
 Error misc FinalParameters Parameter secretKey should be final. 121
 Error coding HiddenField 'secretKey' hides a field. 121
 Error design DesignForExtension Method 'withSecretKey' is not designed for extension - needs to be abstract, final or empty. 125
 Error javadoc JavadocMethod Missing a Javadoc comment. 125
 Error misc FinalParameters Parameter secretKey should be final. 125
 Error coding HiddenField 'secretKey' hides a field. 125
 Error javadoc JavadocStyle First sentence should end with a period. 130
 Error regexp RegexpSingleline Line has trailing spaces. 132
 Error design DesignForExtension Method 'getProtocol' is not designed for extension - needs to be abstract, final or empty. 136
 Error javadoc JavadocStyle First sentence should end with a period. 142
 Error regexp RegexpSingleline Line has trailing spaces. 144
 Error design DesignForExtension Method 'setProtocol' is not designed for extension - needs to be abstract, final or empty. 148
 Error misc FinalParameters Parameter protocol should be final. 150
 Error coding HiddenField 'protocol' hides a field. 150
 Error sizes LineLength Line is longer than 80 characters (found 86). 154
 Error design DesignForExtension Method 'withProtocol' is not designed for extension - needs to be abstract, final or empty. 154
 Error javadoc JavadocMethod Missing a Javadoc comment. 154
 Error misc FinalParameters Parameter protocol should be final. 154
 Error coding HiddenField 'protocol' hides a field. 154
 Error javadoc JavadocStyle First sentence should end with a period. 159
 Error regexp RegexpSingleline Line has trailing spaces. 161
 Error design DesignForExtension Method 'getRegion' is not designed for extension - needs to be abstract, final or empty. 165
 Error javadoc JavadocStyle First sentence should end with a period. 171
 Error regexp RegexpSingleline Line has trailing spaces. 173
 Error design DesignForExtension Method 'setRegion' is not designed for extension - needs to be abstract, final or empty. 177
 Error misc FinalParameters Parameter region should be final. 179
 Error coding HiddenField 'region' hides a field. 179
 Error design DesignForExtension Method 'withRegion' is not designed for extension - needs to be abstract, final or empty. 183
 Error javadoc JavadocMethod Missing a Javadoc comment. 183
 Error misc FinalParameters Parameter region should be final. 183
 Error coding HiddenField 'region' hides a field. 183
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 188
 Error design DesignForExtension Method 'getAdditionalProperties' is not designed for extension - needs to be abstract, final or empty. 193
 Error javadoc JavadocMethod Missing a Javadoc comment. 193
 Error design DesignForExtension Method 'setAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 199
 Error javadoc JavadocMethod Missing a Javadoc comment. 199
 Error misc FinalParameters Parameter name should be final. 201
 Error misc FinalParameters Parameter value should be final. 201
 Error sizes LineLength Line is longer than 80 characters (found 83). 205
 Error design DesignForExtension Method 'withAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 205
 Error javadoc JavadocMethod Missing a Javadoc comment. 205
 Error misc FinalParameters Parameter name should be final. 205
 Error misc FinalParameters Parameter value should be final. 205
 Error design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 210
 Error sizes LineLength Line is longer than 80 characters (found 141). 212
 Error design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 215
 Error misc FinalParameters Parameter other should be final. 216
 Error coding SimplifyBooleanExpression Expression can be simplified. 220
 Error sizes LineLength Line is longer than 80 characters (found 213). 224
 Error javadoc JavadocType Missing a Javadoc comment. 227
 Error modifier RedundantModifier Redundant 'static' modifier. 228
 Error javadoc JavadocVariable Missing a Javadoc comment. 230
 Error javadoc JavadocVariable Missing a Javadoc comment. 231
 Error javadoc JavadocVariable Missing a Javadoc comment. 232
 Error sizes LineLength Line is longer than 80 characters (found 131). 233
 Error javadoc JavadocVariable Missing a Javadoc comment. 233
 Error javadoc JavadocMethod Missing a Javadoc comment. 241
 Error modifier RedundantModifier Redundant 'private' modifier. 241
 Error misc FinalParameters Parameter value should be final. 241
 Error coding HiddenField 'value' hides a field. 241
 Error javadoc JavadocMethod Missing a Javadoc comment. 251
 Error misc FinalParameters Parameter value should be final. 252

org/apache/streams/amazon/kinesis/KinesisPersistReader.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 81). 55
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error sizes LineLength Line is longer than 80 characters (found 91). 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error design VisibilityModifier Variable 'persistQueue' must be private and have accessor methods. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error sizes LineLength Line is longer than 80 characters (found 96). 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error design VisibilityModifier Variable 'pollInterval' must be private and have accessor methods. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 71
 Error javadoc JavadocVariable Missing a Javadoc comment. 73
 Error design VisibilityModifier Variable 'client' must be private and have accessor methods. 73
 Error sizes LineLength Line is longer than 80 characters (found 95). 76
 Error coding HiddenField 'config' hides a field. 79
 Error sizes LineLength Line is longer than 80 characters (found 108). 80
 Error sizes LineLength Line is longer than 80 characters (found 81). 85
 Error misc FinalParameters Parameter config should be final. 87
 Error coding HiddenField 'config' hides a field. 87
 Error javadoc JavadocMethod Expected @param tag for 'config'. 87
 Error design DesignForExtension Method 'setConfig' is not designed for extension - needs to be abstract, final or empty. 92
 Error javadoc JavadocMethod Missing a Javadoc comment. 92
 Error misc FinalParameters Parameter config should be final. 92
 Error coding HiddenField 'config' hides a field. 92
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 96
 Error design DesignForExtension Method 'startStream' is not designed for extension - needs to be abstract, final or empty. 101
 Error sizes LineLength Line is longer than 80 characters (found 91). 110
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 110
 Error whitespace ParenPad '(' is followed by whitespace. 110
 Error sizes LineLength Line is longer than 80 characters (found 88). 112
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 114
 Error whitespace ParenPad '(' is followed by whitespace. 114
 Error whitespace ParenPad ')' is preceded with whitespace. 114
 Error sizes LineLength Line is longer than 80 characters (found 90). 115
 Error design DesignForExtension Method 'readAll' is not designed for extension - needs to be abstract, final or empty. 123
 Error design DesignForExtension Method 'readCurrent' is not designed for extension - needs to be abstract, final or empty. 128
 Error javadoc JavadocMethod Missing a Javadoc comment. 128
 Error whitespace WhitespaceAround 'synchronized' is not followed by whitespace. 131
 Error whitespace ParenPad '(' is followed by whitespace. 131
 Error whitespace ParenPad ')' is preceded with whitespace. 131
 Error design DesignForExtension Method 'readNew' is not designed for extension - needs to be abstract, final or empty. 138
 Error misc FinalParameters Parameter bigInteger should be final. 139
 Error design DesignForExtension Method 'readRange' is not designed for extension - needs to be abstract, final or empty. 143
 Error misc FinalParameters Parameter dateTime should be final. 144
 Error misc FinalParameters Parameter dateTime2 should be final. 144
 Error design DesignForExtension Method 'isRunning' is not designed for extension - needs to be abstract, final or empty. 148
 Error design DesignForExtension Method 'prepare' is not designed for extension - needs to be abstract, final or empty. 153
 Error misc FinalParameters Parameter configurationObject should be final. 154
 Error sizes LineLength Line is longer than 80 characters (found 99). 158
 Error sizes LineLength Line is longer than 80 characters (found 82). 161
 Error blocks NeedBraces 'if' construct must use '{}'s. 164
 Error sizes LineLength Line is longer than 80 characters (found 86). 165
 Error design DesignForExtension Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. 171
 Error whitespace WhitespaceAround 'while' is not followed by whitespace. 174
 Error whitespace ParenPad '(' is followed by whitespace. 174
 Error coding MagicNumber '5' is a magic number. 176
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 177
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 177

org/apache/streams/amazon/kinesis/KinesisPersistReaderTask.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocStyle First sentence should end with a period. 39
 Error sizes LineLength Line is longer than 80 characters (found 95). 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error sizes LineLength Line is longer than 80 characters (found 94). 53
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error sizes LineLength Line is longer than 80 characters (found 99). 58
 Error misc FinalParameters Parameter reader should be final. 58
 Error coding HiddenField 'reader' hides a field. 58
 Error javadoc JavadocMethod Expected @param tag for 'reader'. 58
 Error misc FinalParameters Parameter streamName should be final. 58
 Error coding HiddenField 'streamName' hides a field. 58
 Error javadoc JavadocMethod Expected @param tag for 'streamName'. 58
 Error misc FinalParameters Parameter shardId should be final. 58
 Error coding HiddenField 'shardId' hides a field. 58
 Error javadoc JavadocMethod Expected @param tag for 'shardId'. 58
 Error design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 64
 Error sizes LineLength Line is longer than 80 characters (found 102). 72
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 76
 Error sizes LineLength Line is longer than 80 characters (found 171). 87
 Error whitespace ParenPad '(' is followed by whitespace. 105
 Error whitespace ParenPad ')' is preceded with whitespace. 105

org/apache/streams/amazon/kinesis/KinesisPersistWriter.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error sizes LineLength Line is longer than 80 characters (found 91). 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error design VisibilityModifier Variable 'persistQueue' must be private and have accessor methods. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 71
 Error design VisibilityModifier Variable 'client' must be private and have accessor methods. 71
 Error sizes LineLength Line is longer than 80 characters (found 95). 74
 Error coding HiddenField 'config' hides a field. 77
 Error sizes LineLength Line is longer than 80 characters (found 108). 78
 Error sizes LineLength Line is longer than 80 characters (found 81). 83
 Error misc FinalParameters Parameter config should be final. 85
 Error coding HiddenField 'config' hides a field. 85
 Error javadoc JavadocMethod Expected @param tag for 'config'. 85
 Error design DesignForExtension Method 'setConfig' is not designed for extension - needs to be abstract, final or empty. 90
 Error javadoc JavadocMethod Missing a Javadoc comment. 90
 Error misc FinalParameters Parameter config should be final. 90
 Error coding HiddenField 'config' hides a field. 90
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 94
 Error design DesignForExtension Method 'write' is not designed for extension - needs to be abstract, final or empty. 99
 Error misc FinalParameters Parameter entry should be final. 100
 Error sizes LineLength Line is longer than 80 characters (found 106). 102
 Error design DesignForExtension Method 'prepare' is not designed for extension - needs to be abstract, final or empty. 116
 Error misc FinalParameters Parameter configurationObject should be final. 117
 Error sizes LineLength Line is longer than 80 characters (found 99). 121
 Error sizes LineLength Line is longer than 80 characters (found 82). 124
 Error sizes LineLength Line is longer than 80 characters (found 86). 128
 Error design DesignForExtension Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. 135
 Error coding MagicNumber '5' is a magic number. 138

org/apache/streams/amazon/kinesis/KinesisReaderConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 22
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error sizes LineLength Line is longer than 80 characters (found 85). 37
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error design DesignForExtension Method 'getStreams' is not designed for extension - needs to be abstract, final or empty. 44
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error design DesignForExtension Method 'setStreams' is not designed for extension - needs to be abstract, final or empty. 55
 Error misc FinalParameters Parameter streams should be final. 57
 Error coding HiddenField 'streams' hides a field. 57
 Error design DesignForExtension Method 'withStreams' is not designed for extension - needs to be abstract, final or empty. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error misc FinalParameters Parameter streams should be final. 61
 Error coding HiddenField 'streams' hides a field. 61
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 66
 Error design DesignForExtension Method 'getAdditionalProperties' is not designed for extension - needs to be abstract, final or empty. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error design DesignForExtension Method 'setAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter name should be final. 79
 Error misc FinalParameters Parameter value should be final. 79
 Error sizes LineLength Line is longer than 80 characters (found 89). 83
 Error design DesignForExtension Method 'withAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 83
 Error javadoc JavadocMethod Missing a Javadoc comment. 83
 Error misc FinalParameters Parameter name should be final. 83
 Error misc FinalParameters Parameter value should be final. 83
 Error design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 88
 Error sizes LineLength Line is longer than 80 characters (found 95). 90
 Error design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 93
 Error misc FinalParameters Parameter other should be final. 94
 Error coding SimplifyBooleanExpression Expression can be simplified. 98
 Error sizes LineLength Line is longer than 80 characters (found 130). 102

org/apache/streams/amazon/kinesis/KinesisWriterConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 19
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error sizes LineLength Line is longer than 80 characters (found 85). 33
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error design DesignForExtension Method 'getStream' is not designed for extension - needs to be abstract, final or empty. 40
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error design DesignForExtension Method 'setStream' is not designed for extension - needs to be abstract, final or empty. 51
 Error misc FinalParameters Parameter stream should be final. 53
 Error coding HiddenField 'stream' hides a field. 53
 Error design DesignForExtension Method 'withStream' is not designed for extension - needs to be abstract, final or empty. 57
 Error javadoc JavadocMethod Missing a Javadoc comment. 57
 Error misc FinalParameters Parameter stream should be final. 57
 Error coding HiddenField 'stream' hides a field. 57
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 62
 Error design DesignForExtension Method 'getAdditionalProperties' is not designed for extension - needs to be abstract, final or empty. 67
 Error javadoc JavadocMethod Missing a Javadoc comment. 67
 Error design DesignForExtension Method 'setAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 73
 Error javadoc JavadocMethod Missing a Javadoc comment. 73
 Error misc FinalParameters Parameter name should be final. 75
 Error misc FinalParameters Parameter value should be final. 75
 Error sizes LineLength Line is longer than 80 characters (found 89). 79
 Error design DesignForExtension Method 'withAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. 79
 Error javadoc JavadocMethod Missing a Javadoc comment. 79
 Error misc FinalParameters Parameter name should be final. 79
 Error misc FinalParameters Parameter value should be final. 79
 Error design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 84
 Error sizes LineLength Line is longer than 80 characters (found 94). 86
 Error design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 89
 Error misc FinalParameters Parameter other should be final. 90
 Error coding SimplifyBooleanExpression Expression can be simplified. 94
 Error sizes LineLength Line is longer than 80 characters (found 128). 98