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
2 0 0 68

Rules

Category Rule Violations Severity
coding HiddenField 2  Error
design DesignForExtension 8  Error
javadoc JavadocMethod 4  Error
JavadocPackage 1  Error
JavadocVariable 11  Error
misc FinalParameters 6  Error
sizes LineLength 6  Error
whitespace ParenPad 27  Error
TypecastParenPad 1  Error
WhitespaceAfter 2  Error

Details

org/apache/streams/json/JsonPathExtractor.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error sizes LineLength Line is longer than 80 characters (found 88). 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. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 54
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error misc FinalParameters Parameter pathExpression should be final. 58
 Error coding HiddenField 'pathExpression' hides a field. 58
 Error design DesignForExtension Class 'JsonPathExtractor' 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 'JsonPathExtractor' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 63
 Error design DesignForExtension Class 'JsonPathExtractor' 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 'JsonPathExtractor' final or making the method 'process' static/final/abstract/empty, or adding allowed annotation for the method. 68
 Error misc FinalParameters Parameter entry should be final. 69
 Error whitespace ParenPad '(' is followed by whitespace. 77
 Error whitespace ParenPad ')' is preceded with whitespace. 77
 Error whitespace ParenPad '(' is followed by whitespace. 84
 Error whitespace ParenPad ')' is preceded with whitespace. 84
 Error whitespace ParenPad '(' is followed by whitespace. 88
 Error sizes LineLength Line is longer than 80 characters (found 103). 101
 Error sizes LineLength Line is longer than 80 characters (found 107). 116
 Error whitespace ParenPad '(' is followed by whitespace. 127
 Error whitespace ParenPad ')' is preceded with whitespace. 127
 Error design DesignForExtension Class 'JsonPathExtractor' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JsonPathExtractor' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 139
 Error misc FinalParameters Parameter configurationObject should be final. 140
 Error whitespace ParenPad '(' is followed by whitespace. 141
 Error whitespace ParenPad ')' is preceded with whitespace. 141
 Error whitespace ParenPad '(' is followed by whitespace. 143
 Error whitespace ParenPad ')' is preceded with whitespace. 143
 Error design DesignForExtension Class 'JsonPathExtractor' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JsonPathExtractor' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 149

org/apache/streams/json/JsonPathFilter.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error sizes LineLength Line is longer than 80 characters (found 85). 53
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error javadoc JavadocVariable Missing a Javadoc comment. 55
 Error javadoc JavadocVariable Missing a Javadoc comment. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 65
 Error misc FinalParameters Parameter pathExpression should be final. 65
 Error coding HiddenField 'pathExpression' hides a field. 65
 Error design DesignForExtension Class 'JsonPathFilter' 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 'JsonPathFilter' final or making the method 'getId' static/final/abstract/empty, or adding allowed annotation for the method. 70
 Error design DesignForExtension Class 'JsonPathFilter' 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 'JsonPathFilter' final or making the method 'process' static/final/abstract/empty, or adding allowed annotation for the method. 75
 Error misc FinalParameters Parameter entry should be final. 76
 Error whitespace ParenPad '(' is followed by whitespace. 86
 Error whitespace ParenPad ')' is preceded with whitespace. 86
 Error whitespace ParenPad '(' is followed by whitespace. 93
 Error whitespace ParenPad ')' is preceded with whitespace. 93
 Error whitespace ParenPad '(' is followed by whitespace. 105
 Error whitespace ParenPad '(' is followed by whitespace. 110
 Error whitespace ParenPad ')' is preceded with whitespace. 110
 Error whitespace ParenPad '(' is followed by whitespace. 125
 Error whitespace ParenPad ')' is preceded with whitespace. 125
 Error whitespace ParenPad '(' is followed by whitespace. 128
 Error whitespace ParenPad ')' is preceded with whitespace. 128
 Error whitespace ParenPad '(' is followed by whitespace. 137
 Error whitespace ParenPad ')' is preceded with whitespace. 137
 Error sizes LineLength Line is longer than 80 characters (found 81). 139
 Error whitespace ParenPad '(' is followed by whitespace. 144
 Error whitespace ParenPad ')' is preceded with whitespace. 144
 Error design DesignForExtension Class 'JsonPathFilter' looks like designed for extension (can be subclassed), but the method 'prepare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JsonPathFilter' final or making the method 'prepare' static/final/abstract/empty, or adding allowed annotation for the method. 160
 Error misc FinalParameters Parameter configurationObject should be final. 161
 Error whitespace ParenPad '(' is followed by whitespace. 162
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 163
 Error whitespace TypecastParenPad '(' is followed by whitespace. 163
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 163
 Error sizes LineLength Line is longer than 80 characters (found 83). 166
 Error design DesignForExtension Class 'JsonPathFilter' looks like designed for extension (can be subclassed), but the method 'cleanUp' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'JsonPathFilter' final or making the method 'cleanUp' static/final/abstract/empty, or adding allowed annotation for the method. 172