Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
6 0 0 74

Rules

Rules Violations Severity
PackageHtml 3 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
JavadocMethod 12 Errors Error
JavadocType 0 Errors Error
JavadocVariable 8 Errors Error
JavadocStyle 3 Errors Error
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 1 Errors Error
UnusedImports 0 Errors Error
FileLength 0 Errors Error
LineLength 16 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
TabCharacter 2 Errors Error
WhitespaceAfter 1 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 0 Errors Error
NeedBraces 0 Errors Error
RightCurly 0 Errors Error
AvoidInlineConditionals 1 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField 1 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 0 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 1 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
DesignForExtension 18 Errors Error
FinalClass 0 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 1 Errors Error
ArrayTypeStyle 0 Errors Error
FinalParameters 4 Errors Error
GenericIllegalRegexp
  • message : "Line has trailing spaces."
  • format : "\s+$"
2 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/octo/captcha/MockCaptcha.java

Violation Message Line
Errors Line is longer than 80 characters. 2
Errors Line is longer than 80 characters. 8
Errors First sentence should end with a period. 16
Errors Missing a Javadoc comment. 23
Errors Missing a Javadoc comment. 24
Errors Missing a Javadoc comment. 25
Errors Missing a Javadoc comment. 27
Errors Missing a Javadoc comment. 28
Errors Missing a Javadoc comment. 30
Errors Parameter locale should be final. 30
Errors 'locale' hides a field. 30
Errors Line contains a tab character. 31
Errors Line has trailing spaces. 33
Errors Method 'getQuestion' is not designed for extension - needs to be abstract, final or empty. 39
Errors Method 'getChallenge' is not designed for extension - needs to be abstract, final or empty. 48
Errors Avoid inline conditionals. 50
Errors Method 'validateResponse' is not designed for extension - needs to be abstract, final or empty. 60
Errors Parameter response should be final. 60
Errors Line is longer than 80 characters. 65
Errors Line is longer than 80 characters. 66
Errors Line is longer than 80 characters. 67
Errors Method 'disposeChallenge' is not designed for extension - needs to be abstract, final or empty. 70
Errors Line is longer than 80 characters. 75
Errors Method 'hasGetChalengeBeenCalled' is not designed for extension - needs to be abstract, final or empty. 80

com/octo/captcha/engine/MockCaptchaEngine.java

Violation Message Line
Errors Line is longer than 80 characters. 2
Errors Redundant import from the same package - com.octo.captcha.engine.CaptchaEngineException. 12
Errors First sentence should end with a period. 16
Errors Line is longer than 80 characters. 22
Errors Method 'getNextCaptcha' is not designed for extension - needs to be abstract, final or empty. 28
Errors Method 'getNextCaptcha' is not designed for extension - needs to be abstract, final or empty. 39
Errors Parameter locale should be final. 39
Errors Method 'getFactories' is not designed for extension - needs to be abstract, final or empty. 46
Errors Line is longer than 80 characters. 56
Errors Parameter factories should be final. 56
Errors Redundant throws: 'CaptchaEngineException' is unchecked exception. 56

com/octo/captcha/engine/package.html

Violation Message Line
Errors Missing package documentation file. 0

com/octo/captcha/package.html

Violation Message Line
Errors Missing package documentation file. 0

com/octo/captcha/service/captchastore/CaptchaStoreTestAbstract.java

Violation Message Line
Errors Line is longer than 80 characters. 2
Errors First sentence should end with a period. 17
Errors Line is longer than 80 characters. 20
Errors Missing a Javadoc comment. 25
Errors Variable 'store' must be private and have accessor methods. 25
Errors Missing a Javadoc comment. 26
Errors Missing a Javadoc comment. 27
Errors Method 'setUp' is not designed for extension - needs to be abstract, final or empty. 29
Errors Missing a Javadoc comment. 29
Errors Line has trailing spaces. 35
Errors Method 'tearDown' is not designed for extension - needs to be abstract, final or empty. 36
Errors Missing a Javadoc comment. 36
Errors Line contains a tab character. 37
Errors Missing a Javadoc comment. 40
Errors Method 'testHasCaptcha' is not designed for extension - needs to be abstract, final or empty. 43
Errors Missing a Javadoc comment. 43
Errors Method 'testStoreCaptcha' is not designed for extension - needs to be abstract, final or empty. 54
Errors Missing a Javadoc comment. 54
Errors Method 'testStoreCaptchaAndLocale' is not designed for extension - needs to be abstract, final or empty. 67
Errors Missing a Javadoc comment. 67
Errors ',' is not followed by whitespace. 74
Errors Method 'testRemoveCaptcha' is not designed for extension - needs to be abstract, final or empty. 81
Errors Missing a Javadoc comment. 81
Errors Line is longer than 80 characters. 90
Errors Line is longer than 80 characters. 94
Errors Method 'testGetSize' is not designed for extension - needs to be abstract, final or empty. 101
Errors Missing a Javadoc comment. 101
Errors Line is longer than 80 characters. 110
Errors Method 'testGetKeys' is not designed for extension - needs to be abstract, final or empty. 115
Errors Missing a Javadoc comment. 115
Errors Line is longer than 80 characters. 125
Errors Method 'testGetCaptcha' is not designed for extension - needs to be abstract, final or empty. 134
Errors Missing a Javadoc comment. 134
Errors Line is longer than 80 characters. 141
Errors Method 'testEmpty' is not designed for extension - needs to be abstract, final or empty. 148
Errors Missing a Javadoc comment. 148

com/octo/captcha/service/captchastore/package.html

Violation Message Line
Errors Missing package documentation file. 0