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
8 0 0 187

Rules

Category Rule Violations Severity
blocks LeftCurly 6  Error
coding HiddenField 4  Error
design DesignForExtension 9  Error
VisibilityModifier 5  Error
javadoc JavadocMethod 24  Error
JavadocPackage 6  Error
JavadocStyle 1  Error
JavadocType 1  Error
JavadocVariable 22  Error
misc FinalParameters 16  Error
NewlineAtEndOfFile 3  Error
modifier ModifierOrder 13  Error
naming ConstantName 1  Error
sizes LineLength 76  Error

Details

log4j.properties

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.

org/apache/streams/example/ElasticsearchHdfs.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 82). 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Error sizes LineLength Line is longer than 80 characters (found 88). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 129). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter reindex should be final. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter args should be final. 52
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 53
 Error design DesignForExtension Class 'ElasticsearchHdfs' 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 'ElasticsearchHdfs' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error sizes LineLength Line is longer than 80 characters (found 111). 62
 Error sizes LineLength Line is longer than 80 characters (found 95). 63
 Error sizes LineLength Line is longer than 80 characters (found 132). 66
 Error sizes LineLength Line is longer than 80 characters (found 112). 69
 Error sizes LineLength Line is longer than 80 characters (found 158). 70

org/apache/streams/example/ElasticsearchReindex.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Error sizes LineLength Line is longer than 80 characters (found 91). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 132). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error misc FinalParameters Parameter reindex should be final. 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 53
 Error misc FinalParameters Parameter args should be final. 53
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 54
 Error design DesignForExtension Class 'ElasticsearchReindex' 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 'ElasticsearchReindex' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 63
 Error sizes LineLength Line is longer than 80 characters (found 111). 66
 Error sizes LineLength Line is longer than 80 characters (found 116). 68
 Error sizes LineLength Line is longer than 80 characters (found 132). 71
 Error sizes LineLength Line is longer than 80 characters (found 112). 74
 Error sizes LineLength Line is longer than 80 characters (found 173). 75

org/apache/streams/example/HdfsElasticsearch.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 82). 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Error sizes LineLength Line is longer than 80 characters (found 88). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 129). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter reindex should be final. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter args should be final. 52
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 53
 Error design DesignForExtension Class 'HdfsElasticsearch' 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 'HdfsElasticsearch' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error sizes LineLength Line is longer than 80 characters (found 93). 62
 Error sizes LineLength Line is longer than 80 characters (found 116). 63
 Error sizes LineLength Line is longer than 80 characters (found 132). 66
 Error sizes LineLength Line is longer than 80 characters (found 100). 69
 Error sizes LineLength Line is longer than 80 characters (found 167). 70
 Error misc NewlineAtEndOfFile File does not end with a newline.

org/apache/streams/example/MongoElasticsearchSync.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 38
 Error sizes LineLength Line is longer than 80 characters (found 93). 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error sizes LineLength Line is longer than 80 characters (found 169). 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter config should be final. 48
 Error coding HiddenField 'config' hides a field. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter args should be final. 52
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 53
 Error design DesignForExtension Class 'MongoElasticsearchSync' 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 'MongoElasticsearchSync' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 62
 Error sizes LineLength Line is longer than 80 characters (found 87). 65
 Error sizes LineLength Line is longer than 80 characters (found 116). 67
 Error sizes LineLength Line is longer than 80 characters (found 132). 70
 Error sizes LineLength Line is longer than 80 characters (found 96). 73
 Error sizes LineLength Line is longer than 80 characters (found 165). 74

org/apache/streams/example/TwitterFollowNeo4j.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 87). 47
 Error sizes LineLength Line is longer than 80 characters (found 89). 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error sizes LineLength Line is longer than 80 characters (found 130). 57
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error misc FinalParameters Parameter config should be final. 60
 Error coding HiddenField 'config' hides a field. 60
 Error design DesignForExtension Class 'TwitterFollowNeo4j' 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 'TwitterFollowNeo4j' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 64
 Error javadoc JavadocMethod Missing a Javadoc comment. 64
 Error sizes LineLength Line is longer than 80 characters (found 86). 66
 Error sizes LineLength Line is longer than 80 characters (found 109). 67
 Error sizes LineLength Line is longer than 80 characters (found 136). 70
 Error sizes LineLength Line is longer than 80 characters (found 138). 71
 Error sizes LineLength Line is longer than 80 characters (found 85). 72
 Error sizes LineLength Line is longer than 80 characters (found 114). 76
 Error sizes LineLength Line is longer than 80 characters (found 95). 79
 Error sizes LineLength Line is longer than 80 characters (found 132). 83
 Error sizes LineLength Line is longer than 80 characters (found 101). 86
 Error sizes LineLength Line is longer than 80 characters (found 146). 87
 Error sizes LineLength Line is longer than 80 characters (found 147). 88
 Error sizes LineLength Line is longer than 80 characters (found 161). 89
 Error javadoc JavadocMethod Missing a Javadoc comment. 94
 Error misc FinalParameters Parameter args should be final. 94

