Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
16 20 67 51

Rules

Rules Violations Severity
JavadocPackage 3 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
53 Warnings Warning
AnnotationUseStyle 0 Errors Error
MissingDeprecated 0 Errors Error
MissingOverride
  • javaFiveCompatibility: "true"
0 Errors Error
PackageAnnotation 0 Errors Error
JavadocMethod
  • excludeScope: "private"
  • scope: "anoninner"
3 Errors Error
JavadocType
  • scope: "package"
6 Errors Error
JavadocVariable
  • scope: "package"
0 Errors Error
JavadocStyle
  • scope: "package"
0 Errors Error
ConstantName 1 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"
21 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 Errors Error
LineLength
  • max: "120"
14 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
OperatorWrap 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 0 Errors Error
ModifierOrder 0 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 5 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 0 Errors Error
MissingSwitchDefault 0 Errors Error
ParameterAssignment 1 Errors Error
RedundantThrows
  • allowUnchecked: "true"
0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
DesignForExtension 20 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"
6 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
0 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 1 Errors Error
Indentation 3 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/publisher/internal/GadgetModuleDescriptor.java

Violation Message Line
Errors Unused import - com.atlassian.plugin.util.validation.ValidationException. 6
Errors Wrong order for 'com.atlassian.plugin.descriptors.AbstractModuleDescriptor' import. 9
Errors 'org.dom4j.Element' should be separated from previous imports. 12
Warnings Line is longer than 120 characters. 27

com/atlassian/gadgets/publisher/internal/GadgetSpecSyndication.java

Violation Message Line
Warnings Line has trailing spaces. 12

com/atlassian/gadgets/publisher/internal/PluginGadgetFinder.java

Violation Message Line
Errors 'org.apache.commons.logging.Log' should be separated from previous imports. 15
Warnings Line is longer than 120 characters. 21
Warnings Line is longer than 120 characters. 51
Errors Class Fan-Out Complexity is 11 (max allowed is 10). 54
Infos Method 'pluginModuleEnabled' is not designed for extension - needs to be abstract, final or empty. 100
Infos Method 'pluginModuleDisabled' is not designed for extension - needs to be abstract, final or empty. 122

com/atlassian/gadgets/publisher/internal/PublishedGadgetSpecNotFoundException.java

Violation Message Line
Errors Missing a Javadoc comment. 5

com/atlassian/gadgets/publisher/internal/PublishedGadgetSpecWriter.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Wrong order for 'java.io.IOException' import. 4

com/atlassian/gadgets/publisher/internal/impl/AggregatePluginGadgetSpecProviderPermissionImpl.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.Vote' import. 7
Warnings Line has trailing spaces. 14
Warnings Line has trailing spaces. 19
Warnings Line has trailing spaces. 24
Infos Method 'voteOn' is not designed for extension - needs to be abstract, final or empty. 25
Errors Missing a Javadoc comment. 29
Warnings Line has trailing spaces. 35
Warnings Line has trailing spaces. 46
Warnings Line has trailing spaces. 59
Errors Missing a Javadoc comment. 70

com/atlassian/gadgets/publisher/internal/impl/GadgetProcessorImpl.java

Violation Message Line
Errors Wrong order for 'com.google.common.collect.ImmutableList' import. 25
Errors 'org.apache.commons.io.IOUtils' should be separated from previous imports. 26
Errors Wrong order for 'org.apache.commons.lang.StringUtils' import. 28
Errors Class Fan-Out Complexity is 21 (max allowed is 10). 36
Errors method call rparen at indentation level 12 not at correct indentation, 4 50
Errors method call rparen at indentation level 12 not at correct indentation, 4 57
Warnings Line is longer than 120 characters. 60
Errors method call rparen at indentation level 12 not at correct indentation, 4 62
Warnings Line has trailing spaces. 72
Infos Method 'process' is not designed for extension - needs to be abstract, final or empty. 98
Warnings Line is longer than 120 characters. 223
Warnings Line has trailing spaces. 254
Errors Static variable definition in wrong order. 268
Errors Static variable definition in wrong order. 269
Errors Static variable definition in wrong order. 270
Errors Static variable definition in wrong order. 271

com/atlassian/gadgets/publisher/internal/impl/GadgetSpecProcessingWriter.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Wrong order for 'java.io.IOException' import. 5
Errors Wrong order for 'com.atlassian.gadgets.plugins.PluginGadgetSpec' import. 11
Errors Missing a Javadoc comment. 15
Warnings Line has trailing spaces. 18
Warnings Line has trailing spaces. 28

com/atlassian/gadgets/publisher/internal/impl/GadgetSpecSyndicationImpl.java

