The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | ![]() |
coding | HiddenField | 12 | ![]() |
MagicNumber | 3 | ![]() | |
SimplifyBooleanExpression | 1 | ![]() | |
design | DesignForExtension | 29 | ![]() |
VisibilityModifier | 7 | ![]() | |
imports | UnusedImports | 1 | ![]() |
javadoc | JavadocMethod | 29 | ![]() |
JavadocPackage | 2 | ![]() | |
JavadocType | 2 | ![]() | |
JavadocVariable | 19 | ![]() | |
misc | FinalParameters | 34 | ![]() |
modifier | ModifierOrder | 3 | ![]() |
regexp | RegexpSingleline
|
4 | ![]() |
sizes | LineLength | 22 | ![]() |
whitespace | ParenPad | 4 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 19 |
![]() |
blocks | LeftCurly | '{' at column 1 should be on the previous line. | 26 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 38 |
![]() |
design | DesignForExtension | Method 'getUserName' is not designed for extension - needs to be abstract, final or empty. | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 49 |
![]() |
design | DesignForExtension | Method 'setUserName' is not designed for extension - needs to be abstract, final or empty. | 53 |
![]() |
misc | FinalParameters | Parameter userName should be final. | 55 |
![]() |
coding | HiddenField | 'userName' hides a field. | 55 |
![]() |
design | DesignForExtension | Method 'withUserName' is not designed for extension - needs to be abstract, final or empty. | 59 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 59 |
![]() |
misc | FinalParameters | Parameter userName should be final. | 59 |
![]() |
coding | HiddenField | 'userName' hides a field. | 59 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 65 |
![]() |
design | DesignForExtension | Method 'getPassword' is not designed for extension - needs to be abstract, final or empty. | 69 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 76 |
![]() |
design | DesignForExtension | Method 'setPassword' is not designed for extension - needs to be abstract, final or empty. | 80 |
![]() |
misc | FinalParameters | Parameter password should be final. | 82 |
![]() |
coding | HiddenField | 'password' hides a field. | 82 |
![]() |
design | DesignForExtension | Method 'withPassword' is not designed for extension - needs to be abstract, final or empty. | 86 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
![]() |
misc | FinalParameters | Parameter password should be final. | 86 |
![]() |
coding | HiddenField | 'password' hides a field. | 86 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 91 |
![]() |
design | DesignForExtension | Method 'getAdditionalProperties' is not designed for extension - needs to be abstract, final or empty. | 96 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
![]() |
design | DesignForExtension | Method 'setAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. | 102 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 102 |
![]() |
misc | FinalParameters | Parameter name should be final. | 104 |
![]() |
misc | FinalParameters | Parameter value should be final. | 104 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 108 |
![]() |
design | DesignForExtension | Method 'withAdditionalProperty' is not designed for extension - needs to be abstract, final or empty. | 108 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 108 |
![]() |
misc | FinalParameters | Parameter name should be final. | 108 |
![]() |
misc | FinalParameters | Parameter value should be final. | 108 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 113 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 113). | 115 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 118 |
![]() |
misc | FinalParameters | Parameter other should be final. | 119 |
![]() |
coding | SimplifyBooleanExpression | Expression can be simplified. | 123 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 163). | 127 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 36 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 36 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 38 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 40 |
![]() |
misc | FinalParameters | Parameter provider should be final. | 40 |
![]() |
coding | HiddenField | 'provider' hides a field. | 40 |
![]() |
design | DesignForExtension | Method 'run' is not designed for extension - needs to be abstract, final or empty. | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 47 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 102). | 52 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 52 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 52 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 57 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 101). | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 63 |
![]() |
misc | FinalParameters | Parameter provider should be final. | 63 |
![]() |
coding | HiddenField | 'provider' hides a field. | 63 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 78 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
![]() |
misc | FinalParameters | Parameter event should be final. | 81 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 85 |
![]() |
misc | FinalParameters | Parameter event should be final. | 85 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 89 |
![]() |
misc | FinalParameters | Parameter event should be final. | 89 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 95 |
![]() |
misc | FinalParameters | Parameter event should be final. | 95 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 99 |
![]() |
misc | FinalParameters | Parameter event should be final. | 99 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 103 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 103 |
![]() |
misc | FinalParameters | Parameter activity should be final. | 103 |
![]() |
misc | FinalParameters | Parameter gmailMessage should be final. | 103 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 104 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 108 |
![]() |
misc | FinalParameters | Parameter idparts should be final. | 108 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 123). | 110 |
![]() |
design | DesignForExtension | Method 'serializationFormat' is not designed for extension - needs to be abstract, final or empty. | 113 |
![]() |
design | DesignForExtension | Method 'serialize' is not designed for extension - needs to be abstract, final or empty. | 118 |
![]() |
misc | FinalParameters | Parameter activity should be final. | 119 |
![]() |
design | DesignForExtension | Method 'deserialize' is not designed for extension - needs to be abstract, final or empty. | 123 |
![]() |
misc | FinalParameters | Parameter gmailMessage should be final. | 124 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 119). | 127 |
![]() |
coding | HiddenField | 'provider' hides a field. | 129 |
![]() |
design | DesignForExtension | Method 'deserializeAll' is not designed for extension - needs to be abstract, final or empty. | 155 |
![]() |
misc | FinalParameters | Parameter serializedList should be final. | 156 |
![]() |
design | DesignForExtension | Method 'convert' is not designed for extension - needs to be abstract, final or empty. | 160 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 160 |
![]() |
misc | FinalParameters | Parameter event should be final. | 160 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 164 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 165 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 169 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 173 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 181 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 186 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - org.apache.streams.config.StreamsConfigurator. | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 58 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 60 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 60 |
![]() |
modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 60 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
design | VisibilityModifier | Variable 'inQueue' must be private and have accessor methods. | 61 |
![]() |
coding | MagicNumber | '10000' is a magic number. | 61 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 62 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 62 |
![]() |
design | VisibilityModifier | Variable 'providerQueue' must be private and have accessor methods. | 62 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 63 |
![]() |
design | VisibilityModifier | Variable 'task' must be private and have accessor methods. | 63 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 64 |
![]() |
design | VisibilityModifier | Variable 'rssClient' must be private and have accessor methods. | 64 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 65 |
![]() |
design | VisibilityModifier | Variable 'imapClient' must be private and have accessor methods. | 65 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 66 |
![]() |
design | VisibilityModifier | Variable 'countersTotal' must be private and have accessor methods. | 66 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
![]() |
design | VisibilityModifier | Variable 'countersCurrent' must be private and have accessor methods. | 67 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 68 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 69 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 70 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 73 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
![]() |
misc | FinalParameters | Parameter config should be final. | 76 |
![]() |
coding | HiddenField | 'config' hides a field. | 76 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 80 |
![]() |
misc | FinalParameters | Parameter klass should be final. | 80 |
![]() |
coding | HiddenField | 'klass' hides a field. | 80 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 81 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 85 |
![]() |
misc | FinalParameters | Parameter config should be final. | 85 |
![]() |
coding | HiddenField | 'config' hides a field. | 85 |
![]() |
misc | FinalParameters | Parameter klass should be final. | 85 |
![]() |
coding | HiddenField | 'klass' hides a field. | 85 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 90 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 90 |
![]() |
misc | FinalParameters | Parameter nThreads should be final. | 90 |
![]() |
misc | FinalParameters | Parameter queueSize should be final. | 90 |
![]() |
coding | MagicNumber | '5000L' is a magic number. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 93 |
![]() |
design | DesignForExtension | Method 'getConfig' is not designed for extension - needs to be abstract, final or empty. | 96 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
![]() |
design | DesignForExtension | Method 'setConfig' is not designed for extension - needs to be abstract, final or empty. | 100 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 100 |
![]() |
misc | FinalParameters | Parameter config should be final. | 100 |
![]() |
coding | HiddenField | 'config' hides a field. | 100 |
![]() |
design | DesignForExtension | Method 'getInQueue' is not designed for extension - needs to be abstract, final or empty. | 104 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 104 |
![]() |
design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 108 |
![]() |
design | DesignForExtension | Method 'startStream' is not designed for extension - needs to be abstract, final or empty. | 113 |
![]() |
design | DesignForExtension | Method 'readCurrent' is not designed for extension - needs to be abstract, final or empty. | 120 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 125 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 125 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 126 |
![]() |
design | DesignForExtension | Method 'readNew' is not designed for extension - needs to be abstract, final or empty. | 137 |
![]() |
misc | FinalParameters | Parameter sequence should be final. | 138 |
![]() |
design | DesignForExtension | Method 'readRange' is not designed for extension - needs to be abstract, final or empty. | 142 |
![]() |
misc | FinalParameters | Parameter start should be final. | 143 |
![]() |
misc | FinalParameters | Parameter end should be final. | 143 |
![]() |
design | DesignForExtension | Method 'isRunning' is not designed for extension - needs to be abstract, final or empty. | 147 |
![]() |
design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 152 |
![]() |
misc | FinalParameters | Parameter configurationObject should be final. | 153 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 118). | 160 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 165 |
![]() |
design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 173 |
![]() |
coding | MagicNumber | '5' is a magic number. | 176 |