The following document contains the results of Checkstyle. 
| Files | Infos |
Warnings |
Errors |
|---|---|---|---|
| 2 | 2 | 6 | 22 |
| Files | I |
W |
E |
|---|---|---|---|
| com/atlassian/gadgets/refimpl/ui/DashboardFilter.java | 1 | 5 | 12 |
| com/atlassian/gadgets/refimpl/ui/DashboardServlet.java | 1 | 1 | 10 |
| Rules | Violations | Severity |
|---|---|---|
| JavadocPackage | 1 | |
| Translation | 0 | |
| FileLength | 0 | |
FileTabCharacter
|
0 | |
RegexpSingleline
|
2 | |
| AnnotationUseStyle | 0 | |
| MissingDeprecated | 0 | |
MissingOverride
|
0 | |
| PackageAnnotation | 0 | |
JavadocMethod
|
1 | |
JavadocType
|
2 | |
JavadocVariable
|
0 | |
JavadocStyle
|
0 | |
| ConstantName | 0 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 0 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 0 | |
| IllegalImport | 0 | |
ImportOrder
|
0 | |
| RedundantImport | 0 | |
| UnusedImports | 0 | |
LineLength
|
4 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 4 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| WhitespaceAfter | 0 | |
| WhitespaceAround | 5 | |
| ModifierOrder | 0 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 1 | |
LeftCurly
|
0 | |
| NeedBraces | 0 | |
RightCurly
|
0 | |
| DeclarationOrder | 0 | |
| DefaultComesLast | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| ExplicitInitialization | 0 | |
| FallThrough | 0 | |
HiddenField
|
0 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 3 | |
| MissingSwitchDefault | 0 | |
| ParameterAssignment | 0 | |
RedundantThrows
|
0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| StringLiteralEquality | 0 | |
| DesignForExtension | 2 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 0 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 0 | |
| BooleanExpressionComplexity | 0 | |
| ClassDataAbstractionCoupling | 0 | |
ClassFanOutComplexity
|
2 | |
| CyclomaticComplexity | 0 | |
NPathComplexity
|
2 | |
| JavaNCSS | 0 | |
| ArrayTypeStyle | 0 | |
| Indentation | 1 | |
| TodoComment | 0 | |
| UpperEll | 0 |
| Violation | Message | Line |
|---|---|---|
| Missing a Javadoc comment. | 33 | |
| Class Fan-Out Complexity is 24 (max allowed is 10). | 33 | |
| Line is longer than 120 characters. | 54 | |
| Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| NPath Complexity is 48 (max allowed is 20). | 54 | |
| Line is longer than 120 characters. | 120 | |
| Line is longer than 120 characters. | 129 | |
| Line has trailing spaces. | 181 | |
| '+' should be on a new line. | 184 | |
| '+' should be on a new line. | 185 | |
| '+' should be on a new line. | 186 | |
| '+' should be on a new line. | 187 | |
| Line is longer than 120 characters. | 189 | |
| '{' is not preceded with whitespace. | 196 | |
| '{' is not followed by whitespace. | 196 | |
| '}' is not preceded with whitespace. | 196 | |
| '{' is not followed by whitespace. | 197 | |
| '}' is not preceded with whitespace. | 197 |
| Violation | Message | Line |
|---|---|---|
| Missing package-info.java file. | 0 | |
| Missing a Javadoc comment. | 34 | |
| Class Fan-Out Complexity is 23 (max allowed is 10). | 34 | |
| Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 58 | |
| NPath Complexity is 27 (max allowed is 20). | 58 | |
| Line has trailing spaces. | 105 | |
| Missing a Javadoc comment. | 109 | |
| object def rcurly at indentation level 12 not at correct indentation, [20, 24] | 114 | |
| '5' is a magic number. | 124 | |
| '5' is a magic number. | 124 | |
| '5' is a magic number. | 125 | |
| Must have at least one statement. | 142 |