Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
11 11 18 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+$"
14 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"
4 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 11 Infos Info
FinalClass 0 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 0 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 1 Errors Error
ClassFanOutComplexity
  • max: "10"
3 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. 23
Errors 'org.apache.commons.io.IOUtils' should be separated from previous imports. 24
Errors Wrong order for 'org.apache.commons.lang.StringUtils' import. 26
Errors Class Fan-Out Complexity is 19 (max allowed is 10). 34
Errors method call rparen at indentation level 12 not at correct indentation, 4 48
Errors method call rparen at indentation level 12 not at correct indentation, 4 55
Warnings Line is longer than 120 characters. 58
Errors method call rparen at indentation level 12 not at correct indentation, 4 60
Warnings Line has trailing spaces. 70
Infos Method 'process' is not designed for extension - needs to be abstract, final or empty. 96
Warnings Line has trailing spaces. 250
Errors Static variable definition in wrong order. 264
Errors Static variable definition in wrong order. 265
Errors Static variable definition in wrong order. 266
Errors Static variable definition in wrong order. 267

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. 30
Errors Wrong order for 'com.google.common.collect.Maps' import. 33
Errors 'org.apache.commons.io.IOUtils' should be separated from previous imports. 34
Errors Class Data Abstraction Coupling is 10 (max allowed is 7) classes [AllowedPluginGadgetSpec, BufferedInputStream, BufferedOutputStream, ByteArrayInputStream, ByteArrayOutputStream, GadgetParsingException, PluginGadgetSpec.Key, PluginGadgetSpecToUri, PublishedGadgetSpecNotFoundException, ReentrantReadWriteLock]. 39
Errors Class Fan-Out Complexity is 25 (max allowed is 10). 39
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 61
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 83
Warnings Line has trailing spaces. 95
Warnings Line has trailing spaces. 100
Warnings Line has trailing spaces. 108
Warnings Line has trailing spaces. 113
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 141
Infos Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. 149
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 198
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 218
Warnings Line has trailing spaces. 236
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 237