The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset. 
| File | |||
|---|---|---|---|
| org/apache/streams/mongo/MongoConfiguration.java | 0 | 0 | 94 |
| org/apache/streams/mongo/MongoPersistReader.java | 0 | 0 | 75 |
| org/apache/streams/mongo/MongoPersistWriter.java | 0 | 0 | 69 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | LeftCurly | 1 | |
| coding | HiddenField | 18 | |
| MagicNumber | 5 | ||
| SimplifyBooleanExpression | 1 | ||
| design | DesignForExtension | 49 | |
| VisibilityModifier | 12 | ||
| imports | UnusedImports | 2 | |
| javadoc | JavadocMethod | 23 | |
| JavadocPackage | 2 | ||
| JavadocStyle | 18 | ||
| JavadocType | 3 | ||
| JavadocVariable | 26 | ||
| misc | FinalParameters | 29 | |
| regexp | RegexpSingleline
|
18 | |
| sizes | LineLength | 27 | |
| whitespace | ParenPad | 4 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | ||
| javadoc | JavadocType | Missing a Javadoc comment. | 14 | |
| blocks | LeftCurly | '{' at column 1 should be on the previous line. | 25 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 27 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 29 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 34 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 36 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 41 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 43 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 48 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 50 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 55 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 57 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 62 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 64 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 70 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 72 | |
| design | DesignForExtension | Method 'getHost' is not designed for extension - needs to be abstract, final or empty. | 76 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 82 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 84 | |
| design | DesignForExtension | Method 'setHost' is not designed for extension - needs to be abstract, final or empty. | 88 | |
| misc | FinalParameters | Parameter host should be final. | 90 | |
| coding | HiddenField | 'host' hides a field. | 90 | |
| design | DesignForExtension | Method 'withHost' is not designed for extension - needs to be abstract, final or empty. | 94 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 94 | |
| misc | FinalParameters | Parameter host should be final. | 94 | |
| coding | HiddenField | 'host' hides a field. | 94 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 99 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 101 | |
| design | DesignForExtension | Method 'getPort' is not designed for extension - needs to be abstract, final or empty. | 105 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 111 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 113 | |
| design | DesignForExtension | Method 'setPort' is not designed for extension - needs to be abstract, final or empty. | 117 | |
| misc | FinalParameters | Parameter port should be final. | 119 | |
| coding | HiddenField | 'port' hides a field. | 119 | |
| design | DesignForExtension | Method 'withPort' is not designed for extension - needs to be abstract, final or empty. | 123 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 123 | |
| misc | FinalParameters | Parameter port should be final. | 123 | |
| coding | HiddenField | 'port' hides a field. | 123 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 128 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 130 | |
| design | DesignForExtension | Method 'getUser' is not designed for extension - needs to be abstract, final or empty. | 134 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 140 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 142 | |
| design | DesignForExtension | Method 'setUser' is not designed for extension - needs to be abstract, final or empty. | 146 | |
| misc | FinalParameters | Parameter user should be final. | 148 | |
| coding | HiddenField | 'user' hides a field. | 148 | |
| design | DesignForExtension | Method 'withUser' is not designed for extension - needs to be abstract, final or empty. | 152 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 152 | |
| misc | FinalParameters | Parameter user should be final. | 152 | |
| coding | HiddenField | 'user' hides a field. | 152 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 157 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 159 | |
| design | DesignForExtension | Method 'getPassword' is not designed for extension - needs to be abstract, final or empty. | 163 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 169 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 171 | |
| design | DesignForExtension | Method 'setPassword' is not designed for extension - needs to be abstract, final or empty. | 175 | |
| misc | FinalParameters | Parameter password should be final. | 177 | |
| coding | HiddenField | 'password' hides a field. | 177 | |
| design | DesignForExtension | Method 'withPassword' is not designed for extension - needs to be abstract, final or empty. | 181 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 181 | |
| misc | FinalParameters | Parameter password should be final. | 181 | |
| coding | HiddenField | 'password' hides a field. | 181 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 186 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 188 | |
| design | DesignForExtension | Method 'getDb' is not designed for extension - needs to be abstract, final or empty. | 192 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 198 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 200 | |
| design | DesignForExtension | Method 'setDb' is not designed for extension - needs to be abstract, final or empty. | 204 | |
| misc | FinalParameters | Parameter db should be final. | 206 | |
| coding | HiddenField | 'db' hides a field. | 206 | |
| design | DesignForExtension | Method 'withDb' is not designed for extension - needs to be abstract, final or empty. | 210 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 210 | |
| misc | FinalParameters | Parameter db should be final. | 210 | |
| coding | HiddenField | 'db' hides a field. | 210 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 215 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 217 | |
| design | DesignForExtension | Method 'getCollection' is not designed for extension - needs to be abstract, final or empty. | 221 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 227 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 229 | |
| design | DesignForExtension | Method 'setCollection' is not designed for extension - needs to be abstract, final or empty. | 233 | |
| misc | FinalParameters | Parameter collection should be final. | 235 | |
| coding | HiddenField | 'collection' hides a field. | 235 | |
| design | DesignForExtension | Method 'withCollection' is not designed for extension - needs to be abstract, final or empty. | 239 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 239 | |
| misc | FinalParameters | Parameter collection should be final. | 239 | |
| coding | HiddenField | 'collection' hides a field. | 239 | |
| design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 244 | |
| design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 249 | |
| sizes | LineLength | Line is longer than 80 characters (found 136). | 251 | |
| design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 254 | |
| misc | FinalParameters | Parameter other should be final. | 255 | |
| coding | SimplifyBooleanExpression | Expression can be simplified. | 259 | |
| sizes | LineLength | Line is longer than 80 characters (found 200). | 263 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - org.apache.streams.config.StreamsConfigurator. | 22 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 62 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 64 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 64 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 66 | |
| design | VisibilityModifier | Variable 'persistQueue' must be private and have accessor methods. | 66 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 68 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 69 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 69 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 71 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 73 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 75 | |
| design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 75 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 76 | |
| design | VisibilityModifier | Variable 'db' must be private and have accessor methods. | 76 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 77 | |
| design | VisibilityModifier | Variable 'collection' must be private and have accessor methods. | 77 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 79 | |
| design | VisibilityModifier | Variable 'cursor' must be private and have accessor methods. | 79 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 81 | |
| design | VisibilityModifier | Variable 'lock' must be private and have accessor methods. | 81 | |
| sizes | LineLength | Line is longer than 80 characters (found 83). | 84 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 87 | |
| misc | FinalParameters | Parameter config should be final. | 94 | |
| coding | HiddenField | 'config' hides a field. | 94 | |
| misc | FinalParameters | Parameter persistQueue should be final. | 102 | |
| coding | HiddenField | 'persistQueue' hides a field. | 102 | |
| sizes | LineLength | Line is longer than 80 characters (found 94). | 103 | |
| design | DesignForExtension | Method 'setPersistQueue' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 107 | |
| misc | FinalParameters | Parameter persistQueue should be final. | 107 | |
| coding | HiddenField | 'persistQueue' hides a field. | 107 | |
| design | DesignForExtension | Method 'getPersistQueue' is not designed for extension - needs to be abstract, final or empty. | 111 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 111 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 115 | |
| design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 118 | |
| design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 123 | |
| misc | FinalParameters | Parameter configurationObject should be final. | 124 | |
| whitespace | ParenPad | '(' is followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is preceded with whitespace. | 129 | |
| whitespace | ParenPad | '(' is followed by whitespace. | 134 | |
| design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 145 | |
| design | DesignForExtension | Method 'prepareDatum' is not designed for extension - needs to be abstract, final or empty. | 150 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 150 | |
| misc | FinalParameters | Parameter dbObject should be final. | 150 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 167 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 169 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 171 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 173 | |
| sizes | LineLength | Line is longer than 80 characters (found 98). | 174 | |
| design | DesignForExtension | Method 'readAll' is not designed for extension - needs to be abstract, final or empty. | 188 | |
| design | DesignForExtension | Method 'startStream' is not designed for extension - needs to be abstract, final or empty. | 202 | |
| whitespace | ParenPad | '(' is followed by whitespace. | 210 | |
| coding | MagicNumber | '1000' is a magic number. | 212 | |
| design | DesignForExtension | Method 'readCurrent' is not designed for extension - needs to be abstract, final or empty. | 222 | |
| sizes | LineLength | Line is longer than 80 characters (found 114). | 239 | |
| sizes | LineLength | Line is longer than 80 characters (found 119). | 240 | |
| design | DesignForExtension | Method 'write' is not designed for extension - needs to be abstract, final or empty. | 242 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 242 | |
| misc | FinalParameters | Parameter entry should be final. | 242 | |
| design | DesignForExtension | Method 'readNew' is not designed for extension - needs to be abstract, final or empty. | 256 | |
| misc | FinalParameters | Parameter sequence should be final. | 257 | |
| design | DesignForExtension | Method 'readRange' is not designed for extension - needs to be abstract, final or empty. | 261 | |
| misc | FinalParameters | Parameter start should be final. | 262 | |
| misc | FinalParameters | Parameter end should be final. | 262 | |
| design | DesignForExtension | Method 'isRunning' is not designed for extension - needs to be abstract, final or empty. | 266 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 271 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 272 | |
| coding | MagicNumber | '10000' is a magic number. | 272 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 275 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 277 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 279 | |
| misc | FinalParameters | Parameter reader should be final. | 279 | |
| coding | HiddenField | 'reader' hides a field. | 279 | |
| design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 283 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | ||
| imports | UnusedImports | Unused import - org.apache.streams.config.StreamsConfigurator. | 22 | |
| sizes | LineLength | Line is longer than 80 characters (found 97). | 57 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 57 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 59 | |
| sizes | LineLength | Line is longer than 80 characters (found 89). | 61 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 61 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 63 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 65 | |
| design | VisibilityModifier | Variable 'persistQueue' must be private and have accessor methods. | 65 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 67 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 68 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 68 | |
| sizes | LineLength | Line is longer than 80 characters (found 102). | 69 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 69 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 71 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 73 | |
| design | VisibilityModifier | Variable 'client' must be private and have accessor methods. | 73 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 74 | |
| design | VisibilityModifier | Variable 'db' must be private and have accessor methods. | 74 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 75 | |
| design | VisibilityModifier | Variable 'collection' must be private and have accessor methods. | 75 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 77 | |
| design | VisibilityModifier | Variable 'insertBatch' must be private and have accessor methods. | 77 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 79 | |
| design | VisibilityModifier | Variable 'lock' must be private and have accessor methods. | 79 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 81 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 82 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 85 | |
| misc | FinalParameters | Parameter config should be final. | 85 | |
| coding | HiddenField | 'config' hides a field. | 85 | |
| design | DesignForExtension | Method 'setPersistQueue' is not designed for extension - needs to be abstract, final or empty. | 89 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 89 | |
| misc | FinalParameters | Parameter persistQueue should be final. | 89 | |
| coding | HiddenField | 'persistQueue' hides a field. | 89 | |
| design | DesignForExtension | Method 'getPersistQueue' is not designed for extension - needs to be abstract, final or empty. | 93 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 93 | |
| design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 97 | |
| design | DesignForExtension | Method 'write' is not designed for extension - needs to be abstract, final or empty. | 102 | |
| misc | FinalParameters | Parameter streamsDatum should be final. | 103 | |
| design | DesignForExtension | Method 'flush' is not designed for extension - needs to be abstract, final or empty. | 112 | |
| design | DesignForExtension | Method 'close' is not designed for extension - needs to be abstract, final or empty. | 126 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 126 | |
| design | DesignForExtension | Method 'start' is not designed for extension - needs to be abstract, final or empty. | 134 | |
| sizes | LineLength | Line is longer than 80 characters (found 117). | 136 | |
| design | DesignForExtension | Method 'stop' is not designed for extension - needs to be abstract, final or empty. | 142 | |
| coding | MagicNumber | '15' is a magic number. | 157 | |
| coding | MagicNumber | '15' is a magic number. | 160 | |
| design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 173 | |
| design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 194 | |
| misc | FinalParameters | Parameter configurationObject should be final. | 195 | |
| design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 200 | |
| design | DesignForExtension | Method 'flushIfNecessary' is not designed for extension - needs to be abstract, final or empty. | 205 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 205 | |
| sizes | LineLength | Line is longer than 80 characters (found 115). | 207 | |
| sizes | LineLength | Line is longer than 80 characters (found 103). | 209 | |
| coding | MagicNumber | '100' is a magic number. | 209 | |
| design | DesignForExtension | Method 'addToBatch' is not designed for extension - needs to be abstract, final or empty. | 218 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 218 | |
| misc | FinalParameters | Parameter dbObject should be final. | 218 | |
| design | DesignForExtension | Method 'prepareObject' is not designed for extension - needs to be abstract, final or empty. | 227 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 227 | |
| misc | FinalParameters | Parameter streamsDatum should be final. | 227 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 236 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 242 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 244 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 246 | |
| sizes | LineLength | Line is longer than 80 characters (found 113). | 248 | |
| sizes | LineLength | Line is longer than 80 characters (found 98). | 249 |