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