This project has retired. For details please refer to its Attic page.
streams-example-twitter-history-elasticsearch – Checkstyle Results Fork me on GitHub

Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 0 79

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
coding HiddenField 5  Error
SimplifyBooleanExpression 1  Error
design DesignForExtension 10  Error
VisibilityModifier 1  Error
imports UnusedImports 3  Error
javadoc JavadocMethod 6  Error
JavadocPackage 2  Error
JavadocStyle 6  Error
JavadocType 1  Error
JavadocVariable 4  Error
misc FinalParameters 7  Error
modifier ModifierOrder 2  Error
naming ConstantName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
12  Error
sizes LineLength 16  Error

Details

org/apache/streams/example/TwitterHistoryElasticsearch.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error imports UnusedImports Unused import - org.apache.streams.config.ComponentConfigurator. 21
 Error imports UnusedImports Unused import - org.apache.streams.jackson.StreamsJacksonMapper. 26
 Error imports UnusedImports Unused import - org.apache.streams.local.LocalRuntimeConfiguration. 27
 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 112). 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 Method 'run' is not designed for extension - needs to be abstract, final or empty. 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 91). 77
 Error sizes LineLength Line is longer than 80 characters (found 149). 78
 Error sizes LineLength Line is longer than 80 characters (found 153). 79

org/apache/streams/example/TwitterHistoryElasticsearchConfiguration.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 19
 Error blocks LeftCurly '{' at column 1 should be on the previous line. 28
 Error javadoc JavadocStyle First sentence should end with a period. 30
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 33
 Error javadoc JavadocStyle First sentence should end with a period. 40
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error design DesignForExtension Method 'getTwitter' is not designed for extension - needs to be abstract, final or empty. 58
 Error javadoc JavadocStyle First sentence should end with a period. 64
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error design DesignForExtension Method 'setTwitter' is not designed for extension - needs to be abstract, final or empty. 71
 Error misc FinalParameters Parameter twitter should be final. 73
 Error coding HiddenField 'twitter' hides a field. 73
 Error sizes LineLength Line is longer than 80 characters (found 111). 77
 Error design DesignForExtension Method 'withTwitter' is not designed for extension - needs to be abstract, final or empty. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter twitter should be final. 77
 Error coding HiddenField 'twitter' hides a field. 77
 Error javadoc JavadocStyle First sentence should end with a period. 82
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error design DesignForExtension Method 'getElasticsearch' is not designed for extension - needs to be abstract, final or empty. 89
 Error javadoc JavadocStyle First sentence should end with a period. 95
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error regexp RegexpSingleline Line has trailing spaces. 98
 Error design DesignForExtension Method 'setElasticsearch' is not designed for extension - needs to be abstract, final or empty. 102
 Error sizes LineLength Line is longer than 80 characters (found 82). 104
 Error misc FinalParameters Parameter elasticsearch should be final. 104
 Error coding HiddenField 'elasticsearch' hides a field. 104
 Error sizes LineLength Line is longer than 80 characters (found 119). 108
 Error design DesignForExtension Method 'withElasticsearch' is not designed for extension - needs to be abstract, final or empty. 108
 Error javadoc JavadocMethod Missing a Javadoc comment. 108
 Error misc FinalParameters Parameter elasticsearch should be final. 108
 Error coding HiddenField 'elasticsearch' hides a field. 108
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 113
 Error design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 118
 Error sizes LineLength Line is longer than 80 characters (found 88). 120
 Error design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 123
 Error misc FinalParameters Parameter other should be final. 124
 Error sizes LineLength Line is longer than 80 characters (found 83). 128
 Error coding SimplifyBooleanExpression Expression can be simplified. 128
 Error sizes LineLength Line is longer than 80 characters (found 106). 131
 Error sizes LineLength Line is longer than 80 characters (found 116). 132