The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
2 | 2 | 6 | 23 |
Files | I | W | E |
---|---|---|---|
com/atlassian/gadgets/refimpl/ui/DashboardFilter.java | 1 | 5 | 12 |
com/atlassian/gadgets/refimpl/ui/DashboardServlet.java | 1 | 1 | 11 |
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 | 2 | 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 a Javadoc comment. | 32 | |
Class Fan-Out Complexity is 23 (max allowed is 10). | 32 | |
Line is longer than 120 characters. | 53 | |
Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. | 53 | |
NPath Complexity is 48 (max allowed is 20). | 53 | |
Line is longer than 120 characters. | 115 | |
Line is longer than 120 characters. | 124 | |
Line has trailing spaces. | 151 | |
'+' should be on a new line. | 154 | |
'+' should be on a new line. | 155 | |
'+' should be on a new line. | 156 | |
'+' should be on a new line. | 157 | |
Line is longer than 120 characters. | 159 | |
'{' is not preceded with whitespace. | 166 | |
'{' is not followed by whitespace. | 166 | |
'}' is not preceded with whitespace. | 166 | |
'{' is not followed by whitespace. | 167 | |
'}' is not preceded with whitespace. | 167 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Unused import - java.io.UnsupportedEncodingException. | 4 | |
Unused import - java.net.URLDecoder. | 6 | |
Missing a Javadoc comment. | 26 | |
Class Fan-Out Complexity is 16 (max allowed is 10). | 26 | |
Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 47 | |
NPath Complexity is 27 (max allowed is 20). | 47 | |
'if' is not followed by whitespace. | 82 | |
Line is longer than 120 characters. | 91 | |
'5' is a magic number. | 100 | |
'5' is a magic number. | 100 | |
'5' is a magic number. | 101 | |
Must have at least one statement. | 118 |