The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
2 | 2 | 6 | 21 |
Files | I | W | E |
---|---|---|---|
com/atlassian/gadgets/refimpl/ui/DashboardFilter.java | 1 | 5 | 13 |
com/atlassian/gadgets/refimpl/ui/DashboardServlet.java | 1 | 1 | 8 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
1 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
0 | Error |
JavadocType
|
2 | 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
|
0 | 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 | 2 | Info |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
2 | Error |
CyclomaticComplexity | 0 | Error |
NPathComplexity
|
2 | 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 | |
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 a Javadoc comment. | 25 | |
Class Fan-Out Complexity is 17 (max allowed is 10). | 25 | |
Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 48 | |
NPath Complexity is 27 (max allowed is 20). | 48 | |
'if' is not followed by whitespace. | 84 | |
Line is longer than 120 characters. | 93 | |
'5' is a magic number. | 102 | |
'5' is a magic number. | 102 | |
'5' is a magic number. | 103 | |
Must have at least one statement. | 120 |