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 75

Rules

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

Details

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 imports UnusedImports Unused import - org.apache.streams.config.ComponentConfigurator. 21
 Error imports UnusedImports Unused import - org.apache.streams.jackson.StreamsJacksonMapper. 29
 Error imports UnusedImports Unused import - org.apache.streams.local.LocalRuntimeConfiguration. 30
 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 103). 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 Method 'run' is not designed for extension - needs to be abstract, final or empty. 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 101). 84
 Error sizes LineLength Line is longer than 80 characters (found 146). 85
 Error sizes LineLength Line is longer than 80 characters (found 147). 86
 Error sizes LineLength Line is longer than 80 characters (found 161). 87
 Error javadoc JavadocMethod Missing a Javadoc comment. 92
 Error misc FinalParameters Parameter args should be final. 92

org/apache/streams/example/TwitterFollowNeo4jConfiguration.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 95). 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 'getNeo4j' 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 'setNeo4j' is not designed for extension - needs to be abstract, final or empty. 102
 Error misc FinalParameters Parameter neo4j should be final. 104
 Error coding HiddenField 'neo4j' hides a field. 104
 Error design DesignForExtension Method 'withNeo4j' 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 neo4j should be final. 108
 Error coding HiddenField 'neo4j' 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 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 coding SimplifyBooleanExpression Expression can be simplified. 128
 Error sizes LineLength Line is longer than 80 characters (found 88). 131
 Error sizes LineLength Line is longer than 80 characters (found 100). 132