Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
11 0 0 367

Rules

Rules Violations Severity
PackageHtml 1 Errors Error
NewlineAtEndOfFile 1 Errors Error
Translation 0 Errors Error
JavadocMethod 35 Errors Error
JavadocType 6 Errors Error
JavadocVariable 17 Errors Error
JavadocStyle 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
RedundantImport 0 Errors Error
UnusedImports 2 Errors Error
FileLength 0 Errors Error
LineLength 65 Errors Error
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
TabCharacter 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 63 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 70 Errors Error
NeedBraces 0 Errors Error
RightCurly 4 Errors Error
AvoidInlineConditionals 1 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField 13 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 0 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 2 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
DesignForExtension 15 Errors Error
FinalClass 1 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 2 Errors Error
ArrayTypeStyle 0 Errors Error
FinalParameters 38 Errors Error
GenericIllegalRegexp
  • message: "Line has trailing spaces."
  • format: "\s+$"
30 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/util/AbstractUrlBuilder.java

Violation Message Line
Errors Missing a Javadoc comment. 6
Errors '{' should be on the previous line. 7
Errors Line has trailing spaces. 8
Errors Line is longer than 80 characters. 8
Errors Missing a Javadoc comment. 8
Errors Missing a Javadoc comment. 10
Errors Variable 'webResourceManager' must be private and have accessor methods. 10
Errors Missing a Javadoc comment. 11
Errors Variable 'applicationProperties' must be private and have accessor methods. 11
Errors Missing a Javadoc comment. 12
Errors Line has trailing spaces. 13
Errors Missing a Javadoc comment. 14
Errors Parameter applicationProperties should be final. 14
Errors 'applicationProperties' hides a field. 14
Errors Parameter webResourceManager should be final. 15
Errors 'webResourceManager' hides a field. 15
Errors Parameter pluginModuleKey should be final. 16
Errors 'pluginModuleKey' hides a field. 16
Errors '{' should be on the previous line. 17
Errors Method 'buildImageUrl' is not designed for extension - needs to be abstract, final or empty. 23
Errors Missing a Javadoc comment. 23
Errors Parameter path should be final. 23
Errors '{' should be on the previous line. 24
Errors '{' should be on the previous line. 26
Errors Line has trailing spaces. 29
Errors Method 'buildRpcJsUrl' is not designed for extension - needs to be abstract, final or empty. 32
Errors Missing a Javadoc comment. 32
Errors '{' should be on the previous line. 33
Errors Method 'getBaseUrl' is not designed for extension - needs to be abstract, final or empty. 37
Errors Missing a Javadoc comment. 37
Errors '{' should be on the previous line. 38
Errors Missing a Javadoc comment. 42
Errors '{' should be on the previous line. 43
Errors Line is longer than 80 characters. 44

com/atlassian/gadgets/util/GadgetSpecUrlBuilder.java

Violation Message Line
Errors Unused import - com.atlassian.plugin.Plugin. 7
Errors '{' should be on the previous line. 17
Errors Missing a Javadoc comment. 18
Errors Line is longer than 80 characters. 21
Errors Line is longer than 80 characters. 24
Errors Line is longer than 80 characters. 25
Errors Line is longer than 80 characters. 26
Errors Unused @throws tag for 'NullPointerException'. 26
Errors Parameter applicationProperties should be final. 28
Errors 'applicationProperties' hides a field. 28
Errors '{' should be on the previous line. 29
Errors Line is longer than 80 characters. 30
Errors Line is longer than 80 characters. 36
Errors Unused @throws tag for 'NullPointerException'. 39
Errors Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 41
Errors Parameter key should be final. 41
Errors '{' should be on the previous line. 42
Errors Line is longer than 80 characters. 49
Errors Line is longer than 80 characters. 51
Errors Line is longer than 80 characters. 53
Errors Unused @throws tag for 'NullPointerException'. 56
Errors Method 'buildGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 58
Errors Parameter pluginKey should be final. 58
Errors Parameter location should be final. 58
Errors '{' should be on the previous line. 59
Errors '{' should be on the previous line. 67
Errors Line is longer than 80 characters. 75
Errors Line is longer than 80 characters. 76
Errors Line is longer than 80 characters. 77
Errors Line is longer than 80 characters. 79
Errors Line is longer than 80 characters. 81
Errors Line is longer than 80 characters. 82
Errors Line is longer than 80 characters. 83
Errors Line is longer than 80 characters. 84
Errors Line is longer than 80 characters. 86
Errors Unused @throws tag for 'com.atlassian.gadgets.GadgetSpecUriNotAllowedException'. 86
Errors Line is longer than 80 characters. 87
Errors Line is longer than 80 characters. 89
Errors Unused @throws tag for 'NullPointerException'. 89
Errors Method 'parseGadgetSpecUrl' is not designed for extension - needs to be abstract, final or empty. 91
Errors Parameter gadgetSpecUrl should be final. 91
Errors '{' should be on the previous line. 92
Errors '{' should be on the previous line. 97
Errors Line is longer than 80 characters. 98
Errors Line is longer than 80 characters. 102
Errors Line is longer than 80 characters. 103
Errors '{' should be on the previous line. 105
Errors Line is longer than 80 characters. 106
Errors '{' should be on the previous line. 110
Errors Line is longer than 80 characters. 111
Errors Line is longer than 80 characters. 113
Errors '{' should be on the previous line. 115
Errors Line is longer than 80 characters. 116
Errors '{' should be on the previous line. 119
Errors Missing a Javadoc comment. 126
Errors '{' should be on the previous line. 127

