The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
4 | 4 | 15 | 14 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
13 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
0 | Error |
JavadocType
|
3 | Error |
JavadocVariable
|
3 | Error |
JavadocStyle
|
0 | 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 |
ImportOrder
|
2 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
LineLength
|
2 | Warning |
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 |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 2 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 0 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 1 | Error |
DefaultComesLast | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
ExplicitInitialization | 0 | Error |
FallThrough | 0 | Error |
HiddenField
|
0 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 0 | Error |
MissingSwitchDefault | 0 | Error |
ParameterAssignment | 0 | Error |
RedundantThrows
|
0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
DesignForExtension | 4 | Info |
FinalClass | 2 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
0 | Error |
CyclomaticComplexity | 0 | Error |
NPathComplexity
|
0 | Error |
JavaNCSS | 0 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 0 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.gadgets.spec.GadgetSpec.gadgetSpec' import. | 11 | |
'org.mockito.Mockito.mock' should be separated from previous imports. | 12 | |
Class ExampleGadgetSpecs should be declared as final. | 15 | |
Missing a Javadoc comment. | 15 | |
Missing a Javadoc comment. | 17 | |
Missing a Javadoc comment. | 18 | |
Missing a Javadoc comment. | 19 | |
Constructor definition in wrong order. | 60 |
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 9 | |
Line has trailing spaces. | 11 | |
Method 'get' is not designed for extension - needs to be abstract, final or empty. | 32 | |
Method 'put' is not designed for extension - needs to be abstract, final or empty. | 37 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 42 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 10 | |
'{' is not followed by whitespace. | 12 | |
'}' is not preceded with whitespace. | 12 | |
Line has trailing spaces. | 13 | |
Line has trailing spaces. | 23 | |
Line has trailing spaces. | 28 | |
Line has trailing spaces. | 43 | |
Line has trailing spaces. | 48 | |
Line has trailing spaces. | 74 | |
Line has trailing spaces. | 98 | |
Line has trailing spaces. | 105 | |
Line has trailing spaces. | 110 | |
Class HeaderMatcherBuilder should be declared as final. | 111 | |
Missing a Javadoc comment. | 111 | |
Line has trailing spaces. | 114 | |
Line has trailing spaces. | 119 | |
Line has trailing spaces. | 125 | |
Line is longer than 120 characters. | 144 |