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
4 0 0 106

Rules

Category Rule Violations Severity
coding HiddenField 5  Error
design DesignForExtension 15  Error
VisibilityModifier 6  Error
imports UnusedImports
  • processJavadoc: "false"
1  Error
javadoc JavadocMethod 9  Error
JavadocPackage 1  Error
JavadocStyle 6  Error
JavadocType 1  Error
JavadocVariable 15  Error
misc FinalParameters 18  Error
NewlineAtEndOfFile 1  Error
sizes LineLength 12  Error
whitespace ParenPad 16  Error

Details

org/apache/streams/plugins/JuneauPojoAnnotator.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocStyle First sentence should end with a period. 29
 Error javadoc JavadocStyle First sentence should end with a period. 34
 Error misc FinalParameters Parameter field should be final. 43
 Error misc FinalParameters Parameter clazz should be final. 43
 Error javadoc JavadocMethod Expected @param tag for 'clazz'. 43
 Error misc FinalParameters Parameter propertyName should be final. 44
 Error misc FinalParameters Parameter propertyNode should be final. 44
 Error javadoc JavadocMethod Expected @param tag for 'propertyNode'. 44
 Error javadoc JavadocStyle First sentence should end with a period. 49
 Error misc FinalParameters Parameter getter should be final. 59
 Error misc FinalParameters Parameter propertyName should be final. 59
 Error javadoc JavadocStyle First sentence should end with a period. 63
 Error misc FinalParameters Parameter setter should be final. 73
 Error misc FinalParameters Parameter propertyName should be final. 73
 Error misc FinalParameters Parameter getter should be final. 86
 Error misc FinalParameters Parameter setter should be final. 99

org/apache/streams/plugins/StreamsPojoGenerationConfig.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.jsonschema2pojo.NoopAnnotator. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setSourceDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'setSourceDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error misc FinalParameters Parameter sourceDirectory should be final. 44
 Error coding HiddenField 'sourceDirectory' hides a field. 44
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setSourcePaths' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'setSourcePaths' static/final/abstract/empty, or adding allowed annotation for the method. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter sourcePaths should be final. 48
 Error coding HiddenField 'sourcePaths' hides a field. 48
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setTargetPackage' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'setTargetPackage' static/final/abstract/empty, or adding allowed annotation for the method. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter targetPackage should be final. 52
 Error coding HiddenField 'targetPackage' hides a field. 52
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'setTargetDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'setTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error misc FinalParameters Parameter targetDirectory should be final. 56
 Error coding HiddenField 'targetDirectory' hides a field. 56
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getTargetPackage' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'getTargetPackage' static/final/abstract/empty, or adding allowed annotation for the method. 60
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getTargetDirectory' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'getTargetDirectory' static/final/abstract/empty, or adding allowed annotation for the method. 65
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getSource' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'getSource' static/final/abstract/empty, or adding allowed annotation for the method. 70
 Error sizes LineLength Line is longer than 80 characters (found 81). 73
 Error whitespace ParenPad '(' is followed by whitespace. 76
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isGenerateBuilders' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isGenerateBuilders' static/final/abstract/empty, or adding allowed annotation for the method. 84
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isUseLongIntegers' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isUseLongIntegers' static/final/abstract/empty, or adding allowed annotation for the method. 89
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isRemoveOldOutput' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isRemoveOldOutput' static/final/abstract/empty, or adding allowed annotation for the method. 94
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isUseJodaDates' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isUseJodaDates' static/final/abstract/empty, or adding allowed annotation for the method. 99
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isIncludeJsr303Annotations' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isIncludeJsr303Annotations' static/final/abstract/empty, or adding allowed annotation for the method. 104
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'isUseCommonsLang3' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'isUseCommonsLang3' static/final/abstract/empty, or adding allowed annotation for the method. 109
 Error design DesignForExtension Class 'StreamsPojoGenerationConfig' looks like designed for extension (can be subclassed), but the method 'getCustomAnnotator' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'StreamsPojoGenerationConfig' final or making the method 'getCustomAnnotator' static/final/abstract/empty, or adding allowed annotation for the method. 119

org/apache/streams/plugins/StreamsPojoSourceGenerator.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 32
 Error sizes LineLength Line is longer than 80 characters (found 81). 39
 Error sizes LineLength Line is longer than 80 characters (found 97). 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error sizes LineLength Line is longer than 80 characters (found 132). 55
 Error misc FinalParameters Parameter args should be final. 59
 Error whitespace ParenPad '(' is followed by whitespace. 66
 Error whitespace ParenPad ')' is preceded with whitespace. 66
 Error whitespace ParenPad '(' is followed by whitespace. 69
 Error whitespace ParenPad ')' is preceded with whitespace. 69
 Error whitespace ParenPad '(' is followed by whitespace. 72
 Error whitespace ParenPad ')' is preceded with whitespace. 72
 Error sizes LineLength Line is longer than 80 characters (found 99). 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 84
 Error misc FinalParameters Parameter config should be final. 84
 Error coding HiddenField 'config' hides a field. 84
 Error design DesignForExtension Class 'StreamsPojoSourceGenerator' 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 'StreamsPojoSourceGenerator' final or making the method 'run' static/final/abstract/empty, or adding allowed annotation for the method. 88
 Error javadoc JavadocMethod Missing a Javadoc comment. 100
 Error misc FinalParameters Parameter pojoFile should be final. 100
 Error misc FinalParameters Parameter pojoHive should be final. 100
 Error whitespace ParenPad '(' is followed by whitespace. 104
 Error whitespace ParenPad ')' is preceded with whitespace. 104
 Error sizes LineLength Line is longer than 80 characters (found 91). 107

org/apache/streams/plugins/StreamsPojoSourceGeneratorMojo.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocType Missing a Javadoc comment. 39
 Error sizes LineLength Line is longer than 80 characters (found 101). 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 49
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error javadoc JavadocVariable Missing a Javadoc comment. 53
 Error design VisibilityModifier Variable 'project' must be private and have accessor methods. 54
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error whitespace ParenPad '(' is followed by whitespace. 56
 Error whitespace ParenPad ')' is preceded with whitespace. 56
 Error design VisibilityModifier Variable 'basedir' must be private and have accessor methods. 57
 Error sizes LineLength Line is longer than 80 characters (found 87). 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 59
 Error whitespace ParenPad '(' is followed by whitespace. 59
 Error whitespace ParenPad ')' is preceded with whitespace. 59
 Error design VisibilityModifier Variable 'sourceDirectory' must be private and have accessor methods. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 62
 Error whitespace ParenPad '(' is followed by whitespace. 62
 Error whitespace ParenPad ')' is preceded with whitespace. 62
 Error design VisibilityModifier Variable 'sourcePaths' must be private and have accessor methods. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error design VisibilityModifier Variable 'targetDirectory' must be private and have accessor methods. 66
 Error javadoc JavadocVariable Missing a Javadoc comment. 68
 Error design VisibilityModifier Variable 'targetPackage' must be private and have accessor methods. 69
 Error whitespace ParenPad '(' is followed by whitespace. 82
 Error sizes LineLength Line is longer than 80 characters (found 99). 90
 Error javadoc JavadocMethod Missing a Javadoc comment. 95
 Error sizes LineLength Line is longer than 80 characters (found 82). 99
 Error sizes LineLength Line is longer than 80 characters (found 108). 100
 Error sizes LineLength Line is longer than 80 characters (found 116). 104