The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | Error |
coding | AvoidInlineConditionals | 1 | Error |
HiddenField | 4 | Error | |
MagicNumber | 1 | Error | |
SimplifyBooleanExpression | 1 | Error | |
design | DesignForExtension | 19 | Error |
imports | UnusedImports | 2 | Error |
javadoc | JavadocMethod | 6 | Error |
JavadocPackage | 2 | Error | |
JavadocStyle | 3 | Error | |
JavadocType | 1 | Error | |
JavadocVariable | 15 | Error | |
misc | FinalParameters | 12 | Error |
regexp | RegexpSingleline
|
3 | Error |
sizes | LineLength | 8 | Error |
whitespace | ParenPad | 8 | Error |
WhitespaceAfter | 1 | 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. | 20 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 22 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 30 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32 |
Error | design | DesignForExtension | Method 'getBuffer' is not designed for extension - needs to be abstract, final or empty. | 36 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 42 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 44 |
Error | design | DesignForExtension | Method 'setBuffer' is not designed for extension - needs to be abstract, final or empty. | 48 |
Error | misc | FinalParameters | Parameter buffer should be final. | 50 |
Error | coding | HiddenField | 'buffer' hides a field. | 50 |
Error | design | DesignForExtension | Method 'withBuffer' is not designed for extension - needs to be abstract, final or empty. | 54 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Error | misc | FinalParameters | Parameter buffer should be final. | 54 |
Error | coding | HiddenField | 'buffer' hides a field. | 54 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 59 |
Error | design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 64 |
Error | design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 69 |
Error | misc | FinalParameters | Parameter other should be final. | 70 |
Error | coding | SimplifyBooleanExpression | Expression can be simplified. | 74 |
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 84). | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 58 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 60 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 62 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 64 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 65 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 67 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 69 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 70 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 73 |
Error | misc | FinalParameters | Parameter config should be final. | 73 |
Error | coding | HiddenField | 'config' hides a field. | 73 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 77 |
Error | design | DesignForExtension | Method 'readAll' is not designed for extension - needs to be abstract, final or empty. | 82 |
Error | design | DesignForExtension | Method 'startStream' is not designed for extension - needs to be abstract, final or empty. | 87 |
Error | design | DesignForExtension | Method 'readCurrent' is not designed for extension - needs to be abstract, final or empty. | 92 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 116 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 116 |
Error | misc | FinalParameters | Parameter entry should be final. | 116 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 116 |
Error | design | DesignForExtension | Method 'readNew' is not designed for extension - needs to be abstract, final or empty. | 120 |
Error | misc | FinalParameters | Parameter bigInteger should be final. | 121 |
Error | design | DesignForExtension | Method 'readRange' is not designed for extension - needs to be abstract, final or empty. | 125 |
Error | misc | FinalParameters | Parameter dateTime should be final. | 126 |
Error | misc | FinalParameters | Parameter dateTime2 should be final. | 126 |
Error | design | DesignForExtension | Method 'isRunning' is not designed for extension - needs to be abstract, final or empty. | 130 |
Error | design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 135 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 136 |
Error | coding | MagicNumber | '1000' is a magic number. | 139 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 146 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 146 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 148 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 148 |
Error | design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 171 |
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 84). | 44 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 48 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 48 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 58 |
Error | sizes | LineLength | Line is longer than 80 characters (found 91). | 59 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
Error | misc | FinalParameters | Parameter config should be final. | 62 |
Error | coding | HiddenField | 'config' hides a field. | 62 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 66 |
Error | design | DesignForExtension | Method 'write' is not designed for extension - needs to be abstract, final or empty. | 71 |
Error | misc | FinalParameters | Parameter entry should be final. | 72 |
Error | sizes | LineLength | Line is longer than 80 characters (found 94). | 74 |
Error | coding | AvoidInlineConditionals | Avoid inline conditionals. | 74 |
Error | sizes | LineLength | Line is longer than 80 characters (found 86). | 78 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 80 |
Error | design | DesignForExtension | Method 'prepare' is not designed for extension - needs to be abstract, final or empty. | 88 |
Error | misc | FinalParameters | Parameter configurationObject should be final. | 89 |
Error | whitespace | ParenPad | '(' is followed by whitespace. | 93 |
Error | whitespace | ParenPad | ')' is preceded with whitespace. | 93 |
Error | design | DesignForExtension | Method 'cleanUp' is not designed for extension - needs to be abstract, final or empty. | 110 |