Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 7.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
3 0 0 126

Rules

Category Rule Violations Severity
coding HiddenField 8  Error
design DesignForExtension 14  Error
VisibilityModifier 3  Error
javadoc JavadocMethod 16  Error
JavadocPackage 1  Error
JavadocStyle 1  Error
JavadocType 2  Error
JavadocVariable 18  Error
misc FinalParameters 16  Error
NewlineAtEndOfFile 1  Error
sizes LineLength 20  Error
whitespace EmptyForIteratorPad 2  Error
ParenPad 24  Error

Details

org/apache/streams/plugins/hbase/StreamsHbaseGenerationConfig.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 103). 39
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getSourceDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getSourceDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 41
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getSourcePaths' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getSourcePaths' static/final/abstract/empty, or adding allowed annotation for the method. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getExclusions' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getExclusions' static/final/abstract/empty, or adding allowed annotation for the method. 55
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setExclusions' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setExclusions' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 59
 Error misc FinalParameters Parameter exclusions should be final. 59
 Error coding HiddenField 'exclusions' hides a field. 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getMaxDepth' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getMaxDepth' static/final/abstract/empty, or adding allowed annotation for the method. 65
 Error javadoc JavadocMethod Missing a Javadoc comment. 65
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setSourceDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setSourceDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 69
 Error javadoc JavadocMethod Missing a Javadoc comment. 69
 Error misc FinalParameters Parameter sourceDirectory should be final. 69
 Error coding HiddenField 'sourceDirectory' hides a field. 69
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setSourcePaths' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setSourcePaths' static/final/abstract/empty, or adding allowed annotation for the method. 73
 Error javadoc JavadocMethod Missing a Javadoc comment. 73
 Error misc FinalParameters Parameter sourcePaths should be final. 73
 Error coding HiddenField 'sourcePaths' hides a field. 73
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setTargetDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter targetDirectory should be final. 77
 Error coding HiddenField 'targetDirectory' hides a field. 77
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getTargetDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 81
 Error javadoc JavadocMethod Missing a Javadoc comment. 81
 Error sizes LineLength Line is longer than 80 characters (found 81). 91
 Error whitespace ParenPad '(' is followed by whitespace. 94
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setMaxDepth' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setMaxDepth' static/final/abstract/empty, or adding allowed annotation for the method. 102
 Error javadoc JavadocMethod Missing a Javadoc comment. 102
 Error misc FinalParameters Parameter maxDepth should be final. 102
 Error coding HiddenField 'maxDepth' hides a field. 102
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getColumnFamily' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'getColumnFamily' static/final/abstract/empty, or adding allowed annotation for the method. 106
 Error javadoc JavadocMethod Missing a Javadoc comment. 106
 Error design DesignForExtension Class 'StreamsHbaseGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setColumnFamily' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseGenerationConfig' final or making the method 'setColumnFamily' static/final/abstract/empty, or adding allowed annotation for the method. 110
 Error javadoc JavadocMethod Missing a Javadoc comment. 110
 Error misc FinalParameters Parameter columnFamily should be final. 110
 Error coding HiddenField 'columnFamily' hides a field. 110

