The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
7 | 14 | 20 | 39 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
12 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
17 | Error |
JavadocType
|
2 | Error |
JavadocVariable
|
2 | Error |
JavadocStyle
|
0 | Error |
ConstantName | 2 | 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
|
7 | 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 |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 1 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 0 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 2 | 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 | 1 | Error |
MissingSwitchDefault | 0 | Error |
ParameterAssignment | 2 | Error |
RedundantThrows
|
0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
DesignForExtension | 14 | 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
|
0 | 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. | 11 | |
Missing a Javadoc comment. | 13 | |
Missing a Javadoc comment. | 14 | |
Missing a Javadoc comment. | 18 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 23 | |
Missing a Javadoc comment. | 23 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 28 | |
Missing a Javadoc comment. | 28 |
Violation | Message | Line |
---|---|---|
Method 'newExternalGadgetSpecId' is not designed for extension - needs to be abstract, final or empty. | 30 | |
Missing a Javadoc comment. | 30 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.gadgets.spi.GadgetStateFactory' import. | 8 | |
Wrong order for 'com.atlassian.sal.api.transaction.TransactionCallback' import. | 12 | |
Method 'createGadgetState' is not designed for extension - needs to be abstract, final or empty. | 55 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 22 | |
Method 'isReadableBy' is not designed for extension - needs to be abstract, final or empty. | 27 | |
Missing a Javadoc comment. | 27 | |
Method 'isWritableBy' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Missing a Javadoc comment. | 39 | |
Line is longer than 120 characters. | 47 | |
Method 'canConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. | 51 | |
Missing a Javadoc comment. | 51 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.gadgets.dashboard.Color' import. | 10 | |
Wrong order for 'com.atlassian.gadgets.dashboard.Layout' import. | 15 | |
'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. | 24 | |
Missing a Javadoc comment. | 27 | |
Class Fan-Out Complexity is 16 (max allowed is 10). | 27 | |
Line has trailing spaces. | 30 | |
Missing a Javadoc comment. | 31 | |
Method 'retrieve' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Missing a Javadoc comment. | 36 | |
Line is longer than 120 characters. | 39 | |
Line has trailing spaces. | 44 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 50 | |
Line is longer than 120 characters. | 54 | |
Line is longer than 120 characters. | 60 | |
Method 'store' is not designed for extension - needs to be abstract, final or empty. | 73 | |
Missing a Javadoc comment. | 73 | |
Line is longer than 120 characters. | 76 | |
Line is longer than 120 characters. | 85 | |
Line has trailing spaces. | 93 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 94 | |
Missing a Javadoc comment. | 94 | |
Line is longer than 120 characters. | 97 | |
Line has trailing spaces. | 114 | |
Line has trailing spaces. | 120 | |
Line is longer than 120 characters. | 123 | |
Line has trailing spaces. | 130 | |
Line has trailing spaces. | 134 | |
Line has trailing spaces. | 146 | |
Line has trailing spaces. | 159 | |
Line has trailing spaces. | 165 | |
'15' is a magic number. | 184 |
Violation | Message | Line |
---|---|---|
Wrong order for 'java.util.Set' import. | 6 | |
'org.apache.commons.logging.Log' should be separated from previous imports. | 21 | |
Class Fan-Out Complexity is 13 (max allowed is 10). | 27 | |
Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 29 | |
Missing a Javadoc comment. | 36 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Missing a Javadoc comment. | 47 | |
Method 'add' is not designed for extension - needs to be abstract, final or empty. | 88 | |
Missing a Javadoc comment. | 88 | |
Assignment of parameter 'gadgetSpecUri' is not allowed. | 91 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 115 | |
Missing a Javadoc comment. | 115 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 155 | |
Missing a Javadoc comment. | 155 | |
Assignment of parameter 'gadgetSpecUri' is not allowed. | 158 | |
'abstract' modifier out of order with the JLS suggestions. | 239 | |
Name 'length' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 241 | |
Instance variable definition in wrong order. | 271 | |
Constructor definition in wrong order. | 273 |