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
5 0 0 120

Rules

Category Rule Violations Severity
coding HiddenField 2  Error
design DesignForExtension 2  Error
HideUtilityClassConstructor 2  Error
VisibilityModifier 1  Error
javadoc JavadocMethod 5  Error
JavadocPackage 1  Error
JavadocType 1  Error
JavadocVariable 3  Error
misc FinalParameters 28  Error
sizes LineLength 27  Error
whitespace NoWhitespaceBefore 1  Error
OperatorWrap 4  Error
ParenPad 41  Error
WhitespaceAround 2  Error

Details

org/apache/streams/verbs/ObjectCombinationGenericOrdering.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 83). 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 30
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 30
 Error design DesignForExtension Class 'ObjectCombinationGenericOrdering' looks like designed for extension (can be subclassed), but the method 'compare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ObjectCombinationGenericOrdering' final or making the method 'compare' static/final/abstract/empty, or adding allowed annotation for the method. 32
 Error misc FinalParameters Parameter left should be final. 33
 Error misc FinalParameters Parameter right should be final. 33
 Error whitespace ParenPad '(' is followed by whitespace. 34
 Error whitespace ParenPad '(' is followed by whitespace. 36
 Error whitespace ParenPad '(' is followed by whitespace. 38
 Error whitespace ParenPad '(' is followed by whitespace. 40
 Error whitespace ParenPad '(' is followed by whitespace. 42
 Error whitespace ParenPad '(' is followed by whitespace. 44
 Error whitespace ParenPad '(' is followed by whitespace. 46
 Error whitespace ParenPad '(' is followed by whitespace. 48
 Error sizes LineLength Line is longer than 80 characters (found 81). 50
 Error whitespace ParenPad '(' is followed by whitespace. 50
 Error sizes LineLength Line is longer than 80 characters (found 81). 52
 Error whitespace ParenPad '(' is followed by whitespace. 52
 Error misc FinalParameters Parameter objectCombination should be final. 64
 Error whitespace ParenPad '(' is followed by whitespace. 66
 Error whitespace ParenPad '(' is followed by whitespace. 69
 Error whitespace ParenPad '(' is followed by whitespace. 72
 Error whitespace ParenPad '(' is followed by whitespace. 75
 Error misc FinalParameters Parameter pattern should be final. 86

org/apache/streams/verbs/ObjectCombinationSpecificOrdering.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 84). 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter activity should be final. 35
 Error coding HiddenField 'activity' hides a field. 35
 Error design DesignForExtension Class 'ObjectCombinationSpecificOrdering' looks like designed for extension (can be subclassed), but the method 'compare' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ObjectCombinationSpecificOrdering' final or making the method 'compare' static/final/abstract/empty, or adding allowed annotation for the method. 39
 Error misc FinalParameters Parameter left should be final. 40
 Error misc FinalParameters Parameter right should be final. 40
 Error whitespace ParenPad '(' is followed by whitespace. 43
 Error sizes LineLength Line is longer than 80 characters (found 111). 45
 Error whitespace ParenPad '(' is followed by whitespace. 45
 Error sizes LineLength Line is longer than 80 characters (found 111). 47
 Error whitespace ParenPad '(' is followed by whitespace. 47
 Error sizes LineLength Line is longer than 80 characters (found 115). 49
 Error whitespace ParenPad '(' is followed by whitespace. 49
 Error sizes LineLength Line is longer than 80 characters (found 115). 51
 Error whitespace ParenPad '(' is followed by whitespace. 51
 Error sizes LineLength Line is longer than 80 characters (found 115). 53
 Error whitespace ParenPad '(' is followed by whitespace. 53
 Error sizes LineLength Line is longer than 80 characters (found 115). 55
 Error whitespace ParenPad '(' is followed by whitespace. 55
 Error sizes LineLength Line is longer than 80 characters (found 121). 57
 Error whitespace ParenPad '(' is followed by whitespace. 57
 Error sizes LineLength Line is longer than 80 characters (found 121). 59
 Error whitespace ParenPad '(' is followed by whitespace. 59
 Error misc FinalParameters Parameter objectCombination should be final. 71
 Error whitespace ParenPad '(' is followed by whitespace. 73
 Error whitespace ParenPad '(' is followed by whitespace. 76
 Error whitespace ParenPad '(' is followed by whitespace. 79
 Error whitespace ParenPad '(' is followed by whitespace. 82
 Error sizes LineLength Line is longer than 80 characters (found 85). 89
 Error misc FinalParameters Parameter activityObject should be final. 94
 Error misc FinalParameters Parameter pattern should be final. 94