Violation Message Line
Errors Wrong order for 'java.util.Date' import. 6
Errors 'com.google.common.base.Function' should be separated from previous imports. 18
Errors Missing a Javadoc comment. 25
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 25
Warnings Line has trailing spaces. 28
Warnings Line has trailing spaces. 33
Warnings Line has trailing spaces. 36
Warnings Line has trailing spaces. 49
Infos Method 'getFeed' is not designed for extension - needs to be abstract, final or empty. 50
Warnings Line has trailing spaces. 56
Warnings Line is longer than 120 characters. 62
Warnings Line has trailing spaces. 63
Warnings Line has trailing spaces. 65
Warnings Line has trailing spaces. 89
Warnings Line is longer than 120 characters. 90
Errors Instance variable definition in wrong order. 90
Errors Missing a Javadoc comment. 92
Warnings Line is longer than 120 characters. 94
Warnings Line has trailing spaces. 95
Errors Missing a Javadoc comment. 104
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 114
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 124

com/atlassian/gadgets/publisher/internal/impl/GadgetSpecValidatorImpl.java

Violation Message Line
Errors 'org.apache.commons.logging.Log' should be separated from previous imports. 12

com/atlassian/gadgets/publisher/internal/impl/PublishedGadgetSpecStore.java

Violation Message Line
Errors 'org.apache.commons.io.IOUtils.closeQuietly' should be separated from previous imports. 6
Errors Wrong order for 'java.io.BufferedInputStream' import. 8
Errors Wrong order for 'com.atlassian.gadgets.plugins.PluginGadgetSpec.Key' import. 27
Errors 'com.google.common.base.Function' should be separated from previous imports. 35
Errors Class Fan-Out Complexity is 21 (max allowed is 10). 44
Warnings Line has trailing spaces. 60
Infos Method 'getAll' is not designed for extension - needs to be abstract, final or empty. 68
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 73
Warnings Line has trailing spaces. 89
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 100
Warnings Line has trailing spaces. 104
Warnings Line has trailing spaces. 109
Warnings Line has trailing spaces. 117
Warnings Line has trailing spaces. 122
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 150
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 158
Warnings Line has trailing spaces. 165
Infos Method 'getLastModified' is not designed for extension - needs to be abstract, final or empty. 166
Warnings Line is longer than 120 characters. 171
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 193
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 204
Warnings Line has trailing spaces. 214
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 215
Warnings Line has trailing spaces. 220
Errors Class Fan-Out Complexity is 14 (max allowed is 10). 221
Warnings Line has trailing spaces. 262
Warnings Line has trailing spaces. 266
Warnings Line has trailing spaces. 270
Warnings Line has trailing spaces. 286
Warnings Line is longer than 120 characters. 300
Warnings Line has trailing spaces. 304
Warnings Line is longer than 120 characters. 324
Warnings Line is longer than 120 characters. 325
Warnings Line has trailing spaces. 339
Warnings Line has trailing spaces. 343
Warnings Line has trailing spaces. 350
Warnings Line has trailing spaces. 356
Warnings Line has trailing spaces. 361
Warnings Line has trailing spaces. 367
Warnings Line has trailing spaces. 369
Warnings Line is longer than 120 characters. 377

com/atlassian/gadgets/publisher/internal/rest/FeedWriter.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 19
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 19
Infos Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 25
Infos Method 'isWriteable' is not designed for extension - needs to be abstract, final or empty. 30
Infos Method 'writeTo' is not designed for extension - needs to be abstract, final or empty. 35
Warnings Line has trailing spaces. 36
Warnings Line has trailing spaces. 37
Warnings Line has trailing spaces. 38
Warnings Line has trailing spaces. 39
Errors Array brackets at illegal position. 39
Warnings Line has trailing spaces. 40
Warnings Line is longer than 120 characters. 44
Warnings Line has trailing spaces. 56
Warnings Line has trailing spaces. 69

com/atlassian/gadgets/publisher/internal/rest/GadgetSpecResource.java

Violation Message Line
Errors Wrong order for 'javax.ws.rs.GET' import. 7
Errors Wrong order for 'javax.ws.rs.Path' import. 9
Errors Wrong order for 'java.io.ByteArrayOutputStream' import. 14
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 26
Errors Assignment of parameter 'pluginKey' is not allowed. 54
Warnings Line has trailing spaces. 72

com/atlassian/gadgets/publisher/internal/rest/GadgetSpecSyndicationResource.java

Violation Message Line
Errors 'com.sun.syndication.feed.atom.Feed' should be separated from previous imports. 16
Errors Missing a Javadoc comment. 18
Warnings Line has trailing spaces. 22
Warnings Line has trailing spaces. 27
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 28
Warnings Line has trailing spaces. 41
Warnings Line has trailing spaces. 46