The following document contains the results of Checkstyle .
Files | Infos | Warnings | Errors |
---|---|---|---|
6 | 0 | 0 | 74 |
Rules | Violations | Severity |
---|---|---|
PackageHtml | 3 | Error |
NewlineAtEndOfFile | 0 | Error |
Translation | 0 | Error |
JavadocMethod | 12 | Error |
JavadocType | 0 | Error |
JavadocVariable | 8 | Error |
JavadocStyle | 3 | Error |
ConstantName | 0 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 1 | Error |
UnusedImports | 0 | Error |
FileLength | 0 | Error |
LineLength | 16 | Error |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
TabCharacter | 2 | Error |
WhitespaceAfter | 1 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly | 0 | Error |
NeedBraces | 0 | Error |
RightCurly | 0 | Error |
AvoidInlineConditionals | 1 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField | 1 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 0 | Error |
MissingSwitchDefault | 0 | Error |
RedundantThrows | 1 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
DesignForExtension | 18 | Error |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 1 | Error |
ArrayTypeStyle | 0 | Error |
FinalParameters | 4 | Error |
GenericIllegalRegexp
|
2 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Line is longer than 80 characters. | 2 | |
Line is longer than 80 characters. | 8 | |
First sentence should end with a period. | 16 | |
Missing a Javadoc comment. | 23 | |
Missing a Javadoc comment. | 24 | |
Missing a Javadoc comment. | 25 | |
Missing a Javadoc comment. | 27 | |
Missing a Javadoc comment. | 28 | |
Missing a Javadoc comment. | 30 | |
Parameter locale should be final. | 30 | |
'locale' hides a field. | 30 | |
Line contains a tab character. | 31 | |
Line has trailing spaces. | 33 | |
Method 'getQuestion' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Method 'getChallenge' is not designed for extension - needs to be abstract, final or empty. | 48 | |
Avoid inline conditionals. | 50 | |
Method 'validateResponse' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Parameter response should be final. | 60 | |
Line is longer than 80 characters. | 65 | |
Line is longer than 80 characters. | 66 | |
Line is longer than 80 characters. | 67 | |
Method 'disposeChallenge' is not designed for extension - needs to be abstract, final or empty. | 70 | |
Line is longer than 80 characters. | 75 | |
Method 'hasGetChalengeBeenCalled' is not designed for extension - needs to be abstract, final or empty. | 80 |
Violation | Message | Line |
---|---|---|
Line is longer than 80 characters. | 2 | |
Redundant import from the same package - com.octo.captcha.engine.CaptchaEngineException. | 12 | |
First sentence should end with a period. | 16 | |
Line is longer than 80 characters. | 22 | |
Method 'getNextCaptcha' is not designed for extension - needs to be abstract, final or empty. | 28 | |
Method 'getNextCaptcha' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Parameter locale should be final. | 39 | |
Method 'getFactories' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Line is longer than 80 characters. | 56 | |
Parameter factories should be final. | 56 | |
Redundant throws: 'CaptchaEngineException' is unchecked exception. | 56 |
Violation | Message | Line |
---|---|---|
Line is longer than 80 characters. | 2 | |
First sentence should end with a period. | 17 | |
Line is longer than 80 characters. | 20 | |
Missing a Javadoc comment. | 25 | |
Variable 'store' must be private and have accessor methods. | 25 | |
Missing a Javadoc comment. | 26 | |
Missing a Javadoc comment. | 27 | |
Method 'setUp' is not designed for extension - needs to be abstract, final or empty. | 29 | |
Missing a Javadoc comment. | 29 | |
Line has trailing spaces. | 35 | |
Method 'tearDown' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Missing a Javadoc comment. | 36 | |
Line contains a tab character. | 37 | |
Missing a Javadoc comment. | 40 | |
Method 'testHasCaptcha' is not designed for extension - needs to be abstract, final or empty. | 43 | |
Missing a Javadoc comment. | 43 | |
Method 'testStoreCaptcha' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Missing a Javadoc comment. | 54 | |
Method 'testStoreCaptchaAndLocale' is not designed for extension - needs to be abstract, final or empty. | 67 | |
Missing a Javadoc comment. | 67 | |
',' is not followed by whitespace. | 74 | |
Method 'testRemoveCaptcha' is not designed for extension - needs to be abstract, final or empty. | 81 | |
Missing a Javadoc comment. | 81 | |
Line is longer than 80 characters. | 90 | |
Line is longer than 80 characters. | 94 | |
Method 'testGetSize' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Missing a Javadoc comment. | 101 | |
Line is longer than 80 characters. | 110 | |
Method 'testGetKeys' is not designed for extension - needs to be abstract, final or empty. | 115 | |
Missing a Javadoc comment. | 115 | |
Line is longer than 80 characters. | 125 | |
Method 'testGetCaptcha' is not designed for extension - needs to be abstract, final or empty. | 134 | |
Missing a Javadoc comment. | 134 | |
Line is longer than 80 characters. | 141 | |
Method 'testEmpty' is not designed for extension - needs to be abstract, final or empty. | 148 | |
Missing a Javadoc comment. | 148 |