The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
9 | 1 | 17 | 55 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
9 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
6 | Error |
JavadocType
|
11 | Error |
JavadocVariable
|
3 | Error |
JavadocStyle
|
0 | Error |
ConstantName | 1 | 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
|
12 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
LineLength
|
8 | 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 | 1 | Error |
WhitespaceAround | 4 | Error |
ModifierOrder | 1 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 4 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 1 | Error |
DefaultComesLast | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
ExplicitInitialization | 1 | 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 | 1 | Info |
FinalClass | 5 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 1 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
2 | Error |
CyclomaticComplexity | 0 | Error |
NPathComplexity
|
0 | Error |
JavaNCSS | 0 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 1 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
'org.apache.commons.httpclient.NameValuePair' should be separated from previous imports. | 8 | |
Missing a Javadoc comment. | 11 |
Violation | Message | Line |
---|---|---|
Wrong order for 'org.apache.xerces.parsers.DOMParser' import. | 15 | |
Class DashboardParser should be declared as final. | 24 | |
Missing a Javadoc comment. | 24 | |
Class Fan-Out Complexity is 14 (max allowed is 10). | 24 | |
'if' construct must use '{}'s. | 35 | |
'if' construct must use '{}'s. | 37 | |
Line is longer than 120 characters. | 38 | |
ctor def rcurly at indentation level 3 not at correct indentation, 4 | 42 | |
Line has trailing spaces. | 43 | |
Line is longer than 120 characters. | 52 |
Violation | Message | Line |
---|---|---|
'org.w3c.dom.Node' should be separated from previous imports. | 8 | |
Class DashboardTabParser should be declared as final. | 10 | |
Missing a Javadoc comment. | 10 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Wrong order for 'com.atlassian.gadgets.test.Nodes.XPath.findNode' import. | 5 | |
Class DirectoryEntryParser should be declared as final. | 9 | |
Missing a Javadoc comment. | 9 |
Violation | Message | Line |
---|---|---|
'org.mockito.Mockito.mock' should be separated from previous imports. | 4 | |
Wrong order for 'java.net.URI' import. | 7 | |
'com.google.common.collect.ImmutableMap' should be separated from previous imports. | 12 | |
Class ExampleGadgetSpecs should be declared as final. | 14 | |
Missing a Javadoc comment. | 14 | |
Missing a Javadoc comment. | 16 | |
Missing a Javadoc comment. | 17 | |
Missing a Javadoc comment. | 18 | |
Constructor definition in wrong order. | 59 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Predicate' import. | 21 | |
'org.apache.commons.lang.BooleanUtils.toStringTrueFalse' should be separated from previous imports. | 23 | |
Wrong order for 'org.apache.commons.lang.builder.ToStringBuilder' import. | 25 | |
Wrong order for 'org.w3c.dom.Node' import. | 27 | |
Class GadgetParser should be declared as final. | 29 | |
Missing a Javadoc comment. | 29 | |
Class Fan-Out Complexity is 13 (max allowed is 10). | 29 | |
'if' construct must use '{}'s. | 38 | |
'if' construct must use '{}'s. | 40 | |
Line is longer than 120 characters. | 41 | |
',' is not followed by whitespace. | 44 | |
Line has trailing spaces. | 83 | |
Line is longer than 120 characters. | 91 | |
Line has trailing spaces. | 98 | |
Missing a Javadoc comment. | 108 | |
Line is longer than 120 characters. | 118 | |
Line is longer than 120 characters. | 138 | |
Line is longer than 120 characters. | 153 | |
Missing a Javadoc comment. | 181 | |
Line has trailing spaces. | 184 | |
Line is longer than 120 characters. | 189 | |
Line has trailing spaces. | 202 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 14 | |
'{' is not followed by whitespace. | 16 | |
'}' is not preceded with whitespace. | 16 | |
Line has trailing spaces. | 22 | |
Line has trailing spaces. | 32 | |
Missing a Javadoc comment. | 33 | |
'private' modifier out of order with the JLS suggestions. | 35 | |
Name 'xpathFactory' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 35 | |
'{' is not followed by whitespace. | 37 | |
'}' is not preceded with whitespace. | 37 | |
Line has trailing spaces. | 38 | |
Missing a Javadoc comment. | 44 | |
Variable 'index' explicitly initialized to '0' (default value for its type). | 48 | |
Variable 'index' must be private and have accessor methods. | 48 | |
Missing a Javadoc comment. | 50 | |
Missing a Javadoc comment. | 55 | |
Missing a Javadoc comment. | 60 | |
Missing a Javadoc comment. | 67 | |
Line has trailing spaces. | 73 | |
Missing a Javadoc comment. | 97 |