com/atlassian/gadgets/util/IllegalUriParameterException.java

Violation Message Line
Errors '{' should be on the previous line. 7
Errors Missing a Javadoc comment. 8
Errors Parameter message should be final. 8
Errors Parameter cause should be final. 8
Errors '{' should be on the previous line. 9
Errors Missing a Javadoc comment. 13
Errors Parameter message should be final. 13
Errors '{' should be on the previous line. 14

com/atlassian/gadgets/util/InvalidDirectoryGadgetUriException.java

Violation Message Line
Errors File does not end with a newline. 0
Errors Unused import - java.net.URI. 3
Errors Line is longer than 80 characters. 6
Errors '{' should be on the previous line. 10
Errors Missing a Javadoc comment. 11
Errors Parameter e should be final. 11
Errors '{' should be on the previous line. 12
Errors Missing a Javadoc comment. 16
Errors Parameter message should be final. 16
Errors '{' should be on the previous line. 17

com/atlassian/gadgets/util/Uri.java

Violation Message Line
Errors Line has trailing spaces. 14
Errors Class Uri should be declared as final. 16
Errors '{' should be on the previous line. 17
Errors Missing a Javadoc comment. 18
Errors '{' is not followed by whitespace. 18
Errors '}' is not preceded with whitespace. 18
Errors Line is longer than 80 characters. 21
Errors Line has trailing spaces. 23
Errors Parameter uriComponent should be final. 27
Errors '{' should be on the previous line. 28
Errors '{' should be on the previous line. 30
Errors '}' should be on the same line. 32
Errors '{' should be on the previous line. 34
Errors Line is longer than 80 characters. 40
Errors Line has trailing spaces. 42
Errors Parameter uriComponent should be final. 46
Errors '{' should be on the previous line. 47
Errors '{' should be on the previous line. 49
Errors '}' should be on the same line. 51
Errors '{' should be on the previous line. 53
Errors Line has trailing spaces. 57
Errors Line has trailing spaces. 59
Errors Line is longer than 80 characters. 59
Errors Line has trailing spaces. 61
Errors Line is longer than 80 characters. 63
Errors Parameter gadgetUri should be final. 66
Errors '{' should be on the previous line. 67
Errors '{' should be on the previous line. 69
Errors Line has trailing spaces. 72
Errors '{' should be on the previous line. 74
Errors Line is longer than 80 characters. 76
Errors '}' should be on the same line. 80
Errors '{' should be on the previous line. 82
Errors Line has trailing spaces. 87
Errors Line is longer than 80 characters. 89
Errors Line is longer than 80 characters. 90
Errors Line has trailing spaces. 91
Errors Line has trailing spaces. 92
Errors Line is longer than 80 characters. 94
Errors Line is longer than 80 characters. 97
Errors Parameter gadgetUri should be final. 97
Errors Redundant throws: 'GadgetSpecUriNotAllowedException' is unchecked exception. 97
Errors '{' should be on the previous line. 100
Errors Line is longer than 80 characters. 101

com/atlassian/gadgets/util/UriParameterConverter.java

Violation Message Line
Errors Line is longer than 80 characters. 4
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 6
Errors Line is longer than 80 characters. 6
Errors Utility classes should not have a public or default constructor. 8
Errors '{' should be on the previous line. 9
Errors Missing a Javadoc comment. 10
Errors Parameter value should be final. 10
Errors Redundant throws: 'IllegalUriParameterException' is unchecked exception. 10
Errors '{' should be on the previous line. 13
Errors '}' should be on the same line. 15
Errors '{' should be on the previous line. 17
Errors Line is longer than 80 characters. 18

com/atlassian/gadgets/util/UriTemplate.java

