Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
11 18 56 24

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+$"
42 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"
7 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"
3 Errors Error
RedundantImport 0 Errors Error
UnusedImports 2 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 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 18 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 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/DebugTransformer.java

Violation Message Line
Errors 'org.dom4j.Element' should be separated from previous imports. 8
Warnings Line is longer than 120 characters. 15
Infos Method 'transform' is not designed for extension - needs to be abstract, final or empty. 15

com/atlassian/gadgets/util/GadgetSpecUrlBuilder.java

Violation Message Line
Errors Unused import - com.atlassian.plugin.Plugin. 8
Errors 'com.google.common.base.Preconditions.checkNotNull' should be separated from previous imports. 13
Warnings Line has trailing spaces. 34
Warnings Line has trailing spaces. 37
Infos Method 'buildGadgetSpecFeedUrl' is not designed for extension - needs to be abstract, final or empty. 40
Infos Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 57
Warnings Line is longer than 120 characters. 86
Warnings Line is longer than 120 characters. 88
Warnings Line has trailing spaces. 90
Infos Method 'parseGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 103
Errors '+' should be on a new line. 127

com/atlassian/gadgets/util/InvalidDirectoryGadgetUriException.java

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

com/atlassian/gadgets/util/TransactionRunner.java

Violation Message Line
Errors Missing a Javadoc comment. 10
Warnings Line has trailing spaces. 13
Warnings Line has trailing spaces. 18
Infos Method 'execute' is not designed for extension - needs to be abstract, final or empty. 19
Warnings Line has trailing spaces. 24
Infos Method 'execute' is not designed for extension - needs to be abstract, final or empty. 25
Warnings Line has trailing spaces. 29
Warnings Line has trailing spaces. 34
Warnings Line has trailing spaces. 61
Warnings Line has trailing spaces. 65
Warnings Line has trailing spaces. 70
Warnings Line has trailing spaces. 77
Errors Missing a Javadoc comment. 78

com/atlassian/gadgets/util/Uri.java

Violation Message Line
Errors 'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. 12
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
Warnings Line is longer than 120 characters. 153
Warnings Line is longer than 120 characters. 169

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 Missing a Javadoc comment. 18
Warnings Line has trailing spaces. 20
Errors Missing a Javadoc comment. 20
Errors Missing a Javadoc comment. 21
Warnings Line is longer than 120 characters. 29
Infos Method 'findMenuItemsInSection' is not designed for extension - needs to be abstract, final or empty. 36
Warnings Line is longer than 120 characters. 39
Errors Missing a Javadoc comment. 43
Warnings Line has trailing spaces. 49
Errors Missing a Javadoc comment. 50
Warnings Line has trailing spaces. 60
Infos Method 'getLink' is not designed for extension - needs to be abstract, final or empty. 61
Warnings Line has trailing spaces. 65
Infos Method 'getLabel' is not designed for extension - needs to be abstract, final or empty. 66
Warnings Line has trailing spaces. 70
Infos Method 'getStyleClass' is not designed for extension - needs to be abstract, final or empty. 71
Warnings Line has trailing spaces. 76
Errors Missing a Javadoc comment. 77
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 88
Infos Method 'getDisplayableUrl' is not designed for extension - needs to be abstract, final or empty. 93
Warnings Line has trailing spaces. 103
Warnings Line has trailing spaces. 109
Errors Missing a Javadoc comment. 110
Warnings Line has trailing spaces. 120
Infos Method 'getDisplayableLabel' is not designed for extension - needs to be abstract, final or empty. 121