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 198

Rules

Category Rule Violations Severity
coding HiddenField 7  Error
design DesignForExtension 14  Error
VisibilityModifier 3  Error
javadoc JavadocMethod 22  Error
JavadocPackage 1  Error
JavadocStyle 1  Error
JavadocType 2  Error
JavadocVariable 18  Error
misc FinalParameters 44  Error
NewlineAtEndOfFile 1  Error
sizes LineLength 40  Error
whitespace EmptyForIteratorPad 2  Error
ParenPad 43  Error

Details

org/apache/streams/plugins/elasticsearch/StreamsElasticsearchGenerationConfig.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 111). 39
 Error design DesignForExtension Class 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' final or making the method 'getTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 80
 Error sizes LineLength Line is longer than 80 characters (found 81). 90
 Error whitespace ParenPad '(' is followed by whitespace. 93
 Error design DesignForExtension Class 'StreamsElasticsearchGenerationConfig' 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 'StreamsElasticsearchGenerationConfig' final or making the method 'setMaxDepth' static/final/abstract/empty, or adding allowed annotation for the method. 101
 Error javadoc JavadocMethod Missing a Javadoc comment. 101
 Error misc FinalParameters Parameter maxDepth should be final. 101
 Error coding HiddenField 'maxDepth' hides a field. 101

