The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 1 | Error |
LeftCurly | 1 | Error | |
coding | HiddenField | 20 | Error |
MagicNumber | 2 | Error | |
SimplifyBooleanExpression | 1 | Error | |
design | DesignForExtension | 50 | Error |
VisibilityModifier | 10 | Error | |
imports | UnusedImports | 2 | Error |
javadoc | JavadocMethod | 21 | Error |
JavadocPackage | 2 | Error | |
JavadocStyle | 25 | Error | |
JavadocType | 3 | Error | |
JavadocVariable | 24 | Error | |
misc | FinalParameters | 33 | Error |
TodoComment | 2 | Error | |
modifier | ModifierOrder | 1 | Error |
regexp | RegexpSingleline
|
24 | Error |
sizes | LineLength | 22 | Error |
whitespace | ParenPad | 4 | Error |
WhitespaceAfter | 1 | Error | |
WhitespaceAround | 1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 19 |
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 | javadoc | JavadocStyle | First sentence should end with a period. | 41 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 43 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 48 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 50 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 55 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 57 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 62 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 64 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 69 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 71 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 76 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 78 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 83 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 85 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 90 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 91 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 93 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 95 |
Error | design | DesignForExtension | Method 'getRootdir' is not designed for extension - needs to be abstract, final or empty. | 99 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 105 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 107 |
Error | design | DesignForExtension | Method 'setRootdir' is not designed for extension - needs to be abstract, final or empty. | 111 |
Error | misc | FinalParameters | Parameter rootdir should be final. | 113 |
Error | coding | HiddenField | 'rootdir' hides a field. | 113 |
Error | design | DesignForExtension | Method 'withRootdir' is not designed for extension - needs to be abstract, final or empty. | 117 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 117 |
Error | misc | FinalParameters | Parameter rootdir should be final. | 117 |
Error | coding | HiddenField | 'rootdir' hides a field. | 117 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 122 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 124 |
Error | design | DesignForExtension | Method 'getParent' is not designed for extension - needs to be abstract, final or empty. | 128 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 134 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 136 |
Error | design | DesignForExtension | Method 'setParent' is not designed for extension - needs to be abstract, final or empty. | 140 |
Error | misc | FinalParameters | Parameter parent should be final. | 142 |
Error | coding | HiddenField | 'parent' hides a field. | 142 |
Error | design | DesignForExtension | Method 'withParent' is not designed for extension - needs to be abstract, final or empty. | 146 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 146 |
Error | misc | FinalParameters | Parameter parent should be final. | 146 |
Error | coding | HiddenField | 'parent' hides a field. | 146 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 151 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 153 |
Error | design | DesignForExtension | Method 'getRootserver' is not designed for extension - needs to be abstract, final or empty. | 157 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 163 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 165 |
Error | design | DesignForExtension | Method 'setRootserver' is not designed for extension - needs to be abstract, final or empty. | 169 |
Error | misc | FinalParameters | Parameter rootserver should be final. | 171 |
Error | coding | HiddenField | 'rootserver' hides a field. | 171 |
Error | design | DesignForExtension | Method 'withRootserver' is not designed for extension - needs to be abstract, final or empty. | 175 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 175 |
Error | misc | FinalParameters | Parameter rootserver should be final. | 175 |
Error | coding | HiddenField | 'rootserver' hides a field. | 175 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 180 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 182 |
Error | design | DesignForExtension | Method 'getQuorum' is not designed for extension - needs to be abstract, final or empty. | 186 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 192 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 194 |
Error | design | DesignForExtension | Method 'setQuorum' is not designed for extension - needs to be abstract, final or empty. | 198 |
Error | misc | FinalParameters | Parameter quorum should be final. | 200 |
Error | coding | HiddenField | 'quorum' hides a field. | 200 |
Error | design | DesignForExtension | Method 'withQuorum' is not designed for extension - needs to be abstract, final or empty. | 204 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 204 |
Error | misc | FinalParameters | Parameter quorum should be final. | 204 |
Error | coding | HiddenField | 'quorum' hides a field. | 204 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 209 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 211 |
Error | design | DesignForExtension | Method 'getClientPort' is not designed for extension - needs to be abstract, final or empty. | 215 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 221 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 223 |
Error | design | DesignForExtension | Method 'setClientPort' is not designed for extension - needs to be abstract, final or empty. | 227 |
Error | misc | FinalParameters | Parameter clientPort should be final. | 229 |
Error | coding | HiddenField | 'clientPort' hides a field. | 229 |
Error | design | DesignForExtension | Method 'withClientPort' is not designed for extension - needs to be abstract, final or empty. | 233 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 233 |
Error | misc | FinalParameters | Parameter clientPort should be final. | 233 |
Error | coding | HiddenField | 'clientPort' hides a field. | 233 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 238 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 240 |
Error | design | DesignForExtension | Method 'getTable' is not designed for extension - needs to be abstract, final or empty. | 244 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 250 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 252 |
Error | design | DesignForExtension | Method 'setTable' is not designed for extension - needs to be abstract, final or empty. | 256 |
Error | misc | FinalParameters | Parameter table should be final. | 258 |
Error | coding | HiddenField | 'table' hides a field. | 258 |
Error | design | DesignForExtension | Method 'withTable' is not designed for extension - needs to be abstract, final or empty. | 262 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 262 |
Error | misc | FinalParameters | Parameter table should be final. | 262 |
Error | coding | HiddenField | 'table' hides a field. | 262 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 267 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 269 |
Error | design | DesignForExtension | Method 'getFamily' is not designed for extension - needs to be abstract, final or empty. | 273 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 279 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 281 |
Error | design | DesignForExtension | Method 'setFamily' is not designed for extension - needs to be abstract, final or empty. | 285 |
Error | misc | FinalParameters | Parameter family should be final. | 287 |
Error | coding | HiddenField | 'family' hides a field. | 287 |
Error | design | DesignForExtension | Method 'withFamily' is not designed for extension - needs to be abstract, final or empty. | 291 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 291 |
Error | misc | FinalParameters | Parameter family should be final. | 291 |
Error | coding | HiddenField | 'family' hides a field. | 291 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 296 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 298 |
Error | design | DesignForExtension | Method 'getQualifier' is not designed for extension - needs to be abstract, final or empty. | 302 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 308 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 310 |
Error | design | DesignForExtension | Method 'setQualifier' is not designed for extension - needs to be abstract, final or empty. | 314 |
Error | misc | FinalParameters | Parameter qualifier should be final. | 316 |
Error | coding | HiddenField | 'qualifier' hides a field. | 316 |
Error | design | DesignForExtension | Method 'withQualifier' is not designed for extension - needs to be abstract, final or empty. | 320 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 320 |
Error | misc | FinalParameters | Parameter qualifier should be final. | 320 |
Error | coding | HiddenField | 'qualifier' hides a field. | 320 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 325 |
Error | design | DesignForExtension | Method 'getAdditionalProperties' is not designed for extension - needs to be abstract, final or empty. | 330 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 330 |
Error | design | DesignForExtension | Method 'setAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. | 336 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 336 |
Error | misc | FinalParameters | Parameter name should be final. | 338 |
Error | misc | FinalParameters | Parameter value should be final. | 338 |
Error | sizes | LineLength | Line is longer than 80 characters (found 81). | 342 |
Error | design | DesignForExtension | Method 'withAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. | 342 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 342 |
Error | misc | FinalParameters | Parameter name should be final. | 342 |
Error | misc | FinalParameters | Parameter value should be final. | 342 |
Error | design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 347 |
Error | sizes | LineLength | Line is longer than 80 characters (found 210). | 349 |
Error | design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 352 |
Error | misc | FinalParameters | Parameter other should be final. | 353 |
Error | coding | SimplifyBooleanExpression | Expression can be simplified. | 357 |
Error | sizes | LineLength | Line is longer than 80 characters (found 339). | 361 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | imports | UnusedImports | Unused import - org.apache.streams.config.StreamsConfigurator. | 23 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 42 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 44 |
Error | modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 44 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 46 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | design | VisibilityModifier | Variable 'lock' must be private and have accessor methods. | 48 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
Error | design | VisibilityModifier | Variable 'running' must be private and have accessor methods. | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | design | VisibilityModifier | Variable 'persistQueue' must be private and have accessor methods. | 52 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
Error | design | VisibilityModifier | Variable 'config' must be private and have accessor methods. | 56 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
Error | design | VisibilityModifier | Variable 'props' must be private and have accessor methods. | 58 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 60 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
Error | sizes | LineLength | Line is longer than 80 characters (found 98). | 63 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 66 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 68 |
Error | misc | FinalParameters | Parameter config should be final. | 68 |
Error | coding | HiddenField | 'config' hides a field. | 68 |
Error | design | DesignForExtension | Method 'setConfig' is not designed for extension - needs to be abstract, final or empty. | 72 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
Error | misc | FinalParameters | Parameter config should be final. | 72 |
Error | coding | HiddenField | 'config' hides a field. | 72 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 76 |
Error | design | DesignForExtension | Method 'startStream' is not designed for extension - needs to be abstract, final or empty. | 81 |
Error | design | DesignForExtension | Method 'readAll' is not designed for extension - needs to be abstract, final or empty. | 92 |
Error | design | DesignForExtension | Method 'readCurrent' is not designed for extension - needs to be abstract, final or empty. | 97 |
Error | design | DesignForExtension | Method 'constructQueue' is not designed for extension - needs to be abstract, final or empty. | 115 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 115 |
Error | design | DesignForExtension | Method 'readNew' is not designed for extension - needs to be abstract, final or empty. | 119 |
Error | misc | FinalParameters | Parameter bigInteger should be final. | 120 |
Error | design | DesignForExtension | Method 'readRange' is not designed for extension - needs to be abstract, final or empty. | 124 |
Error | misc | FinalParameters | Parameter dateTime should be final. | 125 |
Error | misc | FinalParameters | Parameter dateTime2 should be final. | 125 |
Error | design | DesignForExtension | Method 'isRunning' is not designed for extension - needs to be abstract, final or empty. | 129 |
Error | design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 134 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 135 |
Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 141 |
Error | sizes | LineLength | Line is longer than 80 characters (found 102). | 142 |
Error | design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 150 |
Error | design | DesignForExtension | Method 'write' is not designed for extension - needs to be abstract, final or empty. | 161 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 161 |
Error | misc | FinalParameters | Parameter streamsDatum should be final. | 161 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 24 |
Error | sizes | LineLength | Line is longer than 80 characters (found 95). | 26 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 30 |
Error | misc | FinalParameters | Parameter reader should be final. | 30 |
Error | coding | HiddenField | 'reader' hides a field. | 30 |
Error | design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 34 |
Error | whitespace | WhitespaceAround | 'while' is not followed by whitespace. | 37 |
Error | blocks | EmptyBlock | Must have at least one statement. | 37 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - org.apache.streams.config.StreamsConfigurator. | 22 |
Error | sizes | LineLength | Line is longer than 80 characters (found 87). | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
Error | design | VisibilityModifier | Variable 'connection' must be private and have accessor methods. | 56 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
Error | design | VisibilityModifier | Variable 'pool' must be private and have accessor methods. | 57 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
Error | design | VisibilityModifier | Variable 'table' must be private and have accessor methods. | 58 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
Error | design | VisibilityModifier | Variable 'descriptor' must be private and have accessor methods. | 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 82). | 68 |
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 71 |
Error | misc | TodoComment | Comment matches to-do format 'TODO:'. | 79 |
Error | misc | FinalParameters | Parameter hbaseConfiguration should be final. | 80 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 85 |
Error | misc | TodoComment | Comment matches to-do format 'TODO:'. | 87 |
Error | sizes | LineLength | Line is longer than 80 characters (found 100). | 94 |
Error | coding | MagicNumber | '1000' is a magic number. | 95 |
Error | coding | MagicNumber | '1000' is a magic number. | 97 |
Error | sizes | LineLength | Line is longer than 80 characters (found 103). | 128 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 133 |
Error | design | DesignForExtension | Method 'write' is not designed for extension - needs to be abstract, final or empty. | 138 |
Error | misc | FinalParameters | Parameter streamsDatum should be final. | 139 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 149 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 149 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 151 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 151 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 159 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 162 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 176 |
Error | sizes | LineLength | Line is longer than 80 characters (found 88). | 179 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 188 |
Error | design | DesignForExtension | Method 'flush' 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 'close' is not designed for extension - needs to be abstract, final or empty. | 197 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 197 |
Error | design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 201 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 202 |
Error | design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 217 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocStyle | First sentence should end with a period. | 28 |
Error | sizes | LineLength | Line is longer than 80 characters (found 93). | 34 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Error | misc | FinalParameters | Parameter writer should be final. | 38 |
Error | coding | HiddenField | 'writer' hides a field. | 38 |
Error | design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 42 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 46 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 46 |