The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
8 | 14 | 13 | 26 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 0 | 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
|
4 | Error |
JavadocType
|
2 | Error |
JavadocVariable
|
3 | 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
|
1 | 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 | 3 | 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 | 0 | 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 a Javadoc comment. | 11 | |
Missing a Javadoc comment. | 13 | |
Missing a Javadoc comment. | 14 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 23 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 28 |
Violation | Message | Line |
---|---|---|
Method 'newExternalGadgetSpecId' is not designed for extension - needs to be abstract, final or empty. | 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 | |
Missing a Javadoc comment. | 64 |
Violation | Message | Line |
---|---|---|
Method 'isReadableBy' is not designed for extension - needs to be abstract, final or empty. | 27 | |
Method 'isWritableBy' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Line is longer than 120 characters. | 47 | |
Method 'canConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. | 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 17 (max allowed is 10). | 27 | |
Line has trailing spaces. | 30 | |
Method 'retrieve' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 48 | |
Line has trailing spaces. | 52 | |
Method 'store' is not designed for extension - needs to be abstract, final or empty. | 77 | |
Line has trailing spaces. | 100 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 101 | |
Line has trailing spaces. | 123 | |
Line has trailing spaces. | 129 | |
Line has trailing spaces. | 140 | |
Line has trailing spaces. | 144 | |
Line has trailing spaces. | 156 | |
Line has trailing spaces. | 169 | |
Line has trailing spaces. | 175 |
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. | 30 | |
Variable access definition in wrong order. | 30 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 48 | |
Method 'add' is not designed for extension - needs to be abstract, final or empty. | 89 | |
Assignment of parameter 'gadgetSpecUri' is not allowed. | 92 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 116 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 156 | |
Assignment of parameter 'gadgetSpecUri' is not allowed. | 159 | |
'abstract' modifier out of order with the JLS suggestions. | 240 | |
Name 'length' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 242 | |
Missing a Javadoc comment. | 244 | |
Missing a Javadoc comment. | 254 | |
Missing a Javadoc comment. | 265 | |
Instance variable definition in wrong order. | 272 | |
Constructor definition in wrong order. | 274 |