org/apache/streams/plugins/elasticsearch/StreamsElasticsearchResourceGenerator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 54
 Error sizes LineLength Line is longer than 80 characters (found 108). 56
 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. 66
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error sizes LineLength Line is longer than 80 characters (found 154). 72
 Error misc FinalParameters Parameter args should be final. 76
 Error sizes LineLength Line is longer than 80 characters (found 93). 77
 Error sizes LineLength Line is longer than 80 characters (found 87). 80
 Error whitespace ParenPad '(' is followed by whitespace. 82
 Error whitespace ParenPad ')' is preceded with whitespace. 82
 Error whitespace ParenPad '(' is followed by whitespace. 85
 Error whitespace ParenPad ')' is preceded with whitespace. 85
 Error sizes LineLength Line is longer than 80 characters (found 132). 92
 Error sizes LineLength Line is longer than 80 characters (found 93). 97
 Error javadoc JavadocMethod Missing a Javadoc comment. 97
 Error misc FinalParameters Parameter config should be final. 97
 Error coding HiddenField 'config' hides a field. 97
 Error design DesignForExtension Class 'StreamsElasticsearchResourceGenerator' 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 'StreamsElasticsearchResourceGenerator' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 101
 Error misc FinalParameters Parameter config should be final. 114
 Error coding HiddenField 'config' hides a field. 114
 Error sizes LineLength Line is longer than 80 characters (found 105). 135
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 135
 Error whitespace ParenPad '(' is followed by whitespace. 138
 Error sizes LineLength Line is longer than 80 characters (found 91). 140
 Error misc FinalParameters Parameter schema should be final. 168
 Error misc FinalParameters Parameter resourceId should be final. 168
 Error sizes LineLength Line is longer than 80 characters (found 122). 189
 Error design DesignForExtension Class 'StreamsElasticsearchResourceGenerator' 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 'StreamsElasticsearchResourceGenerator' final or making the method 'appendRootObject' static/final/abstract/empty, or adding allowed annotation for the method. 189
 Error javadoc JavadocMethod Missing a Javadoc comment. 189
 Error misc FinalParameters Parameter builder should be final. 189
 Error misc FinalParameters Parameter schema should be final. 189
 Error misc FinalParameters Parameter resourceId should be final. 189
 Error misc FinalParameters Parameter seperator should be final. 189
 Error sizes LineLength Line is longer than 80 characters (found 88). 190
 Error whitespace ParenPad '(' is followed by whitespace. 191
 Error whitespace ParenPad ')' is preceded with whitespace. 191
 Error whitespace ParenPad '(' is followed by whitespace. 196
 Error sizes LineLength Line is longer than 80 characters (found 81). 197
 Error sizes LineLength Line is longer than 80 characters (found 138). 202
 Error javadoc JavadocMethod Missing a Javadoc comment. 202
 Error misc FinalParameters Parameter builder should be final. 202
 Error misc FinalParameters Parameter schema should be final. 202
 Error misc FinalParameters Parameter fieldId should be final. 202
 Error misc FinalParameters Parameter fieldType should be final. 202
 Error misc FinalParameters Parameter seperator should be final. 202
 Error sizes LineLength Line is longer than 80 characters (found 141). 211
 Error design DesignForExtension Class 'StreamsElasticsearchResourceGenerator' 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 'StreamsElasticsearchResourceGenerator' final or making the method 'appendArrayItems' static/final/abstract/empty, or adding allowed annotation for the method. 211
 Error javadoc JavadocMethod Missing a Javadoc comment. 211
 Error misc FinalParameters Parameter builder should be final. 211
 Error misc FinalParameters Parameter schema should be final. 211
 Error misc FinalParameters Parameter fieldId should be final. 211
 Error misc FinalParameters Parameter itemsNode should be final. 211
 Error misc FinalParameters Parameter seperator should be final. 211
 Error whitespace ParenPad '(' is followed by whitespace. 214
 Error whitespace ParenPad ')' is preceded with whitespace. 214
 Error whitespace ParenPad '(' is followed by whitespace. 217
 Error whitespace ParenPad '(' is followed by whitespace. 220
 Error whitespace ParenPad ')' is preceded with whitespace. 220
 Error whitespace ParenPad '(' is followed by whitespace. 224
 Error whitespace ParenPad ')' is preceded with whitespace. 224
 Error sizes LineLength Line is longer than 80 characters (found 129). 237
 Error whitespace ParenPad ')' is preceded with whitespace. 237
 Error sizes LineLength Line is longer than 80 characters (found 82). 242
 Error sizes LineLength Line is longer than 80 characters (found 83). 250
 Error sizes LineLength Line is longer than 80 characters (found 91). 254
 Error sizes LineLength Line is longer than 80 characters (found 86). 257
 Error sizes LineLength Line is longer than 80 characters (found 138). 267
 Error javadoc JavadocMethod Missing a Javadoc comment. 267
 Error misc FinalParameters Parameter builder should be final. 267
 Error misc FinalParameters Parameter schema should be final. 267
 Error misc FinalParameters Parameter fieldId should be final. 267
 Error misc FinalParameters Parameter fieldType should be final. 267
 Error misc FinalParameters Parameter seperator should be final. 267
 Error sizes LineLength Line is longer than 80 characters (found 118). 278
 Error javadoc JavadocMethod Missing a Javadoc comment. 278
 Error misc FinalParameters Parameter builder should be final. 278
 Error misc FinalParameters Parameter schema should be final. 278
 Error misc FinalParameters Parameter fieldId should be final. 278
 Error misc FinalParameters Parameter seperator should be final. 278
 Error whitespace ParenPad ')' is preceded with whitespace. 282
 Error sizes LineLength Line is longer than 80 characters (found 118). 292
 Error javadoc JavadocMethod Missing a Javadoc comment. 292
 Error misc FinalParameters Parameter builder should be final. 292
 Error misc FinalParameters Parameter schema should be final. 292
 Error misc FinalParameters Parameter fieldId should be final. 292
 Error misc FinalParameters Parameter seperator should be final. 292
 Error whitespace ParenPad ')' is preceded with whitespace. 296
 Error sizes LineLength Line is longer than 80 characters (found 100). 309
 Error sizes LineLength Line is longer than 80 characters (found 132). 311
 Error javadoc JavadocMethod Missing a Javadoc comment. 311
 Error misc FinalParameters Parameter builder should be final. 311
 Error misc FinalParameters Parameter schema should be final. 311
 Error misc FinalParameters Parameter propertiesNode should be final. 311
 Error misc FinalParameters Parameter seperator should be final. 311
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 316
 Error sizes LineLength Line is longer than 80 characters (found 86). 319
 Error whitespace ParenPad '(' is followed by whitespace. 319
 Error whitespace ParenPad ')' is preceded with whitespace. 322
 Error whitespace ParenPad '(' is followed by whitespace. 326
 Error sizes LineLength Line is longer than 80 characters (found 127). 327
 Error whitespace ParenPad '(' is followed by whitespace. 336
 Error whitespace ParenPad ')' is preceded with whitespace. 336
 Error sizes LineLength Line is longer than 80 characters (found 131). 349
 Error whitespace ParenPad ')' is preceded with whitespace. 349
 Error sizes LineLength Line is longer than 80 characters (found 84). 354
 Error sizes LineLength Line is longer than 80 characters (found 103). 360
 Error whitespace ParenPad '(' is followed by whitespace. 361
 Error sizes LineLength Line is longer than 80 characters (found 124). 362
 Error sizes LineLength Line is longer than 80 characters (found 125). 369
 Error javadoc JavadocMethod Missing a Javadoc comment. 382
 Error whitespace ParenPad '(' is followed by whitespace. 382
 Error misc FinalParameters Parameter fieldId should be final. 382
 Error whitespace ParenPad ')' is preceded with whitespace. 382
 Error javadoc JavadocMethod Missing a Javadoc comment. 386
 Error whitespace ParenPad '(' is followed by whitespace. 386
 Error misc FinalParameters Parameter fieldType should be final. 386
 Error whitespace ParenPad ')' is preceded with whitespace. 386
 Error whitespace ParenPad '(' is followed by whitespace. 387
 Error whitespace ParenPad ')' is preceded with whitespace. 387
 Error javadoc JavadocMethod Missing a Javadoc comment. 403
 Error whitespace ParenPad '(' is followed by whitespace. 403
 Error misc FinalParameters Parameter schema should be final. 403
 Error whitespace ParenPad ')' is preceded with whitespace. 403
 Error sizes LineLength Line is longer than 80 characters (found 89). 410