Violation Message Line
Errors Line is longer than 80 characters. 10
Errors Line has trailing spaces. 11
Errors Line is longer than 80 characters. 11
Errors Line is longer than 80 characters. 12
Errors '{' should be on the previous line. 16
Errors Missing a Javadoc comment. 17
Errors Missing a Javadoc comment. 19
Errors Parameter uriTemplate should be final. 19
Errors '{' should be on the previous line. 20
Errors Line has trailing spaces. 23
Errors Line has trailing spaces. 26
Errors Line is longer than 80 characters. 28
Errors Method 'matches' is not designed for extension - needs to be abstract, final or empty. 30
Errors Parameter uri should be final. 30
Errors '{' should be on the previous line. 31
Errors '{' should be on the previous line. 34
Errors '{' should be on the previous line. 38
Errors Line is longer than 80 characters. 39
Errors Line has trailing spaces. 46
Errors Line has trailing spaces. 49
Errors Line is longer than 80 characters. 52
Errors Unused @throws tag for 'IllegalArgumentException'. 52
Errors Method 'extractParameters' is not designed for extension - needs to be abstract, final or empty. 54
Errors '<' is not preceded with whitespace. 54
Errors '<' is not followed by whitespace. 54
Errors '>' is not preceded with whitespace. 54
Errors Parameter uri should be final. 54
Errors '{' should be on the previous line. 55
Errors '{' should be on the previous line. 57
Errors Line is longer than 80 characters. 58
Errors '<' is not preceded with whitespace. 60
Errors '<' is not followed by whitespace. 60
Errors '>' is not preceded with whitespace. 60
Errors '<' is not preceded with whitespace. 60
Errors '<' is not followed by whitespace. 60
Errors '>' is not preceded with whitespace. 60
Errors '>' is not followed by whitespace. 60
Errors '{' should be on the previous line. 63
Errors '{' should be on the previous line. 65
Errors Line is longer than 80 characters. 66
Errors Missing a Javadoc comment. 72
Errors Parameter s should be final. 72
Errors '{' should be on the previous line. 73
Errors Missing a Javadoc comment. 77
Errors Parameter s should be final. 77
Errors '{' should be on the previous line. 78

com/atlassian/gadgets/util/UrlBuilder.java

Violation Message Line
Errors '{' should be on the previous line. 7
Errors Line has trailing spaces. 10
Errors Line has trailing spaces. 17

com/atlassian/gadgets/util/UrlUtils.java

Violation Message Line
Errors Missing a Javadoc comment. 3
Errors '{' should be on the previous line. 4
Errors Missing a Javadoc comment. 5
Errors '{' should be on the previous line. 6
Errors Missing a Javadoc comment. 10
Errors Parameter url should be final. 10
Errors '{' should be on the previous line. 11
Errors Avoid inline conditionals. 12

com/atlassian/gadgets/util/WebItemFinder.java

