The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
9 | 16 | 12 | 36 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 0 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
8 | 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
|
9 | Error |
RedundantImport | 0 | Error |
UnusedImports | 0 | Error |
LineLength
|
4 | Warning |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 2 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 2 | Error |
WhitespaceAround | 1 | Error |
ModifierOrder | 1 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 0 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 5 | 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 | 16 | 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 |
---|---|---|
Wrong order for 'com.atlassian.gadgets.plugins.PluginGadgetSpec' import. | 5 | |
Line has trailing spaces. | 22 | |
Method 'voteOn' is not designed for extension - needs to be abstract, final or empty. | 23 | |
Line has trailing spaces. | 38 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.plugin.webresource.UrlMode' import. | 8 | |
Missing a Javadoc comment. | 12 | |
Missing a Javadoc comment. | 14 | |
Missing a Javadoc comment. | 15 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 24 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 29 |
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. | 35 | |
Method 'isWritableBy' is not designed for extension - needs to be abstract, final or empty. | 47 | |
'if' is not followed by whitespace. | 52 | |
'4' is a magic number. | 56 | |
Line is longer than 120 characters. | 63 | |
Method 'canConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. | 67 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex' import. | 10 | |
Wrong order for 'com.atlassian.gadgets.dashboard.Color' import. | 12 | |
'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. | 26 | |
Missing a Javadoc comment. | 29 | |
Class Fan-Out Complexity is 19 (max allowed is 10). | 29 | |
Static variable definition in wrong order. | 33 | |
Static variable definition in wrong order. | 35 | |
Method 'retrieve' is not designed for extension - needs to be abstract, final or empty. | 42 | |
Line is longer than 120 characters. | 56 | |
'cast' is not followed by whitespace. | 68 | |
'+' should be on a new line. | 85 | |
Line is longer than 120 characters. | 86 | |
'+' should be on a new line. | 86 | |
Method 'findDashboardWithGadget' is not designed for extension - needs to be abstract, final or empty. | 102 | |
Line is longer than 120 characters. | 110 | |
Method 'update' is not designed for extension - needs to be abstract, final or empty. | 110 | |
'cast' is not followed by whitespace. | 117 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 136 | |
Line has trailing spaces. | 179 | |
Line has trailing spaces. | 190 | |
Line has trailing spaces. | 194 | |
Line has trailing spaces. | 206 | |
Line has trailing spaces. | 219 | |
Line has trailing spaces. | 225 |
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 |