The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
10 | 17 | 55 | 28 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 1 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
42 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
1 | Error |
JavadocType
|
7 | Error |
JavadocVariable
|
4 | Error |
JavadocStyle
|
0 | Error |
ConstantName | 0 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 0 | Error |
MemberName | 0 | Error |
MethodName | 0 | Error |
PackageName | 0 | Error |
ParameterName | 0 | Error |
StaticVariableName | 0 | Error |
TypeName | 0 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
ImportOrder
|
7 | Error |
RedundantImport | 0 | Error |
UnusedImports | 2 | Error |
LineLength
|
13 | Warning |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 1 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 0 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
0 | Error |
NeedBraces | 0 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 0 | Error |
DefaultComesLast | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
ExplicitInitialization | 0 | Error |
FallThrough | 0 | Error |
HiddenField
|
0 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 0 | Error |
MissingSwitchDefault | 0 | Error |
ParameterAssignment | 1 | Error |
RedundantThrows
|
0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
DesignForExtension | 17 | Info |
FinalClass | 1 | Error |
HideUtilityClassConstructor | 1 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 2 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
0 | Error |
CyclomaticComplexity | 0 | Error |
NPathComplexity
|
0 | Error |
JavaNCSS | 0 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 0 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.plugin.webresource.UrlMode' import. | 4 | |
Missing a Javadoc comment. | 7 | |
Line has trailing spaces. | 9 | |
Missing a Javadoc comment. | 11 | |
Variable 'webResourceManager' must be private and have accessor methods. | 11 | |
Missing a Javadoc comment. | 12 | |
Variable 'applicationProperties' must be private and have accessor methods. | 12 | |
Line has trailing spaces. | 14 | |
Method 'buildImageUrl' is not designed for extension - needs to be abstract, final or empty. | 24 | |
Assignment of parameter 'path' is not allowed. | 28 | |
Line has trailing spaces. | 30 | |
Method 'buildRpcJsUrl' is not designed for extension - needs to be abstract, final or empty. | 33 | |
Method 'getBaseUrl' is not designed for extension - needs to be abstract, final or empty. | 38 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.plugin.Plugin' import. | 10 | |
Unused import - com.atlassian.plugin.Plugin. | 10 | |
Line has trailing spaces. | 34 | |
Line has trailing spaces. | 37 | |
Method 'buildGadgetSpecFeedUrl' is not designed for extension - needs to be abstract, final or empty. | 40 | |
Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. | 57 | |
Line is longer than 120 characters. | 86 | |
Line is longer than 120 characters. | 88 | |
Line has trailing spaces. | 90 | |
Method 'parseGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. | 103 | |
'+' should be on a new line. | 127 |
Violation | Message | Line |
---|---|---|
Unused import - java.net.URI. | 3 |
Violation | Message | Line |
---|---|---|
Wrong order for 'java.util.concurrent.Callable' import. | 5 | |
Missing a Javadoc comment. | 10 | |
Line has trailing spaces. | 13 | |
Line has trailing spaces. | 18 | |
Method 'execute' is not designed for extension - needs to be abstract, final or empty. | 19 | |
Line has trailing spaces. | 24 | |
Method 'execute' is not designed for extension - needs to be abstract, final or empty. | 25 | |
Line has trailing spaces. | 29 | |
Line has trailing spaces. | 34 | |
Line has trailing spaces. | 61 | |
Line has trailing spaces. | 65 | |
Line has trailing spaces. | 70 | |
Line has trailing spaces. | 77 | |
Missing a Javadoc comment. | 78 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Wrong order for 'com.google.common.base.Preconditions.checkNotNull' import. | 4 | |
Wrong order for 'java.io.UnsupportedEncodingException' import. | 6 | |
Line has trailing spaces. | 15 | |
Class Uri should be declared as final. | 17 | |
Line has trailing spaces. | 27 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 61 | |
Line has trailing spaces. | 63 | |
Line has trailing spaces. | 65 | |
Line has trailing spaces. | 76 | |
Line is longer than 120 characters. | 80 | |
Line has trailing spaces. | 91 | |
Line has trailing spaces. | 95 | |
Line has trailing spaces. | 96 | |
Line is longer than 120 characters. | 98 | |
Line is longer than 120 characters. | 105 | |
Line is longer than 120 characters. | 125 | |
Line is longer than 120 characters. | 138 | |
Line is longer than 120 characters. | 141 | |
Line is longer than 120 characters. | 153 | |
Line is longer than 120 characters. | 169 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 6 | |
Utility classes should not have a public or default constructor. | 8 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 11 | |
Line has trailing spaces. | 23 | |
Line has trailing spaces. | 26 | |
Method 'matches' is not designed for extension - needs to be abstract, final or empty. | 30 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 49 | |
Method 'extractParameters' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Line is longer than 120 characters. | 58 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 10 | |
Line has trailing spaces. | 17 |
Violation | Message | Line |
---|---|---|
'com.google.common.base.Function' should be separated from previous imports. | 9 | |
Wrong order for 'java.util.HashMap' import. | 13 | |
Missing a Javadoc comment. | 17 | |
Line has trailing spaces. | 19 | |
Missing a Javadoc comment. | 19 | |
Missing a Javadoc comment. | 20 | |
Line is longer than 120 characters. | 28 | |
Method 'findMenuItemsInSection' is not designed for extension - needs to be abstract, final or empty. | 35 | |
Line is longer than 120 characters. | 38 | |
Missing a Javadoc comment. | 42 | |
Line has trailing spaces. | 48 | |
Missing a Javadoc comment. | 49 | |
Line has trailing spaces. | 59 | |
Method 'getLink' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Line has trailing spaces. | 64 | |
Method 'getLabel' is not designed for extension - needs to be abstract, final or empty. | 65 | |
Line has trailing spaces. | 69 | |
Method 'getStyleClass' is not designed for extension - needs to be abstract, final or empty. | 70 | |
Line has trailing spaces. | 75 | |
Missing a Javadoc comment. | 76 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 87 | |
Method 'getDisplayableUrl' is not designed for extension - needs to be abstract, final or empty. | 92 | |
Line has trailing spaces. | 102 | |
Line has trailing spaces. | 108 | |
Missing a Javadoc comment. | 109 | |
Line has trailing spaces. | 119 | |
Method 'getDisplayableLabel' is not designed for extension - needs to be abstract, final or empty. | 120 |