The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
54 | 117 | 130 | 156 |
Rules | Violations | Severity |
---|---|---|
JavadocPackage | 6 | Error |
Translation | 0 | Error |
FileLength | 0 | Error |
FileTabCharacter
|
2 | Error |
RegexpSingleline
|
78 | Warning |
AnnotationUseStyle | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride
|
0 | Error |
PackageAnnotation | 0 | Error |
JavadocMethod
|
7 | Error |
JavadocType
|
25 | Error |
JavadocVariable
|
0 | Error |
JavadocStyle
|
16 | Error |
ConstantName | 3 | 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 | 0 | Error |
LineLength
|
52 | Warning |
MethodLength | 0 | Error |
ParameterNumber | 2 | Error |
EmptyForIteratorPad | 1 | Error |
MethodParamPad | 2 | Error |
NoWhitespaceAfter | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 4 | Error |
ParenPad | 3 | Error |
TypecastParenPad | 0 | Error |
WhitespaceAfter | 2 | Error |
WhitespaceAround | 12 | Error |
ModifierOrder | 2 | Error |
RedundantModifier | 9 | Error |
AvoidNestedBlocks | 0 | Error |
EmptyBlock | 0 | Error |
LeftCurly
|
1 | Error |
NeedBraces | 3 | Error |
RightCurly
|
0 | Error |
DeclarationOrder | 3 | Error |
DefaultComesLast | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
ExplicitInitialization | 1 | Error |
FallThrough | 0 | Error |
HiddenField
|
6 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 0 | Error |
MagicNumber | 9 | Error |
MissingSwitchDefault | 0 | Error |
ParameterAssignment | 0 | Error |
RedundantThrows
|
0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
DesignForExtension | 117 | Info |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 1 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
ClassDataAbstractionCoupling | 1 | Error |
ClassFanOutComplexity
|
14 | Error |
CyclomaticComplexity | 1 | Error |
NPathComplexity
|
3 | Error |
JavaNCSS | 1 | Error |
ArrayTypeStyle | 0 | Error |
Indentation | 8 | Error |
TodoComment | 1 | Error |
UpperEll | 0 | Error |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 7 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 18 | |
Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. | 23 | |
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 28 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 16 | |
Class Fan-Out Complexity is 14 (max allowed is 10). | 16 | |
Line has trailing spaces. | 21 | |
Line has trailing spaces. | 23 | |
Line has trailing spaces. | 25 | |
First sentence should end with a period. | 43 | |
Redundant 'public' modifier. | 46 | |
First sentence should end with a period. | 57 | |
First sentence should end with a period. | 65 | |
First sentence should end with a period. | 72 | |
Line has trailing spaces. | 80 | |
Line has trailing spaces. | 87 | |
Line has trailing spaces. | 95 | |
Line has trailing spaces. | 99 | |
Line has trailing spaces. | 105 | |
First sentence should end with a period. | 113 | |
Line is longer than 120 characters. | 121 | |
',' is not followed by whitespace. | 121 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 8 | |
'(' is preceded with whitespace. | 11 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 16 | |
Line has trailing spaces. | 33 | |
Method 'render' is not designed for extension - needs to be abstract, final or empty. | 34 | |
Line is longer than 120 characters. | 39 | |
Method 'render' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Line has trailing spaces. | 43 | |
Method 'renderFragment' is not designed for extension - needs to be abstract, final or empty. | 44 | |
Method 'resolve' is not designed for extension - needs to be abstract, final or empty. | 49 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 22 | |
Line has trailing spaces. | 26 | |
Line has trailing spaces. | 29 | |
Line has trailing spaces. | 30 | |
Line has trailing spaces. | 34 | |
Line has trailing spaces. | 37 | |
Line has trailing spaces. | 39 | |
Line has trailing spaces. | 43 | |
Line has trailing spaces. | 46 | |
Line has trailing spaces. | 48 | |
Line has trailing spaces. | 52 | |
Line has trailing spaces. | 55 | |
Line has trailing spaces. | 57 | |
Line has trailing spaces. | 64 | |
Redundant 'public' modifier. | 76 | |
Redundant 'public' modifier. | 84 | |
Redundant 'public' modifier. | 92 | |
First sentence should end with a period. | 94 | |
Redundant 'public' modifier. | 99 | |
Line has trailing spaces. | 100 | |
Line has trailing spaces. | 103 | |
Redundant 'public' modifier. | 106 | |
Redundant 'public' modifier. | 112 | |
Line has trailing spaces. | 113 | |
Line has trailing spaces. | 116 | |
Redundant 'public' modifier. | 119 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 11 | |
Line has trailing spaces. | 13 | |
Method 'findDashboardMenuItems' is not designed for extension - needs to be abstract, final or empty. | 21 | |
Method 'findDashboardToolsMenuItems' is not designed for extension - needs to be abstract, final or empty. | 27 | |
Line is longer than 120 characters. | 35 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 9 | |
First sentence should end with a period. | 15 | |
Line has trailing spaces. | 20 | |
Line has trailing spaces. | 26 | |
Line has trailing spaces. | 28 | |
Line has trailing spaces. | 30 | |
Line has trailing spaces. | 37 | |
First sentence should end with a period. | 42 | |
Line is longer than 120 characters. | 43 | |
Line is longer than 120 characters. | 44 | |
First sentence should end with a period. | 48 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 8 | |
Line is longer than 120 characters. | 10 | |
Line is longer than 120 characters. | 11 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 4 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 5 | |
Line is longer than 120 characters. | 11 | |
Method 'getGadgetId' is not designed for extension - needs to be abstract, final or empty. | 15 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 3 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 7 | |
First sentence should end with a period. | 12 | |
First sentence should end with a period. | 20 |
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 11 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 7 | |
Redundant 'public' modifier. | 48 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 13 | |
Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 15 | |
Method 'check' is not designed for extension - needs to be abstract, final or empty. | 24 | |
'80' is a magic number. | 43 | |
'443' is a magic number. | 47 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 6 | |
Method 'getStackTraceAsString' is not designed for extension - needs to be abstract, final or empty. | 18 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 21 | |
Class Fan-Out Complexity is 15 (max allowed is 10). | 21 | |
Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 23 | |
Method 'doGet' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Method 'doPost' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Line is longer than 120 characters. | 110 | |
'renderer' hides a field. | 129 | |
Line is longer than 120 characters. | 132 | |
Line is longer than 120 characters. | 135 | |
'renderer' hides a field. | 135 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 3 | |
Method 'getExpectedHostname' is not designed for extension - needs to be abstract, final or empty. | 17 | |
Method 'getDetectedHostname' is not designed for extension - needs to be abstract, final or empty. | 22 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 3 | |
Method 'getExpectedPort' is not designed for extension - needs to be abstract, final or empty. | 15 | |
Method 'getDetectedPort' is not designed for extension - needs to be abstract, final or empty. | 20 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 3 | |
Method 'getExpectedScheme' is not designed for extension - needs to be abstract, final or empty. | 17 | |
Method 'getDetectedScheme' is not designed for extension - needs to be abstract, final or empty. | 22 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 12 | |
Line has trailing spaces. | 20 | |
Line has trailing spaces. | 30 | |
';' is followed by whitespace. | 45 | |
'gadgets' hides a field. | 57 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Preconditions.checkNotNull' import. | 40 | |
Class Data Abstraction Coupling is 14 (max allowed is 7) classes [AddGadgetChange, ChangeColorTo, GadgetColorChange, GadgetLayoutException, GadgetNotFoundException, GadgetStateConverter, HashMap, InternalGadgetNotFoundException, RemoveGadgetChange, RemoveGadgetFunction, UpdateGadgetUserPrefsChange, UpdateLayoutChange, UpdatePrefValues, WithIdPredicate]. | 49 | |
Class Fan-Out Complexity is 34 (max allowed is 10). | 49 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 64 | |
Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. | 69 | |
Method 'getLayout' is not designed for extension - needs to be abstract, final or empty. | 74 | |
Line has trailing spaces. | 78 | |
Method 'getGadgetsInColumn' is not designed for extension - needs to be abstract, final or empty. | 79 | |
Method 'appendGadget' is not designed for extension - needs to be abstract, final or empty. | 88 | |
Method 'appendGadget' is not designed for extension - needs to be abstract, final or empty. | 93 | |
Line is longer than 120 characters. | 96 | |
Method 'addGadget' is not designed for extension - needs to be abstract, final or empty. | 99 | |
Method 'addGadget' is not designed for extension - needs to be abstract, final or empty. | 104 | |
Method 'changeLayout' is not designed for extension - needs to be abstract, final or empty. | 110 | |
Method 'rearrangeGadgets' is not designed for extension - needs to be abstract, final or empty. | 122 | |
Method 'changeGadgetColor' is not designed for extension - needs to be abstract, final or empty. | 133 | |
Method 'updateGadgetUserPrefs' is not designed for extension - needs to be abstract, final or empty. | 151 | |
Method 'removeGadget' is not designed for extension - needs to be abstract, final or empty. | 169 | |
Method 'getState' is not designed for extension - needs to be abstract, final or empty. | 177 | |
Method 'findGadget' is not designed for extension - needs to be abstract, final or empty. | 182 | |
'if' is not followed by whitespace. | 188 | |
Method 'getChanges' is not designed for extension - needs to be abstract, final or empty. | 197 | |
Method 'clearChanges' is not designed for extension - needs to be abstract, final or empty. | 202 | |
Line is longer than 120 characters. | 259 | |
Line is longer than 120 characters. | 264 | |
'{' is not followed by whitespace. | 295 | |
'}' is not preceded with whitespace. | 295 | |
Line is longer than 120 characters. | 312 | |
Method 'getNumberOfGadgets' is not designed for extension - needs to be abstract, final or empty. | 398 | |
Line is longer than 120 characters. | 420 | |
Method 'assertGadgetLayoutIsValid' is not designed for extension - needs to be abstract, final or empty. | 431 | |
'+' should be on a new line. | 435 |
Violation | Message | Line |
---|---|---|
Line has trailing spaces. | 35 | |
Line is longer than 120 characters. | 36 | |
Method 'get' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Method 'save' is not designed for extension - needs to be abstract, final or empty. | 41 | |
Line is longer than 120 characters. | 46 | |
Method 'findDashboardByGadgetId' is not designed for extension - needs to be abstract, final or empty. | 51 |
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 26 | |
Method 'get' is not designed for extension - needs to be abstract, final or empty. | 32 | |
Method 'save' is not designed for extension - needs to be abstract, final or empty. | 41 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 12 | |
Method 'getBaseUrl' is not designed for extension - needs to be abstract, final or empty. | 23 | |
Method 'buildDashboardUrl' is not designed for extension - needs to be abstract, final or empty. | 29 | |
Method 'buildDashboardLayoutUrl' is not designed for extension - needs to be abstract, final or empty. | 34 | |
Line has trailing spaces. | 38 | |
Method 'buildGadgetUrl' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Method 'buildGadgetColorUrl' is not designed for extension - needs to be abstract, final or empty. | 44 | |
Method 'buildGadgetUserPrefsUrl' is not designed for extension - needs to be abstract, final or empty. | 49 | |
Method 'buildErrorGadgetUrl' is not designed for extension - needs to be abstract, final or empty. | 54 | |
Line is longer than 120 characters. | 56 | |
Method 'buildDashboardResourceUrl' is not designed for extension - needs to be abstract, final or empty. | 59 | |
Method 'buildDashboardDirectoryResourceUrl' is not designed for extension - needs to be abstract, final or empty. | 65 | |
Method 'buildDashboardDirectoryBaseUrl' is not designed for extension - needs to be abstract, final or empty. | 70 | |
Method 'buildDashboardDirectoryUrl' is not designed for extension - needs to be abstract, final or empty. | 75 | |
Line has trailing spaces. | 79 | |
Method 'buildSubscribedGadgetFeedsUrl' is not designed for extension - needs to be abstract, final or empty. | 80 | |
Method 'buildDashboardDiagnosticsRelativeUrl' is not designed for extension - needs to be abstract, final or empty. | 85 | |
Line is longer than 120 characters. | 87 | |
Method 'buildSecurityTokensUrl' is not designed for extension - needs to be abstract, final or empty. | 90 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 13 (max allowed is 10). | 21 | |
Line is longer than 120 characters. | 45 | |
Line is longer than 120 characters. | 47 | |
Method 'createGadget' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Line is longer than 120 characters. | 71 | |
Method 'createGadget' is not designed for extension - needs to be abstract, final or empty. | 71 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.gadgets.GadgetState.gadget' import. | 23 | |
'com.google.common.collect.Iterables.any' should be separated from previous imports. | 24 | |
Class Fan-Out Complexity is 12 (max allowed is 10). | 30 | |
Line has trailing spaces. | 35 | |
Line has trailing spaces. | 79 | |
Line has trailing spaces. | 118 | |
Static variable definition in wrong order. | 131 | |
Name 'isNotHidden' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 131 | |
Missing a Javadoc comment. | 133 | |
'userPrefs' hides a field. | 159 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 11 | |
Method 'convertStateToDashboard' is not designed for extension - needs to be abstract, final or empty. | 20 | |
Method 'convertStateToGadget' is not designed for extension - needs to be abstract, final or empty. | 25 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 9 | |
Method 'getDashboardId' is not designed for extension - needs to be abstract, final or empty. | 20 | |
Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. | 25 | |
Method 'getTabUri' is not designed for extension - needs to be abstract, final or empty. | 30 | |
Method 'isWritable' is not designed for extension - needs to be abstract, final or empty. | 35 |
Violation | Message | Line |
---|---|---|
First sentence should end with a period. | 15 | |
Method 'retrieve' is not designed for extension - needs to be abstract, final or empty. | 35 | |
Missing a Javadoc comment. | 40 | |
Line is longer than 120 characters. | 47 | |
Method 'update' is not designed for extension - needs to be abstract, final or empty. | 47 | |
Missing a Javadoc comment. | 53 | |
Method 'remove' is not designed for extension - needs to be abstract, final or empty. | 60 | |
Missing a Javadoc comment. | 65 | |
Method 'findDashboardWithGadget' is not designed for extension - needs to be abstract, final or empty. | 73 | |
method def modifier at indentation level 11 not at correct indentation, 12 | 78 | |
Missing a Javadoc comment. | 78 | |
method def lcurly at indentation level 11 not at correct indentation, 12 | 79 | |
method def child at indentation level 15 not at correct indentation, 16 | 80 | |
method def rcurly at indentation level 11 not at correct indentation, 12 | 81 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 13 | |
Line is longer than 120 characters. | 21 | |
')' is preceded with whitespace. | 21 | |
'19' is a magic number. | 62 | |
'35' is a magic number. | 62 | |
'if' construct must use '{}'s. | 74 | |
'if' construct must use '{}'s. | 75 | |
'if' construct must use '{}'s. | 76 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 23 (max allowed is 10). | 36 | |
Method 'addGadget' is not designed for extension - needs to be abstract, final or empty. | 71 | |
Method 'addGadget' is not designed for extension - needs to be abstract, final or empty. | 78 | |
Line is longer than 120 characters. | 93 | |
Line is longer than 120 characters. | 121 | |
Method 'moveGadget' is not designed for extension - needs to be abstract, final or empty. | 121 | |
Line is longer than 120 characters. | 122 | |
Missing a Javadoc comment. | 128 | |
Line is longer than 120 characters. | 135 | |
Line has trailing spaces. | 145 | |
Line is longer than 120 characters. | 155 | |
Line is longer than 120 characters. | 157 | |
Line is longer than 120 characters. | 175 | |
'if' is not followed by whitespace. | 189 | |
'if' is not followed by whitespace. | 191 |
Violation | Message | Line |
---|---|---|
Method 'setGadgetColor' is not designed for extension - needs to be abstract, final or empty. | 39 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 20 (max allowed is 10). | 33 | |
Method 'changeLayout' is not designed for extension - needs to be abstract, final or empty. | 46 | |
Line has trailing spaces. | 90 | |
method def throws at indentation level 12 not at correct indentation, 8 | 102 | |
method def throws at indentation level 12 not at correct indentation, 8 | 134 | |
Line is longer than 120 characters. | 137 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 19 (max allowed is 10). | 39 | |
Method 'getDashboard' is not designed for extension - needs to be abstract, final or empty. | 79 | |
'}' is not preceded with whitespace. | 81 | |
Line is longer than 120 characters. | 89 | |
Method 'getNumGadgets' is not designed for extension - needs to be abstract, final or empty. | 99 | |
Line is longer than 120 characters. | 103 | |
Line is longer than 120 characters. | 109 | |
Method 'addGadget' is not designed for extension - needs to be abstract, final or empty. | 130 | |
Line is longer than 120 characters. | 153 | |
Method 'changeLayoutViaPOST' is not designed for extension - needs to be abstract, final or empty. | 188 | |
Method 'changeLayoutViaPUT' is not designed for extension - needs to be abstract, final or empty. | 207 | |
'+' should be on a new line. | 223 |
Violation | Message | Line |
---|---|---|
Method 'deleteGadget' is not designed for extension - needs to be abstract, final or empty. | 39 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 26 (max allowed is 10). | 48 | |
More than 7 parameters. | 77 | |
Method 'getRenderedGadget' is not designed for extension - needs to be abstract, final or empty. | 106 | |
NPath Complexity is 28 (max allowed is 20). | 106 | |
',' is not followed by whitespace. | 108 | |
'}' is not preceded with whitespace. | 108 | |
'if' is not followed by whitespace. | 115 | |
Line has trailing spaces. | 119 | |
'{' should be on a new line. | 124 | |
'if' is not followed by whitespace. | 142 | |
Method 'deleteOrMoveGadgetViaPost' is not designed for extension - needs to be abstract, final or empty. | 165 | |
if child at indentation level 16 not at correct indentation, 12 | 179 | |
Line contains a tab character. | 179 | |
if child at indentation level 16 not at correct indentation, 12 | 180 | |
Line contains a tab character. | 180 | |
Method 'deleteGadget' is not designed for extension - needs to be abstract, final or empty. | 197 | |
Method 'moveGadget' is not designed for extension - needs to be abstract, final or empty. | 223 | |
Line is longer than 120 characters. | 241 | |
Line has trailing spaces. | 260 | |
Method 'changeGadgetColorViaPOST' is not designed for extension - needs to be abstract, final or empty. | 271 | |
Method 'changeGadgetColor' is not designed for extension - needs to be abstract, final or empty. | 300 | |
'+' should be on a new line. | 341 | |
Method 'updateUserPrefsViaPOST' is not designed for extension - needs to be abstract, final or empty. | 365 | |
Method 'updateUserPrefsViaPUT' is not designed for extension - needs to be abstract, final or empty. | 400 | |
'+' should be on a new line. | 431 |
Violation | Message | Line |
---|---|---|
Class Fan-Out Complexity is 11 (max allowed is 10). | 23 | |
Static variable definition in wrong order. | 27 | |
Method 'updateUserPrefs' is not designed for extension - needs to be abstract, final or empty. | 44 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 34 | |
Variable 'writable' explicitly initialized to 'false' (default value for its type). | 40 | |
Method 'writable' is not designed for extension - needs to be abstract, final or empty. | 49 | |
'writable' hides a field. | 49 | |
Method 'gadgets' is not designed for extension - needs to be abstract, final or empty. | 55 | |
'gadgets' hides a field. | 55 | |
Method 'build' is not designed for extension - needs to be abstract, final or empty. | 63 |
Violation | Message | Line |
---|---|---|
Comment matches to-do format 'TODO:'. | 22 | |
'}' is not preceded with whitespace. | 63 | |
NPath Complexity is 256 (max allowed is 20). | 91 | |
Method 'getHasNonHiddenUserPrefs' is not designed for extension - needs to be abstract, final or empty. | 112 | |
Method 'isLoaded' is not designed for extension - needs to be abstract, final or empty. | 117 | |
Method 'getColor' is not designed for extension - needs to be abstract, final or empty. | 122 | |
Method 'getGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. | 127 | |
Method 'getHeight' is not designed for extension - needs to be abstract, final or empty. | 132 | |
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 137 | |
Method 'isMaximizable' is not designed for extension - needs to be abstract, final or empty. | 142 | |
Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. | 147 | |
Method 'getTitleUrl' is not designed for extension - needs to be abstract, final or empty. | 152 | |
Method 'getUserPrefs' is not designed for extension - needs to be abstract, final or empty. | 157 | |
Method 'getWidth' is not designed for extension - needs to be abstract, final or empty. | 162 | |
Method 'getRenderedGadgetUrl' is not designed for extension - needs to be abstract, final or empty. | 167 | |
Method 'getColorUrl' is not designed for extension - needs to be abstract, final or empty. | 172 | |
Method 'getGadgetUrl' is not designed for extension - needs to be abstract, final or empty. | 177 | |
Method 'hasNonHiddenUserPrefs' is not designed for extension - needs to be abstract, final or empty. | 182 | |
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. | 187 | |
Method 'getErrorMessage' is not designed for extension - needs to be abstract, final or empty. | 192 | |
'static' modifier out of order with the JLS suggestions. | 200 | |
Line is longer than 120 characters. | 217 | |
'(' is followed by whitespace. | 217 | |
')' is preceded with whitespace. | 217 | |
'if' is not followed by whitespace. | 219 |
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 23 | |
First sentence should end with a period. | 25 | |
Line is longer than 120 characters. | 35 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Missing a Javadoc comment. | 14 | |
Class Fan-Out Complexity is 13 (max allowed is 10). | 14 | |
Line is longer than 120 characters. | 19 | |
Line is longer than 120 characters. | 25 | |
Method 'createDashboardRepresentation' is not designed for extension - needs to be abstract, final or empty. | 25 | |
Line is longer than 120 characters. | 32 | |
Line is longer than 120 characters. | 39 | |
Method 'createGadgetRepresentation' is not designed for extension - needs to be abstract, final or empty. | 39 | |
Line is longer than 120 characters. | 42 |
Violation | Message | Line |
---|---|---|
Line is longer than 120 characters. | 45 | |
Line has trailing spaces. | 47 | |
Line is longer than 120 characters. | 50 | |
Constructor definition in wrong order. | 57 | |
Line has trailing spaces. | 96 | |
Missing a Javadoc comment. | 98 | |
Method 'getValue' is not designed for extension - needs to be abstract, final or empty. | 124 | |
Method 'getLabel' is not designed for extension - needs to be abstract, final or empty. | 129 | |
Method 'isSelected' is not designed for extension - needs to be abstract, final or empty. | 134 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. | 14 | |
'com.google.common.collect.Iterables.transform' should be separated from previous imports. | 15 | |
First sentence should end with a period. | 18 | |
Missing a Javadoc comment. | 59 | |
Line has trailing spaces. | 74 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
Utility classes should not have a public or default constructor. | 13 | |
Line has trailing spaces. | 24 | |
Line has trailing spaces. | 28 | |
Line has trailing spaces. | 33 | |
Line has trailing spaces. | 36 | |
Line has trailing spaces. | 41 | |
Line has trailing spaces. | 43 | |
Line has trailing spaces. | 60 | |
Line has trailing spaces. | 64 | |
Line has trailing spaces. | 85 | |
Line has trailing spaces. | 116 | |
Cyclomatic Complexity is 20 (max allowed is 10). | 126 | |
NCSS for this method is 71 (max allowed is 50). | 126 | |
NPath Complexity is 40 (max allowed is 20). | 126 | |
'0xfff' is a magic number. | 143 | |
'0xff' is a magic number. | 147 | |
'0x7f' is a magic number. | 151 | |
'32' is a magic number. | 155 | |
'0xf' is a magic number. | 180 | |
Line has trailing spaces. | 230 |
Violation | Message | Line |
---|---|---|
Wrong order for 'com.google.common.base.Preconditions.checkNotNull' import. | 22 | |
Class Fan-Out Complexity is 15 (max allowed is 10). | 27 | |
Line has trailing spaces. | 30 | |
Line has trailing spaces. | 35 | |
Method 'json' is not designed for extension - needs to be abstract, final or empty. | 36 | |
Line is longer than 120 characters. | 39 | |
Line has trailing spaces. | 146 | |
Line has trailing spaces. | 155 | |
Line has trailing spaces. | 160 | |
Line has trailing spaces. | 169 | |
Line has trailing spaces. | 178 | |
Line has trailing spaces. | 187 | |
Line has trailing spaces. | 196 | |
Line has trailing spaces. | 199 | |
Line has trailing spaces. | 201 | |
'(' is preceded with whitespace. | 203 | |
Line has trailing spaces. | 215 | |
Line has trailing spaces. | 219 | |
Line has trailing spaces. | 224 |
Violation | Message | Line |
---|---|---|
Missing package-info.java file. | 0 | |
'org.apache.commons.io.IOUtils.closeQuietly' should be separated from previous imports. | 20 | |
Missing a Javadoc comment. | 22 | |
Class Fan-Out Complexity is 12 (max allowed is 10). | 22 | |
More than 7 parameters. | 36 | |
'static' modifier out of order with the JLS suggestions. | 84 | |
Line has trailing spaces. | 88 | |
'catch' is not followed by whitespace. | 97 | |
Line has trailing spaces. | 116 |
Violation | Message | Line |
---|---|---|
Missing a Javadoc comment. | 23 | |
Class Fan-Out Complexity is 15 (max allowed is 10). | 23 | |
Line is longer than 120 characters. | 45 | |
Method 'createDashboardView' is not designed for extension - needs to be abstract, final or empty. | 45 |