The following document contains the results of Checkstyle
.
| Files | Infos |
Warnings |
Errors |
|---|---|---|---|
| 2 | 0 | 0 | 33 |
| Files | I |
W |
E |
|---|---|---|---|
| com/octo/captcha/module/servlet/image/SimpleImageCaptchaServlet.java | 0 | 0 | 32 |
| com/octo/captcha/module/servlet/image/package.html | 0 | 0 | 1 |
| Rules | Violations | Severity |
|---|---|---|
| PackageHtml | 1 | |
| NewlineAtEndOfFile | 0 | |
| Translation | 0 | |
| JavadocMethod | 2 | |
| JavadocType | 0 | |
| JavadocVariable | 1 | |
| JavadocStyle | 0 | |
| ConstantName | 0 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 0 | |
| FileLength | 0 | |
| LineLength | 10 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| TabCharacter | 0 | |
| WhitespaceAfter | 1 | |
| WhitespaceAround | 6 | |
| ModifierOrder | 0 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 1 | |
| LeftCurly | 3 | |
| NeedBraces | 1 | |
| RightCurly | 1 | |
| AvoidInlineConditionals | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| HiddenField | 0 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 0 | |
| MissingSwitchDefault | 0 | |
| RedundantThrows | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 1 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 0 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 1 | |
| ArrayTypeStyle | 0 | |
| FinalParameters | 4 | |
GenericIllegalRegexp
|
0 | |
| TodoComment | 0 | |
| UpperEll | 0 |
| Violation | Message | Line |
|---|---|---|
| Line is longer than 80 characters. | 2 | |
| '{' should be on the previous line. | 28 | |
| Line is longer than 80 characters. | 29 | |
| Missing a Javadoc comment. | 29 | |
| Variable 'service' must be private and have accessor methods. | 29 | |
| '=' is not preceded with whitespace. | 29 | |
| Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 33 | |
| Missing a Javadoc comment. | 33 | |
| Line is longer than 80 characters. | 34 | |
| Parameter httpServletRequest should be final. | 34 | |
| Parameter httpServletResponse should be final. | 34 | |
| Line is longer than 80 characters. | 38 | |
| Line is longer than 80 characters. | 39 | |
| Line is longer than 80 characters. | 40 | |
| Line is longer than 80 characters. | 49 | |
| Line is longer than 80 characters. | 51 | |
| '{' should be on the previous line. | 56 | |
| '}' should be on the same line. | 58 | |
| '{' should be on the previous line. | 60 | |
| Line is longer than 80 characters. | 66 | |
| Missing a Javadoc comment. | 66 | |
| Parameter request should be final. | 66 | |
| Parameter userCaptchaResponse should be final. | 66 | |
| '{' is not preceded with whitespace. | 66 | |
| 'if' construct must use '{}'s. | 68 | |
| 'if' is not followed by whitespace. | 68 | |
| '==' is not preceded with whitespace. | 68 | |
| '==' is not followed by whitespace. | 68 | |
| 'return' is not preceded with whitespace. | 68 | |
| Line is longer than 80 characters. | 72 | |
| ',' is not followed by whitespace. | 72 | |
| Must have at least one statement. | 73 |