Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
4 4 15 16

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+$"
13 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"
0 Errors Error
JavadocType
  • scope: "package"
3 Errors Error
JavadocVariable
  • scope: "package"
3 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"
4 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
LineLength
  • max: "120"
2 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 2 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 1 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 0 Errors Error
RedundantThrows
  • allowUnchecked: "true"
0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
DesignForExtension 4 Infos Info
FinalClass 2 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"
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/test/ExampleGadgetSpecs.java

Violation Message Line
Errors 'org.mockito.Mockito.mock' should be separated from previous imports. 4
Errors Wrong order for 'java.net.URI' import. 7
Errors 'com.google.common.collect.ImmutableMap' should be separated from previous imports. 12
Errors Class ExampleGadgetSpecs should be declared as final. 14
Errors Missing a Javadoc comment. 14
Errors Missing a Javadoc comment. 16
Errors Missing a Javadoc comment. 17
Errors Missing a Javadoc comment. 18
Errors Constructor definition in wrong order. 59

com/atlassian/gadgets/test/MapBackedPluginSettings.java

Violation Message Line
Warnings Line is longer than 120 characters. 9
Warnings Line has trailing spaces. 11
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 32
Infos Method 'put' is not designed for extension - needs to be abstract, final or empty. 37
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 42

com/atlassian/gadgets/test/Matchers.java

Violation Message Line
Errors Missing a Javadoc comment. 10
Errors '{' is not followed by whitespace. 12
Errors '}' is not preceded with whitespace. 12
Warnings Line has trailing spaces. 13
Warnings Line has trailing spaces. 23
Warnings Line has trailing spaces. 28
Warnings Line has trailing spaces. 43
Warnings Line has trailing spaces. 48
Warnings Line has trailing spaces. 74
Warnings Line has trailing spaces. 98
Warnings Line has trailing spaces. 105
Warnings Line has trailing spaces. 110
Errors Class HeaderMatcherBuilder should be declared as final. 111
Errors Missing a Javadoc comment. 111
Warnings Line has trailing spaces. 114
Warnings Line has trailing spaces. 119
Warnings Line has trailing spaces. 125
Warnings Line is longer than 120 characters. 144

com/atlassian/gadgets/test/PassThroughTransactionTemplate.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Wrong order for 'com.atlassian.sal.api.transaction.TransactionCallback' import. 4
Infos Method 'execute' is not designed for extension - needs to be abstract, final or empty. 12