The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
1 | 1 | 7 | 21 |
Files | I | W | E |
---|---|---|---|
com/atlassian/gadgets/refimpl/ui/DashboardFilter.java | 1 | 7 | 21 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
2 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
0 | Error |
JavadocType
|
1 | Error |
JavadocVariable
|
0 | 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
|
5 | Warning |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 4 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 6 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 1 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 0 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 0 | 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 | 3 | Error |
MissingSwitchDefault | 0 | Error |
ParameterAssignment | 0 | Error |
RedundantThrows
|
0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
DesignForExtension | 1 | Info |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
1 | Error |
CyclomaticComplexity | 1 | Error |
NPathComplexity
|
1 | Error |
JavaNCSS | 0 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 0 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Wrong order for 'com.atlassian.gadgets.view.ModuleId' import. | 37 | |
Wrong order for 'com.atlassian.plugin.webresource.UrlMode' import. | 39 | |
Missing a Javadoc comment. | 44 | |
Class Fan-Out Complexity is 34 (max allowed is 10). | 44 | |
Line is longer than 120 characters. | 76 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 76 | |
Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. | 76 | |
NPath Complexity is 216 (max allowed is 20). | 76 | |
'if' is not followed by whitespace. | 148 | |
Line is longer than 120 characters. | 157 | |
'5' is a magic number. | 168 | |
'5' is a magic number. | 168 | |
'5' is a magic number. | 169 | |
Must have at least one statement. | 186 | |
Line is longer than 120 characters. | 192 | |
Line is longer than 120 characters. | 201 | |
Line has trailing spaces. | 253 | |
'+' should be on a new line. | 256 | |
'+' should be on a new line. | 257 | |
'+' should be on a new line. | 258 | |
'+' should be on a new line. | 259 | |
Line is longer than 120 characters. | 261 | |
Line has trailing spaces. | 267 | |
'{' is not preceded with whitespace. | 281 | |
'{' is not followed by whitespace. | 281 | |
'}' is not preceded with whitespace. | 281 | |
'{' is not followed by whitespace. | 282 | |
'}' is not preceded with whitespace. | 282 |