org/apache/streams/verbs/VerbDefinitionMatchUtil.java

Severity Category Rule Message Line
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 29
 Error sizes LineLength Line is longer than 80 characters (found 89). 37
 Error misc FinalParameters Parameter activity should be final. 37
 Error misc FinalParameters Parameter verbDefinitionSet should be final. 37
 Error whitespace ParenPad '(' is followed by whitespace. 39
 Error whitespace ParenPad '(' is followed by whitespace. 40
 Error whitespace ParenPad '(' is followed by whitespace. 40
 Error whitespace ParenPad ')' is preceded with whitespace. 40
 Error sizes LineLength Line is longer than 80 characters (found 81). 54
 Error misc FinalParameters Parameter activity should be final. 54
 Error misc FinalParameters Parameter verbDefinition should be final. 54
 Error whitespace ParenPad '(' is followed by whitespace. 56

org/apache/streams/verbs/VerbDefinitionResolver.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 34
 Error sizes LineLength Line is longer than 80 characters (found 93). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error design VisibilityModifier Variable 'verbDefinitionSet' must be private and have accessor methods. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error misc FinalParameters Parameter verbDefinitionSet should be final. 44
 Error coding HiddenField 'verbDefinitionSet' hides a field. 44
 Error misc FinalParameters Parameter activity should be final. 54
 Error sizes LineLength Line is longer than 80 characters (found 110). 59
 Error sizes LineLength Line is longer than 80 characters (found 97). 62
 Error whitespace ParenPad '(' is followed by whitespace. 63
 Error whitespace ParenPad '(' is followed by whitespace. 64
 Error whitespace ParenPad '(' is followed by whitespace. 69
 Error misc FinalParameters Parameter activity should be final. 84
 Error whitespace ParenPad '(' is followed by whitespace. 88
 Error whitespace ParenPad ')' is preceded with whitespace. 88
 Error whitespace ParenPad '(' is followed by whitespace. 89
 Error whitespace ParenPad '(' is followed by whitespace. 90
 Error misc FinalParameters Parameter activity should be final. 109
 Error misc FinalParameters Parameter criteria should be final. 109
 Error sizes LineLength Line is longer than 80 characters (found 93). 111
 Error sizes LineLength Line is longer than 80 characters (found 92). 113
 Error sizes LineLength Line is longer than 80 characters (found 98). 115
 Error sizes LineLength Line is longer than 80 characters (found 92). 117
 Error whitespace NoWhitespaceBefore ';' is preceded with whitespace. 118
 Error sizes LineLength Line is longer than 80 characters (found 101). 122
 Error javadoc JavadocMethod Missing a Javadoc comment. 122
 Error misc FinalParameters Parameter activityObject should be final. 122
 Error misc FinalParameters Parameter required should be final. 122
 Error misc FinalParameters Parameter pattern should be final. 122
 Error whitespace OperatorWrap '&&' should be on a new line. 123
 Error whitespace OperatorWrap '||' should be on a new line. 124
 Error whitespace OperatorWrap '||' should be on a new line. 125
 Error whitespace OperatorWrap '&&' should be on a new line. 126

org/apache/streams/verbs/VerbDefinitionTemplateUtil.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 31
 Error sizes LineLength Line is longer than 80 characters (found 89). 39
 Error misc FinalParameters Parameter activity should be final. 39
 Error misc FinalParameters Parameter objectCombination should be final. 39
 Error sizes LineLength Line is longer than 80 characters (found 98). 46
 Error sizes LineLength Line is longer than 80 characters (found 106). 52
 Error misc FinalParameters Parameter language should be final. 52
 Error misc FinalParameters Parameter activity should be final. 52
 Error misc FinalParameters Parameter objectCombination should be final. 52
 Error sizes LineLength Line is longer than 80 characters (found 104). 54
 Error misc FinalParameters Parameter activityObject should be final. 71
 Error whitespace ParenPad '(' is followed by whitespace. 72
 Error whitespace ParenPad ')' is preceded with whitespace. 72