Violation Message Line
Errors Missing a Javadoc comment. 17
Errors '{' should be on the previous line. 18
Errors Line has trailing spaces. 19
Errors Line is longer than 80 characters. 19
Errors Missing a Javadoc comment. 19
Errors Line is longer than 80 characters. 20
Errors Missing a Javadoc comment. 20
Errors Missing a Javadoc comment. 22
Errors Missing a Javadoc comment. 24
Errors Missing a Javadoc comment. 26
Errors Line is longer than 80 characters. 28
Errors Missing a Javadoc comment. 28
Errors Parameter webInterfaceManager should be final. 28
Errors 'webInterfaceManager' hides a field. 28
Errors Parameter applicationProperties should be final. 28
Errors 'applicationProperties' hides a field. 28
Errors Parameter i18n should be final. 28
Errors 'i18n' hides a field. 28
Errors Line is longer than 80 characters. 35
Errors Method 'findMenuItemsInSection' is not designed for extension - needs to be abstract, final or empty. 35
Errors Missing a Javadoc comment. 35
Errors '<' is not preceded with whitespace. 35
Errors '<' is not followed by whitespace. 35
Errors '>' is not preceded with whitespace. 35
Errors Parameter section should be final. 35
Errors Parameter initialContext should be final. 35
Errors '<' is not preceded with whitespace. 35
Errors '<' is not followed by whitespace. 35
Errors '>' is not preceded with whitespace. 35
Errors '?' is not followed by whitespace. 35
Errors Line is longer than 80 characters. 37
Errors '<' is not preceded with whitespace. 37
Errors '<' is not followed by whitespace. 37
Errors '>' is not preceded with whitespace. 37
Errors '<' is not preceded with whitespace. 37
Errors '<' is not followed by whitespace. 37
Errors '>' is not preceded with whitespace. 37
Errors '>' is not followed by whitespace. 37
Errors Line is longer than 80 characters. 38
Errors '<' is not preceded with whitespace. 38
Errors '<' is not followed by whitespace. 38
Errors '>' is not preceded with whitespace. 38
Errors Line is longer than 80 characters. 39
Errors '<' is not preceded with whitespace. 39
Errors '<' is not followed by whitespace. 39
Errors '>' is not preceded with whitespace. 39
Errors '>' is not followed by whitespace. 39
Errors Parameter descriptor should be final. 40
Errors '{' should be on the previous line. 41
Errors Line has trailing spaces. 46
Errors Missing a Javadoc comment. 47
Errors '{' should be on the previous line. 48
Errors Missing a Javadoc comment. 49
Errors Missing a Javadoc comment. 50
Errors '<' is not preceded with whitespace. 50
Errors '<' is not followed by whitespace. 50
Errors '>' is not preceded with whitespace. 50
Errors Missing a Javadoc comment. 52
Errors Line is longer than 80 characters. 53
Errors Parameter descriptor should be final. 53
Errors 'descriptor' hides a field. 53
Errors Parameter context should be final. 53
Errors '<' is not preceded with whitespace. 53
Errors '<' is not followed by whitespace. 53
Errors '>' is not preceded with whitespace. 53
Errors 'context' hides a field. 53
Errors Line has trailing spaces. 58
Errors Method 'getLink' is not designed for extension - needs to be abstract, final or empty. 59
Errors Missing a Javadoc comment. 59
Errors '{' should be on the previous line. 60
Errors Line has trailing spaces. 63
Errors Method 'getLabel' is not designed for extension - needs to be abstract, final or empty. 64
Errors Missing a Javadoc comment. 64
Errors '{' should be on the previous line. 65
Errors Line has trailing spaces. 68
Errors Method 'getStyleClass' is not designed for extension - needs to be abstract, final or empty. 69
Errors Missing a Javadoc comment. 69
Errors '{' should be on the previous line. 70
Errors Line has trailing spaces. 74
Errors Missing a Javadoc comment. 75
Errors '{' should be on the previous line. 76
Errors Missing a Javadoc comment. 77
Errors '<' is not preceded with whitespace. 77
Errors '<' is not followed by whitespace. 77
Errors '>' is not preceded with whitespace. 77
Errors Missing a Javadoc comment. 78
Errors Missing a Javadoc comment. 80
Errors Parameter link should be final. 80
Errors 'link' hides a field. 80
Errors Parameter context should be final. 80
Errors '<' is not preceded with whitespace. 80
Errors '<' is not followed by whitespace. 80
Errors '>' is not preceded with whitespace. 80
Errors 'context' hides a field. 80
Errors '{' should be on the previous line. 81
Errors Line is longer than 80 characters. 83
Errors '<' is not preceded with whitespace. 83
Errors '<' is not followed by whitespace. 83
Errors '>' is not preceded with whitespace. 83
Errors '>' is not followed by whitespace. 83
Errors Method 'getId' is not designed for extension - needs to be abstract, final or empty. 86
Errors Missing a Javadoc comment. 86
Errors '{' should be on the previous line. 87
Errors Method 'getDisplayableUrl' is not designed for extension - needs to be abstract, final or empty. 91
Errors Missing a Javadoc comment. 91
Errors '{' should be on the previous line. 92
Errors Line is longer than 80 characters. 93
Errors Line is longer than 80 characters. 94
Errors '<' is not preceded with whitespace. 94
Errors '<' is not followed by whitespace. 94
Errors '>' is not preceded with whitespace. 94
Errors '>' is not followed by whitespace. 94
Errors '{' should be on the previous line. 96
Errors Line has trailing spaces. 101
Errors Missing a Javadoc comment. 102
Errors Parameter url should be final. 102
Errors '{' should be on the previous line. 103
Errors Line has trailing spaces. 107
Errors Missing a Javadoc comment. 108
Errors '{' should be on the previous line. 109
Errors Missing a Javadoc comment. 110
Errors Missing a Javadoc comment. 111
Errors '<' is not preceded with whitespace. 111
Errors '<' is not followed by whitespace. 111
Errors '>' is not preceded with whitespace. 111
Errors Missing a Javadoc comment. 113
Errors Parameter webLabel should be final. 113
Errors 'webLabel' hides a field. 113
Errors Parameter context should be final. 113
Errors '<' is not preceded with whitespace. 113
Errors '<' is not followed by whitespace. 113
Errors '>' is not preceded with whitespace. 113
Errors 'context' hides a field. 113
Errors '{' should be on the previous line. 114
Errors Line has trailing spaces. 118
Errors Method 'getDisplayableLabel' is not designed for extension - needs to be abstract, final or empty. 119
Errors Missing a Javadoc comment. 119
Errors '{' should be on the previous line. 120
Errors Line is longer than 80 characters. 121
Errors Line is longer than 80 characters. 122
Errors '<' is not preceded with whitespace. 122
Errors '<' is not followed by whitespace. 122
Errors '>' is not preceded with whitespace. 122
Errors '>' is not followed by whitespace. 122

com/atlassian/gadgets/util/package.html

Violation Message Line
Errors Missing package documentation file. 0