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 182

Rules

Category Rule Violations Severity
coding HiddenField 7  Error
design DesignForExtension 13  Error
VisibilityModifier 3  Error
javadoc JavadocMethod 20  Error
JavadocPackage 1  Error
JavadocStyle 2  Error
JavadocType 1  Error
JavadocVariable 17  Error
misc FinalParameters 46  Error
NewlineAtEndOfFile 1  Error
sizes LineLength 36  Error
whitespace EmptyForIteratorPad 3  Error
ParenPad 32  Error

Details

org/apache/streams/plugins/pig/StreamsPigGenerationConfig.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 101). 39
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' 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 design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'getExclusions' static/final/abstract/empty, or adding allowed annotation for the method. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 54
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'setExclusions' static/final/abstract/empty, or adding allowed annotation for the method. 58
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error misc FinalParameters Parameter exclusions should be final. 58
 Error coding HiddenField 'exclusions' hides a field. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 62
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'getMaxDepth' static/final/abstract/empty, or adding allowed annotation for the method. 64
 Error javadoc JavadocMethod Missing a Javadoc comment. 64
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'setSourceDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 68
 Error javadoc JavadocMethod Missing a Javadoc comment. 68
 Error misc FinalParameters Parameter sourceDirectory should be final. 68
 Error coding HiddenField 'sourceDirectory' hides a field. 68
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'setSourcePaths' static/final/abstract/empty, or adding allowed annotation for the method. 72
 Error javadoc JavadocMethod Missing a Javadoc comment. 72
 Error misc FinalParameters Parameter sourcePaths should be final. 72
 Error coding HiddenField 'sourcePaths' hides a field. 72
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'setTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 76
 Error javadoc JavadocMethod Missing a Javadoc comment. 76
 Error misc FinalParameters Parameter targetDirectory should be final. 76
 Error coding HiddenField 'targetDirectory' hides a field. 76
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'getTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 80
 Error sizes LineLength Line is longer than 80 characters (found 81). 92
 Error whitespace ParenPad '(' is followed by whitespace. 95
 Error design DesignForExtension Class 'StreamsPigGenerationConfig' 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 'StreamsPigGenerationConfig' final or making the method 'setMaxDepth' static/final/abstract/empty, or adding allowed annotation for the method. 103
 Error javadoc JavadocMethod Missing a Javadoc comment. 103
 Error misc FinalParameters Parameter maxDepth should be final. 103
 Error coding HiddenField 'maxDepth' hides a field. 103