org/apache/streams/plugins/hbase/StreamsHbaseResourceGenerator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 49
 Error sizes LineLength Line is longer than 80 characters (found 100). 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error javadoc JavadocVariable Missing a Javadoc comment. 55
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error javadoc JavadocStyle First sentence should end with a period. 61
 Error sizes LineLength Line is longer than 80 characters (found 138). 65
 Error misc FinalParameters Parameter args should be final. 69
 Error whitespace ParenPad '(' is followed by whitespace. 75
 Error whitespace ParenPad ')' is preceded with whitespace. 75
 Error whitespace ParenPad '(' is followed by whitespace. 78
 Error whitespace ParenPad ')' is preceded with whitespace. 78
 Error sizes LineLength Line is longer than 80 characters (found 108). 85
 Error javadoc JavadocMethod Missing a Javadoc comment. 90
 Error misc FinalParameters Parameter config should be final. 90
 Error coding HiddenField 'config' hides a field. 90
 Error design DesignForExtension Class 'StreamsHbaseResourceGenerator' looks like designed for extension (can be subclassed), but the method 'run' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseResourceGenerator' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 94
 Error misc FinalParameters Parameter config should be final. 107
 Error coding HiddenField 'config' hides a field. 107
 Error sizes LineLength Line is longer than 80 characters (found 105). 128
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 128
 Error whitespace ParenPad '(' is followed by whitespace. 131
 Error sizes LineLength Line is longer than 80 characters (found 91). 133
 Error sizes LineLength Line is longer than 80 characters (found 107). 137
 Error misc FinalParameters Parameter schema should be final. 159
 Error misc FinalParameters Parameter resourceId should be final. 159
 Error sizes LineLength Line is longer than 80 characters (found 101). 166
 Error design DesignForExtension Class 'StreamsHbaseResourceGenerator' looks like designed for extension (can be subclassed), but the method 'appendRootObject' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsHbaseResourceGenerator' final or making the method 'appendRootObject' static/final/abstract/empty, or adding allowed annotation for the method. 166
 Error javadoc JavadocMethod Missing a Javadoc comment. 166
 Error misc FinalParameters Parameter builder should be final. 166
 Error misc FinalParameters Parameter schema should be final. 166
 Error misc FinalParameters Parameter resourceId should be final. 166
 Error sizes LineLength Line is longer than 80 characters (found 88). 168
 Error sizes LineLength Line is longer than 80 characters (found 92). 169
 Error whitespace ParenPad '(' is followed by whitespace. 169
 Error whitespace ParenPad '(' is followed by whitespace. 180
 Error whitespace ParenPad ')' is preceded with whitespace. 180
 Error sizes LineLength Line is longer than 80 characters (found 95). 185
 Error whitespace ParenPad '(' is followed by whitespace. 185
 Error whitespace ParenPad ')' is preceded with whitespace. 185
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 188
 Error sizes LineLength Line is longer than 80 characters (found 90). 191
 Error whitespace ParenPad '(' is followed by whitespace. 191
 Error whitespace ParenPad ')' is preceded with whitespace. 194
 Error javadoc JavadocMethod Missing a Javadoc comment. 213
 Error whitespace ParenPad '(' is followed by whitespace. 213
 Error misc FinalParameters Parameter fieldId should be final. 213
 Error whitespace ParenPad ')' is preceded with whitespace. 213
 Error javadoc JavadocMethod Missing a Javadoc comment. 217
 Error whitespace ParenPad '(' is followed by whitespace. 217
 Error misc FinalParameters Parameter schema should be final. 217
 Error whitespace ParenPad ')' is preceded with whitespace. 217
 Error sizes LineLength Line is longer than 80 characters (found 89). 223

org/apache/streams/plugins/hbase/StreamsHbaseResourceGeneratorMojo.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocType Missing a Javadoc comment. 37
 Error sizes LineLength Line is longer than 80 characters (found 104). 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error sizes LineLength Line is longer than 80 characters (found 91). 57
 Error sizes LineLength Line is longer than 80 characters (found 81). 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error whitespace ParenPad '(' is followed by whitespace. 63
 Error whitespace ParenPad ')' is preceded with whitespace. 63
 Error sizes LineLength Line is longer than 80 characters (found 85). 66
 Error javadoc JavadocVariable Missing a Javadoc comment. 66
 Error whitespace ParenPad '(' is followed by whitespace. 66
 Error whitespace ParenPad ')' is preceded with whitespace. 66
 Error design VisibilityModifier Variable 'sourceDirectory' must be private and have accessor methods. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error whitespace ParenPad '(' is followed by whitespace. 69
 Error whitespace ParenPad ')' is preceded with whitespace. 69
 Error design VisibilityModifier Variable 'sourcePaths' must be private and have accessor methods. 70
 Error sizes LineLength Line is longer than 80 characters (found 82). 72
 Error javadoc JavadocVariable Missing a Javadoc comment. 72
 Error design VisibilityModifier Variable 'targetDirectory' must be private and have accessor methods. 73
 Error whitespace ParenPad '(' is followed by whitespace. 86
 Error sizes LineLength Line is longer than 80 characters (found 108). 93