Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
11 12 40 34

Rules

Rules Violations Severity
JavadocPackage 2 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
30 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"
1 Errors Error
JavadocType
  • scope: "package"
2 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"
15 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 Errors Error
LineLength
  • max: "120"
10 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 4 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 12 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"
4 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
0 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 0 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/GadgetSpecResource.java

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

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 Missing package-info.java file. 0
Errors Wrong order for 'com.atlassian.gadgets.plugins.PluginGadgetSpec' 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/GadgetSpecValidatorImpl.java

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

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

Violation Message Line
Errors Wrong order for 'com.google.common.base.Predicate' import. 32
Errors Wrong order for 'com.google.common.collect.MapMaker' import. 36
Errors 'org.apache.commons.io.IOUtils.closeQuietly' should be separated from previous imports. 37
Errors Class Fan-Out Complexity is 20 (max allowed is 10). 42
Warnings Line has trailing spaces. 58
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 66
Warnings Line has trailing spaces. 82
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 93
Warnings Line has trailing spaces. 97
Warnings Line has trailing spaces. 102
Warnings Line has trailing spaces. 110
Warnings Line has trailing spaces. 115
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 143
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 151
Warnings Line has trailing spaces. 158
Infos Method 'getLastModified' is not designed for extension - needs to be abstract, final or empty. 159
Warnings Line is longer than 120 characters. 164
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 186
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 197
Warnings Line has trailing spaces. 207
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 208
Warnings Line has trailing spaces. 213
Errors Class Fan-Out Complexity is 14 (max allowed is 10). 214
Warnings Line has trailing spaces. 255
Warnings Line has trailing spaces. 259
Warnings Line has trailing spaces. 263
Warnings Line has trailing spaces. 279
Warnings Line is longer than 120 characters. 293
Warnings Line has trailing spaces. 297
Warnings Line is longer than 120 characters. 317
Warnings Line is longer than 120 characters. 318
Warnings Line has trailing spaces. 332
Warnings Line has trailing spaces. 336
Warnings Line has trailing spaces. 343
Warnings Line has trailing spaces. 349
Warnings Line has trailing spaces. 354
Warnings Line has trailing spaces. 360
Warnings Line has trailing spaces. 362
Warnings Line is longer than 120 characters. 370