org/apache/streams/plugins/pig/StreamsPigResourceGenerator.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 50
 Error sizes LineLength Line is longer than 80 characters (found 83). 57
 Error sizes LineLength Line is longer than 80 characters (found 98). 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 69
 Error javadoc JavadocVariable Missing a Javadoc comment. 71
 Error javadoc JavadocStyle First sentence should end with a period. 73
 Error sizes LineLength Line is longer than 80 characters (found 134). 77
 Error misc FinalParameters Parameter args should be final. 81
 Error whitespace ParenPad '(' is followed by whitespace. 87
 Error whitespace ParenPad ')' is preceded with whitespace. 87
 Error whitespace ParenPad '(' is followed by whitespace. 90
 Error whitespace ParenPad ')' is preceded with whitespace. 90
 Error sizes LineLength Line is longer than 80 characters (found 102). 97
 Error javadoc JavadocMethod Missing a Javadoc comment. 102
 Error misc FinalParameters Parameter config should be final. 102
 Error coding HiddenField 'config' hides a field. 102
 Error design DesignForExtension Class 'StreamsPigResourceGenerator' 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 'StreamsPigResourceGenerator' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 106
 Error misc FinalParameters Parameter config should be final. 119
 Error coding HiddenField 'config' hides a field. 119
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 123
 Error sizes LineLength Line is longer than 80 characters (found 105). 140
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 140
 Error sizes LineLength Line is longer than 80 characters (found 91). 145
 Error sizes LineLength Line is longer than 80 characters (found 107). 149
 Error misc FinalParameters Parameter schema should be final. 170
 Error misc FinalParameters Parameter resourceId should be final. 170
 Error sizes LineLength Line is longer than 80 characters (found 81). 175
 Error sizes LineLength Line is longer than 80 characters (found 122). 180
 Error design DesignForExtension Class 'StreamsPigResourceGenerator' 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 'StreamsPigResourceGenerator' final or making the method 'appendRootObject' static/final/abstract/empty, or adding allowed annotation for the method. 180
 Error javadoc JavadocMethod Missing a Javadoc comment. 180
 Error misc FinalParameters Parameter builder should be final. 180
 Error misc FinalParameters Parameter schema should be final. 180
 Error misc FinalParameters Parameter resourceId should be final. 180
 Error misc FinalParameters Parameter separator should be final. 180
 Error sizes LineLength Line is longer than 80 characters (found 88). 181
 Error sizes LineLength Line is longer than 80 characters (found 91). 182
 Error sizes LineLength Line is longer than 80 characters (found 81). 183
 Error sizes LineLength Line is longer than 80 characters (found 132). 188
 Error javadoc JavadocMethod Missing a Javadoc comment. 188
 Error misc FinalParameters Parameter builder should be final. 188
 Error misc FinalParameters Parameter schema should be final. 188
 Error misc FinalParameters Parameter propertiesNode should be final. 188
 Error misc FinalParameters Parameter seperator should be final. 188
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 193
 Error sizes LineLength Line is longer than 80 characters (found 86). 196
 Error whitespace ParenPad '(' is followed by whitespace. 196
 Error whitespace ParenPad ')' is preceded with whitespace. 199
 Error sizes LineLength Line is longer than 80 characters (found 94). 202
 Error sizes LineLength Line is longer than 80 characters (found 83). 203
 Error whitespace ParenPad '(' is followed by whitespace. 203
 Error sizes LineLength Line is longer than 80 characters (found 131). 204
 Error sizes LineLength Line is longer than 80 characters (found 101). 211
 Error whitespace ParenPad '(' is followed by whitespace. 212
 Error sizes LineLength Line is longer than 80 characters (found 135). 213
 Error sizes LineLength Line is longer than 80 characters (found 125). 220
 Error sizes LineLength Line is longer than 80 characters (found 138). 233
 Error javadoc JavadocMethod Missing a Javadoc comment. 233
 Error misc FinalParameters Parameter builder should be final. 233
 Error misc FinalParameters Parameter schema should be final. 233
 Error misc FinalParameters Parameter fieldId should be final. 233
 Error misc FinalParameters Parameter fieldType should be final. 233
 Error misc FinalParameters Parameter seperator should be final. 233
 Error sizes LineLength Line is longer than 80 characters (found 141). 242
 Error design DesignForExtension Class 'StreamsPigResourceGenerator' looks like designed for extension (can be subclassed), but the method 'appendArrayItems' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPigResourceGenerator' final or making the method 'appendArrayItems' static/final/abstract/empty, or adding allowed annotation for the method. 242
 Error javadoc JavadocMethod Missing a Javadoc comment. 242
 Error misc FinalParameters Parameter builder should be final. 242
 Error misc FinalParameters Parameter schema should be final. 242
 Error misc FinalParameters Parameter fieldId should be final. 242
 Error misc FinalParameters Parameter itemsNode should be final. 242
 Error misc FinalParameters Parameter seperator should be final. 242
 Error whitespace ParenPad '(' is followed by whitespace. 245
 Error whitespace ParenPad ')' is preceded with whitespace. 245
 Error whitespace ParenPad '(' is followed by whitespace. 250
 Error whitespace ParenPad ')' is preceded with whitespace. 250
 Error sizes LineLength Line is longer than 80 characters (found 86). 252
 Error sizes LineLength Line is longer than 80 characters (found 89). 256
 Error sizes LineLength Line is longer than 80 characters (found 84). 259
 Error sizes LineLength Line is longer than 80 characters (found 138). 269
 Error javadoc JavadocMethod Missing a Javadoc comment. 269
 Error misc FinalParameters Parameter builder should be final. 269
 Error misc FinalParameters Parameter schema should be final. 269
 Error misc FinalParameters Parameter fieldId should be final. 269
 Error misc FinalParameters Parameter fieldType should be final. 269
 Error misc FinalParameters Parameter seperator should be final. 269
 Error sizes LineLength Line is longer than 80 characters (found 140). 282
 Error javadoc JavadocMethod Missing a Javadoc comment. 282
 Error misc FinalParameters Parameter builder should be final. 282
 Error misc FinalParameters Parameter schema should be final. 282
 Error misc FinalParameters Parameter fieldId should be final. 282
 Error misc FinalParameters Parameter fieldNode should be final. 282
 Error misc FinalParameters Parameter seperator should be final. 282
 Error sizes LineLength Line is longer than 80 characters (found 90). 287
 Error whitespace ParenPad '(' is followed by whitespace. 288
 Error whitespace ParenPad ')' is preceded with whitespace. 288
 Error sizes LineLength Line is longer than 80 characters (found 145). 297
 Error javadoc JavadocMethod Missing a Javadoc comment. 297
 Error misc FinalParameters Parameter builder should be final. 297
 Error misc FinalParameters Parameter schema should be final. 297
 Error misc FinalParameters Parameter fieldId should be final. 297
 Error misc FinalParameters Parameter propertiesNode should be final. 297
 Error misc FinalParameters Parameter seperator should be final. 297
 Error sizes LineLength Line is longer than 80 characters (found 93). 302
 Error whitespace ParenPad '(' is followed by whitespace. 302
 Error whitespace ParenPad ')' is preceded with whitespace. 302
 Error javadoc JavadocMethod Missing a Javadoc comment. 321
 Error whitespace ParenPad '(' is followed by whitespace. 321
 Error misc FinalParameters Parameter fieldId should be final. 321
 Error whitespace ParenPad ')' is preceded with whitespace. 321
 Error javadoc JavadocMethod Missing a Javadoc comment. 325
 Error whitespace ParenPad '(' is followed by whitespace. 325
 Error misc FinalParameters Parameter fieldType should be final. 325
 Error whitespace ParenPad ')' is preceded with whitespace. 325
 Error whitespace ParenPad '(' is followed by whitespace. 326
 Error whitespace ParenPad ')' is preceded with whitespace. 326
 Error javadoc JavadocMethod Missing a Javadoc comment. 340
 Error whitespace ParenPad '(' is followed by whitespace. 340
 Error misc FinalParameters Parameter schema should be final. 340
 Error whitespace ParenPad ')' is preceded with whitespace. 340
 Error sizes LineLength Line is longer than 80 characters (found 89). 347

org/apache/streams/plugins/pig/StreamsPigResourceGeneratorMojo.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 102). 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 javadoc JavadocVariable Missing a Javadoc comment. 54
 Error whitespace ParenPad '(' is followed by whitespace. 54
 Error whitespace ParenPad ')' is preceded with whitespace. 54
 Error sizes LineLength Line is longer than 80 characters (found 85). 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error whitespace ParenPad '(' is followed by whitespace. 57
 Error whitespace ParenPad ')' is preceded with whitespace. 57
 Error design VisibilityModifier Variable 'sourceDirectory' must be private and have accessor methods. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 60
 Error whitespace ParenPad '(' is followed by whitespace. 60
 Error whitespace ParenPad ')' is preceded with whitespace. 60
 Error design VisibilityModifier Variable 'sourcePaths' must be private and have accessor methods. 61
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error design VisibilityModifier Variable 'targetDirectory' must be private and have accessor methods. 64
 Error whitespace ParenPad '(' is followed by whitespace. 77
 Error sizes LineLength Line is longer than 80 characters (found 102). 84