org/apache/streams/example/TwitterHistoryElasticsearch.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 84). 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 42
 Error sizes LineLength Line is longer than 80 characters (found 98). 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error naming ConstantName Name 'mapper' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error design VisibilityModifier Variable 'config' must be private and have accessor methods. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error sizes LineLength Line is longer than 80 characters (found 139). 51
 Error sizes LineLength Line is longer than 80 characters (found 87). 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 54
 Error misc FinalParameters Parameter config should be final. 54
 Error coding HiddenField 'config' hides a field. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error misc FinalParameters Parameter args should be final. 58
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 59
 Error design DesignForExtension Class 'TwitterHistoryElasticsearch' 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 'TwitterHistoryElasticsearch' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 69
 Error javadoc JavadocMethod Missing a Javadoc comment. 69
 Error sizes LineLength Line is longer than 80 characters (found 88). 71
 Error sizes LineLength Line is longer than 80 characters (found 98). 73
 Error sizes LineLength Line is longer than 80 characters (found 132). 76
 Error sizes LineLength Line is longer than 80 characters (found 91). 79
 Error sizes LineLength Line is longer than 80 characters (found 149). 80
 Error sizes LineLength Line is longer than 80 characters (found 153). 81

org/apache/streams/example/TwitterUserstreamElasticsearch.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error sizes LineLength Line is longer than 80 characters (found 99). 52
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 56
 Error sizes LineLength Line is longer than 80 characters (found 101). 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error sizes LineLength Line is longer than 80 characters (found 88). 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 66
 Error javadoc JavadocMethod Missing a Javadoc comment. 68
 Error sizes LineLength Line is longer than 80 characters (found 142). 69
 Error sizes LineLength Line is longer than 80 characters (found 93). 73
 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 javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter args should be final. 77
 Error blocks LeftCurly '{' at column 3 should be on the previous line. 78
 Error sizes LineLength Line is longer than 80 characters (found 85). 81
 Error design DesignForExtension Class 'TwitterUserstreamElasticsearch' 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 'TwitterUserstreamElasticsearch' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 86
 Error sizes LineLength Line is longer than 80 characters (found 98). 90
 Error sizes LineLength Line is longer than 80 characters (found 89). 92
 Error sizes LineLength Line is longer than 80 characters (found 140). 94
 Error sizes LineLength Line is longer than 80 characters (found 105). 95
 Error sizes LineLength Line is longer than 80 characters (found 141). 96
 Error sizes LineLength Line is longer than 80 characters (found 108). 98
 Error sizes LineLength Line is longer than 80 characters (found 132). 101
 Error sizes LineLength Line is longer than 80 characters (found 87). 104
 Error sizes LineLength Line is longer than 80 characters (found 147). 105
 Error sizes LineLength Line is longer than 80 characters (found 159). 106
 Error sizes LineLength Line is longer than 80 characters (found 151). 107
 Error sizes LineLength Line is longer than 80 characters (found 160). 108
 Error sizes LineLength Line is longer than 80 characters (found 155). 109
 Error sizes LineLength Line is longer than 80 characters (found 149). 110
 Error javadoc JavadocType Missing a Javadoc comment. 116
 Error design DesignForExtension Class 'SetDeleteIdProcessor' looks like designed for extension (can be subclassed), but the method 'getId' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SetDeleteIdProcessor' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 118
 Error javadoc JavadocMethod Missing a Javadoc comment. 118
 Error design DesignForExtension Class 'SetDeleteIdProcessor' looks like designed for extension (can be subclassed), but the method 'process' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SetDeleteIdProcessor' final or making the method 'process' static/final/abstract/empty, or adding allowed annotation for the method. 122
 Error misc FinalParameters Parameter entry should be final. 123
 Error sizes LineLength Line is longer than 80 characters (found 93). 125
 Error misc FinalParameters Parameter configurationObject should be final. 136