Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
2 2 6 21

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+$"
1 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"
2 Errors Error
JavadocVariable
  • scope: "package"
0 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"
0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
LineLength
  • max: "120"
5 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 4 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 6 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 1 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 3 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 2 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"
2 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
2 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/refimpl/ui/DashboardFilter.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 33
Errors Class Fan-Out Complexity is 24 (max allowed is 10). 33
Warnings Line is longer than 120 characters. 54
Infos Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. 54
Errors NPath Complexity is 48 (max allowed is 20). 54
Warnings Line is longer than 120 characters. 120
Warnings Line is longer than 120 characters. 129
Warnings Line has trailing spaces. 181
Errors '+' should be on a new line. 184
Errors '+' should be on a new line. 185
Errors '+' should be on a new line. 186
Errors '+' should be on a new line. 187
Warnings Line is longer than 120 characters. 189
Errors '{' is not preceded with whitespace. 196
Errors '{' is not followed by whitespace. 196
Errors '}' is not preceded with whitespace. 196
Errors '{' is not followed by whitespace. 197
Errors '}' is not preceded with whitespace. 197

com/atlassian/gadgets/refimpl/ui/DashboardServlet.java

Violation Message Line
Errors Missing a Javadoc comment. 24
Errors Class Fan-Out Complexity is 16 (max allowed is 10). 24
Infos Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 45
Errors NPath Complexity is 27 (max allowed is 20). 45
Errors 'if' is not followed by whitespace. 80
Warnings Line is longer than 120 characters. 89
Errors '5' is a magic number. 98
Errors '5' is a magic number. 98
Errors '5' is a magic number. 99
Errors Must have at least one statement. 116