The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
11 | 12 | 40 | 34 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 2 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
0 | Error |
RegexpSingleline
|
30 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
1 | Error |
JavadocType
|
2 | Error |
JavadocVariable
|
0 | Error |
JavadocStyle
|
0 | Error |
ConstantName | 1 | 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
|
15 | Error |
RedundantImport | 0 | Error |
UnusedImports | 1 | Error |
LineLength
|
10 | Warning |
MethodLength | 0 | Error |
ParameterNumber | 0 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | 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 | 4 | 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 | 12 | Info |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 0 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 0 | Error |
ClassFanOutComplexity
|
4 | Error |
CyclomaticComplexity | 0 | Error |
NPathComplexity
|
0 | Error |
JavaNCSS | 0 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 3 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Unused import - com.atlassian.plugin.util.validation.ValidationException. | 6 | |
Wrong order for 'com.atlassian.plugin.descriptors.AbstractModuleDescriptor' import. | 9 | |
'org.dom4j.Element' should be separated from previous imports. | 12 | |
Line is longer than 120 characters. | 27 |
Violation | Message | Line |
---|---|---|
Wrong order for 'javax.ws.rs.GET' import. | 5 | |
Wrong order for 'javax.ws.rs.Path' import. | 7 | |
Wrong order for 'java.io.ByteArrayOutputStream' import. | 12 | |
Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 24 | |
Assignment of parameter 'pluginKey' is not allowed. | 52 | |
Line has trailing spaces. | 70 |
Violation | Message | Line |
---|---|---|
'org.apache.commons.logging.Log' should be separated from previous imports. | 15 | |
Line is longer than 120 characters. | 21 | |
Line is longer than 120 characters. | 51 | |
Class Fan-Out Complexity is 11 (max allowed is 10). | 54 | |
Method 'pluginModuleEnabled' is not designed for extension - needs to be abstract, final or empty. | 100 | |
Method 'pluginModuleDisabled' is not designed for extension - needs to be abstract, final or empty. | 122 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 5 |
Violation | Message | Line |
---|---|---|
Wrong order for 'java.io.IOException' import. | 4 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Wrong order for 'com.atlassian.gadgets.plugins.PluginGadgetSpec' import. | 7 | |
Line has trailing spaces. | 14 | |
Line has trailing spaces. | 19 | |
Line has trailing spaces. | 24 | |
Method 'voteOn' is not designed for extension - needs to be abstract, final or empty. | 25 | |
Missing a Javadoc comment. | 29 | |
Line has trailing spaces. | 35 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 59 | |
Missing a Javadoc comment. | 70 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.collect.ImmutableList' import. | 25 | |
'org.apache.commons.io.IOUtils' should be separated from previous imports. | 26 | |
Wrong order for 'org.apache.commons.lang.StringUtils' import. | 28 | |
Class Fan-Out Complexity is 21 (max allowed is 10). | 36 | |
method call rparen at indentation level 12 not at correct indentation, 4 | 50 | |
method call rparen at indentation level 12 not at correct indentation, 4 | 57 | |
Line is longer than 120 characters. | 60 | |
method call rparen at indentation level 12 not at correct indentation, 4 | 62 | |
Line has trailing spaces. | 72 | |
Method 'process' is not designed for extension - needs to be abstract, final or empty. | 98 | |
Line is longer than 120 characters. | 223 | |
Line has trailing spaces. | 254 | |
Static variable definition in wrong order. | 268 | |
Static variable definition in wrong order. | 269 | |
Static variable definition in wrong order. | 270 | |
Static variable definition in wrong order. | 271 |
Violation | Message | Line |
---|---|---|
'org.apache.commons.logging.Log' should be separated from previous imports. | 12 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Predicate' import. | 32 | |
Wrong order for 'com.google.common.collect.MapMaker' import. | 36 | |
'org.apache.commons.io.IOUtils.closeQuietly' should be separated from previous imports. | 37 | |
Class Fan-Out Complexity is 20 (max allowed is 10). | 42 | |
Line has trailing spaces. | 58 | |
Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 66 | |
Line has trailing spaces. | 82 | |
Method 'entries' is not designed for extension - needs to be abstract, final or empty. | 93 | |
Line has trailing spaces. | 97 | |
Line has trailing spaces. | 102 | |
Line has trailing spaces. | 110 | |
Line has trailing spaces. | 115 | |
Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. | 143 | |
Method 'writeGadgetSpecTo' is not designed for extension - needs to be abstract, final or empty. | 151 | |
Line has trailing spaces. | 158 | |
Method 'getLastModified' is not designed for extension - needs to be abstract, final or empty. | 159 | |
Line is longer than 120 characters. | 164 | |
Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. | 186 | |
Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. | 197 | |
Line has trailing spaces. | 207 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 208 | |
Line has trailing spaces. | 213 | |
Class Fan-Out Complexity is 14 (max allowed is 10). | 214 | |
Line has trailing spaces. | 255 | |
Line has trailing spaces. | 259 | |
Line has trailing spaces. | 263 | |
Line has trailing spaces. | 279 | |
Line is longer than 120 characters. | 293 | |
Line has trailing spaces. | 297 | |
Line is longer than 120 characters. | 317 | |
Line is longer than 120 characters. | 318 | |
Line has trailing spaces. | 332 | |
Line has trailing spaces. | 336 | |
Line has trailing spaces. | 343 | |
Line has trailing spaces. | 349 | |
Line has trailing spaces. | 354 | |
Line has trailing spaces. | 360 | |
Line has trailing spaces. | 362 | |
Line is longer than 120 characters. | 370 |