org/apache/streams/plugins/elasticsearch/StreamsElasticsearchResourceGeneratorMojo.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 whitespace ParenPad '(' is followed by whitespace. 37
 Error whitespace ParenPad '(' is followed by whitespace. 40
 Error sizes LineLength Line is longer than 80 characters (found 112). 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error sizes LineLength Line is longer than 80 characters (found 91). 55
 Error sizes LineLength Line is longer than 80 characters (found 81). 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error whitespace ParenPad '(' is followed by whitespace. 61
 Error whitespace ParenPad ')' is preceded with whitespace. 61
 Error sizes LineLength Line is longer than 80 characters (found 85). 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 64
 Error whitespace ParenPad '(' is followed by whitespace. 64
 Error whitespace ParenPad ')' is preceded with whitespace. 64
 Error design VisibilityModifier Variable 'sourceDirectory' must be private and have accessor methods. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error whitespace ParenPad '(' is followed by whitespace. 67
 Error whitespace ParenPad ')' is preceded with whitespace. 67
 Error design VisibilityModifier Variable 'sourcePaths' must be private and have accessor methods. 68
 Error sizes LineLength Line is longer than 80 characters (found 105). 70
 Error javadoc JavadocVariable Missing a Javadoc comment. 70
 Error design VisibilityModifier Variable 'targetDirectory' must be private and have accessor methods. 71
 Error design DesignForExtension Class 'StreamsElasticsearchResourceGeneratorMojo' looks like designed for extension (can be subclassed), but the method 'execute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsElasticsearchResourceGeneratorMojo' final or making the method 'execute' static/final/abstract/empty, or adding allowed annotation for the method. 73
 Error javadoc JavadocMethod Missing a Javadoc comment. 73
 Error sizes LineLength Line is longer than 80 characters (found 93). 77
 Error whitespace ParenPad '(' is followed by whitespace. 79
 Error sizes LineLength Line is longer than 80 characters (found 132). 86