Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
7 14 20 39

Rules

Rules Violations Severity
JavadocPackage 1 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
12 Warnings Warning
AnnotationUseStyle 0 Errors Error
MissingDeprecated 0 Errors Error
MissingOverride
  • javaFiveCompatibility: "true"
0 Errors Error
PackageAnnotation 0 Errors Error
JavadocMethod
  • scope: "package"
17 Errors Error
JavadocType
  • scope: "package"
2 Errors Error
JavadocVariable
  • scope: "package"
2 Errors Error
JavadocStyle
  • scope: "package"
0 Errors Error
ConstantName 2 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
ImportOrder
  • separated: "true"
  • groups: "java,javax,com.atlassian,com,org"
7 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
LineLength
  • max: "120"
8 Warnings Warning
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly
  • option: "nl"
0 Errors Error
NeedBraces 0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
DeclarationOrder 2 Errors Error
DefaultComesLast 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
ExplicitInitialization 0 Errors Error
FallThrough 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 1 Errors Error
MissingSwitchDefault 0 Errors Error
ParameterAssignment 2 Errors Error
RedundantThrows
  • allowUnchecked: "true"
0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
DesignForExtension 14 Infos Info
FinalClass 0 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 0 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 0 Errors Error
ClassFanOutComplexity
  • max: "10"
2 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
0 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 0 Errors Error
Indentation 0 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/refimpl/ApplicationGadgetSpecProviderImpl.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 11
Errors Missing a Javadoc comment. 13
Errors Missing a Javadoc comment. 14
Errors Missing a Javadoc comment. 18
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 23
Errors Missing a Javadoc comment. 23
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 28
Errors Missing a Javadoc comment. 28

com/atlassian/gadgets/refimpl/ExternalGadgetSpecIdGeneratorImpl.java

Violation Message Line
Infos Method 'newExternalGadgetSpecId' is not designed for extension - needs to be abstract, final or empty. 30
Errors Missing a Javadoc comment. 30

com/atlassian/gadgets/refimpl/GadgetStateFactoryImpl.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.spi.GadgetStateFactory' import. 8
Errors Wrong order for 'com.atlassian.sal.api.transaction.TransactionCallback' import. 12
Infos Method 'createGadgetState' is not designed for extension - needs to be abstract, final or empty. 55

com/atlassian/gadgets/refimpl/PermissionServiceImpl.java

Violation Message Line
Errors Missing a Javadoc comment. 22
Infos Method 'isReadableBy' is not designed for extension - needs to be abstract, final or empty. 27
Errors Missing a Javadoc comment. 27
Infos Method 'isWritableBy' is not designed for extension - needs to be abstract, final or empty. 39
Errors Missing a Javadoc comment. 39
Warnings Line is longer than 120 characters. 47
Infos Method 'canConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. 51
Errors Missing a Javadoc comment. 51

com/atlassian/gadgets/refimpl/PluginSettingsDashboardStateStore.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.dashboard.Color' import. 10
Errors Wrong order for 'com.atlassian.gadgets.dashboard.Layout' import. 15
Errors 'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. 24
Errors Missing a Javadoc comment. 27
Errors Class Fan-Out Complexity is 16 (max allowed is 10). 27
Warnings Line has trailing spaces. 30
Errors Missing a Javadoc comment. 31
Infos Method 'retrieve' is not designed for extension - needs to be abstract, final or empty. 36
Errors Missing a Javadoc comment. 36
Warnings Line is longer than 120 characters. 39
Warnings Line has trailing spaces. 44
Warnings Line has trailing spaces. 46
Warnings Line has trailing spaces. 50
Warnings Line is longer than 120 characters. 54
Warnings Line is longer than 120 characters. 60
Infos Method 'store' is not designed for extension - needs to be abstract, final or empty. 73
Errors Missing a Javadoc comment. 73
Warnings Line is longer than 120 characters. 76
Warnings Line is longer than 120 characters. 85
Warnings Line has trailing spaces. 93
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 94
Errors Missing a Javadoc comment. 94
Warnings Line is longer than 120 characters. 97
Warnings Line has trailing spaces. 114
Warnings Line has trailing spaces. 120
Warnings Line is longer than 120 characters. 123
Warnings Line has trailing spaces. 130
Warnings Line has trailing spaces. 134
Warnings Line has trailing spaces. 146
Warnings Line has trailing spaces. 159
Warnings Line has trailing spaces. 165
Errors '15' is a magic number. 184

com/atlassian/gadgets/refimpl/PluginSettingsExternalGadgetSpecStore.java

Violation Message Line
Errors Wrong order for 'java.util.Set' import. 6
Errors 'org.apache.commons.logging.Log' should be separated from previous imports. 21
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 27
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 29
Errors Missing a Javadoc comment. 36
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 47
Errors Missing a Javadoc comment. 47
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 88
Errors Missing a Javadoc comment. 88
Errors Assignment of parameter 'gadgetSpecUri' is not allowed. 91
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 115
Errors Missing a Javadoc comment. 115
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 155
Errors Missing a Javadoc comment. 155
Errors Assignment of parameter 'gadgetSpecUri' is not allowed. 158
Errors 'abstract' modifier out of order with the JLS suggestions. 239
Errors Name 'length' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 241
Errors Instance variable definition in wrong order. 271
Errors Constructor definition in wrong order. 273