Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
9 15 39 25

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+$"
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"
5 Errors Error
JavadocVariable
  • scope: "package"
4 Errors Error
JavadocStyle
  • scope: "package"
0 Errors Error
ConstantName 0 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"
6 Errors Error
RedundantImport 0 Errors Error
UnusedImports 2 Errors Error
LineLength
  • max: "120"
9 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 1 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 0 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 15 Infos Info
FinalClass 1 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 2 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 0 Errors Error
ClassFanOutComplexity
  • max: "10"
0 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/util/AbstractUrlBuilder.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Wrong order for 'com.atlassian.plugin.webresource.UrlMode' import. 4
Errors Missing a Javadoc comment. 7
Warnings Line has trailing spaces. 9
Errors Missing a Javadoc comment. 11
Errors Variable 'webResourceManager' must be private and have accessor methods. 11
Errors Missing a Javadoc comment. 12
Errors Variable 'applicationProperties' must be private and have accessor methods. 12
Warnings Line has trailing spaces. 14
Infos Method 'buildImageUrl' is not designed for extension - needs to be abstract, final or empty. 24
Errors Assignment of parameter 'path' is not allowed. 28
Warnings Line has trailing spaces. 30
Infos Method 'buildRpcJsUrl' is not designed for extension - needs to be abstract, final or empty. 33
Infos Method 'getBaseUrl' is not designed for extension - needs to be abstract, final or empty. 38

com/atlassian/gadgets/util/GadgetSpecUrlBuilder.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.Plugin' import. 10
Errors Unused import - com.atlassian.plugin.Plugin. 10
Infos Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 43
Infos Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 60
Infos Method 'parseGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 97
Errors '+' should be on a new line. 121

com/atlassian/gadgets/util/InvalidDirectoryGadgetUriException.java

Violation Message Line
Errors Unused import - java.net.URI. 3

com/atlassian/gadgets/util/Uri.java

Violation Message Line
Errors Wrong order for 'com.google.common.base.Preconditions.checkNotNull' import. 4
Errors Wrong order for 'java.io.UnsupportedEncodingException' import. 6
Warnings Line has trailing spaces. 15
Errors Class Uri should be declared as final. 17
Warnings Line has trailing spaces. 27
Warnings Line has trailing spaces. 46
Warnings Line has trailing spaces. 61
Warnings Line has trailing spaces. 63
Warnings Line has trailing spaces. 65
Warnings Line has trailing spaces. 76
Warnings Line is longer than 120 characters. 80
Warnings Line has trailing spaces. 91
Warnings Line has trailing spaces. 95
Warnings Line has trailing spaces. 96
Warnings Line is longer than 120 characters. 98
Warnings Line is longer than 120 characters. 105
Warnings Line is longer than 120 characters. 125
Warnings Line is longer than 120 characters. 138
Warnings Line is longer than 120 characters. 141

com/atlassian/gadgets/util/UriParameterConverter.java

Violation Message Line
Warnings Line has trailing spaces. 6
Errors Utility classes should not have a public or default constructor. 8

com/atlassian/gadgets/util/UriTemplate.java

Violation Message Line
Warnings Line has trailing spaces. 11
Warnings Line has trailing spaces. 23
Warnings Line has trailing spaces. 26
Infos Method 'matches' is not designed for extension - needs to be abstract, final or empty. 30
Warnings Line has trailing spaces. 46
Warnings Line has trailing spaces. 49
Infos Method 'extractParameters' is not designed for extension - needs to be abstract, final or empty. 54
Warnings Line is longer than 120 characters. 58

com/atlassian/gadgets/util/UrlBuilder.java

Violation Message Line
Warnings Line has trailing spaces. 10
Warnings Line has trailing spaces. 17

com/atlassian/gadgets/util/WebItemFinder.java

Violation Message Line
Errors 'com.google.common.base.Function' should be separated from previous imports. 9
Errors Wrong order for 'java.util.HashMap' import. 13
Errors Missing a Javadoc comment. 17
Warnings Line has trailing spaces. 19
Errors Missing a Javadoc comment. 19
Errors Missing a Javadoc comment. 20
Warnings Line is longer than 120 characters. 28
Infos Method 'findMenuItemsInSection' is not designed for extension - needs to be abstract, final or empty. 35
Warnings Line is longer than 120 characters. 38
Errors Missing a Javadoc comment. 42
Warnings Line has trailing spaces. 48
Errors Missing a Javadoc comment. 49
Warnings Line has trailing spaces. 59
Infos Method 'getLink' is not designed for extension - needs to be abstract, final or empty. 60
Warnings Line has trailing spaces. 64
Infos Method 'getLabel' is not designed for extension - needs to be abstract, final or empty. 65
Warnings Line has trailing spaces. 69
Infos Method 'getStyleClass' is not designed for extension - needs to be abstract, final or empty. 70
Warnings Line has trailing spaces. 75
Errors Missing a Javadoc comment. 76
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 87
Infos Method 'getDisplayableUrl' is not designed for extension - needs to be abstract, final or empty. 92
Warnings Line has trailing spaces. 102
Warnings Line has trailing spaces. 108
Errors Missing a Javadoc comment. 109
Warnings Line has trailing spaces. 119
Infos Method 'getDisplayableLabel' is not designed for extension - needs to be abstract, final or empty. 120