Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
32 63 100 145

Files

Files Infos Warnings Errors
com/atlassian/gadgets/directory/internal/ConfigurableExternalGadgetSpecStore.java 0 0 2
com/atlassian/gadgets/directory/internal/DirectoryConfigServlet.java 1 2 2
com/atlassian/gadgets/directory/internal/DirectoryConfigurationPermissionChecker.java 1 1 0
com/atlassian/gadgets/directory/internal/DirectoryEntryProvider.java 0 0 2
com/atlassian/gadgets/directory/internal/DirectoryPredicates.java 0 3 8
com/atlassian/gadgets/directory/internal/DirectoryUrlBuilder.java 0 3 2
com/atlassian/gadgets/directory/internal/GadgetFeedParsingException.java 1 2 1
com/atlassian/gadgets/directory/internal/GadgetFeedsSpecProvider.java 16 26 17
com/atlassian/gadgets/directory/internal/GadgetSpecProviderHelper.java 0 2 4
com/atlassian/gadgets/directory/internal/HttpCache.java 0 0 1
com/atlassian/gadgets/directory/internal/NonAtomGadgetSpecFeedException.java 1 1 0
com/atlassian/gadgets/directory/internal/SubscribedGadgetFeed.java 3 3 2
com/atlassian/gadgets/directory/internal/SubscribedGadgetFeedStore.java 0 7 2
com/atlassian/gadgets/directory/internal/impl/AbstractDirectoryEntryProvider.java 0 1 6
com/atlassian/gadgets/directory/internal/impl/ConfigurableExternalGadgetSpecDirectoryEntryProvider.java 6 0 7
com/atlassian/gadgets/directory/internal/impl/DirectoryImpl.java 2 0 7
com/atlassian/gadgets/directory/internal/impl/DirectoryUrlBuilderImpl.java 4 1 1
com/atlassian/gadgets/directory/internal/impl/GadgetSpecDirectoryEntry.java 0 0 12
com/atlassian/gadgets/directory/internal/impl/GadgetSpecProviderDirectoryEntryProvider.java 4 1 8
com/atlassian/gadgets/directory/internal/impl/GadgetSpecUrlRenderPermissionImpl.java 1 1 1
com/atlassian/gadgets/directory/internal/impl/PluginExternalGadgetSpecDirectoryEntryProvider.java 6 1 3
com/atlassian/gadgets/directory/internal/impl/SubscribedGadgetFeedStoreImpl.java 5 6 4
com/atlassian/gadgets/directory/internal/impl/UnavailableFeatureException.java 0 0 1
com/atlassian/gadgets/directory/internal/jaxb/JAXBCategory.java 0 0 4
com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryContents.java 0 1 8
com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryEntry.java 0 1 6
com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedRepresentation.java 3 11 9
com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedsRepresentation.java 2 14 8
com/atlassian/gadgets/directory/internal/rest/DirectoryResource.java 3 0 5
com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedResource.java 2 2 3
com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedsResource.java 2 10 9

Rules

Rules Violations Severity
JavadocPackage 3 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
86 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"
15 Errors Error
JavadocType
  • scope: "package"
19 Errors Error
JavadocVariable
  • scope: "package"
2 Errors Error
JavadocStyle
  • scope: "package"
7 Errors Error
ConstantName 1 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"
51 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
LineLength
  • max: "120"
14 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 6 Errors Error
ParenPad 2 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 17 Errors Error
ModifierOrder 1 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly
  • option: "nl"
0 Errors Error
NeedBraces 0 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
DeclarationOrder 2 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 4 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 63 Infos Info
FinalClass 1 Errors Error
HideUtilityClassConstructor 1 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 1 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 0 Errors Error
ClassFanOutComplexity
  • max: "10"
8 Errors Error
CyclomaticComplexity 0 Errors Error
NPathComplexity
  • max: "20"
0 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 0 Errors Error
Indentation 0 Errors Error
TodoComment 4 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/directory/internal/ConfigurableExternalGadgetSpecStore.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors First sentence should end with a period. 19

com/atlassian/gadgets/directory/internal/DirectoryConfigServlet.java

Violation Message Line
Errors Wrong order for 'java.io.IOException' import. 5
Errors Missing a Javadoc comment. 17
Warnings Line has trailing spaces. 29
Infos Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 30
Warnings Line is longer than 120 characters. 35

com/atlassian/gadgets/directory/internal/DirectoryConfigurationPermissionChecker.java

Violation Message Line
Warnings Line is longer than 120 characters. 23
Infos Method 'checkForPermissionToConfigureDirectory' is not designed for extension - needs to be abstract, final or empty. 37

com/atlassian/gadgets/directory/internal/DirectoryEntryProvider.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 6
Errors Missing a Javadoc comment. 8

com/atlassian/gadgets/directory/internal/DirectoryPredicates.java

Violation Message Line
Errors Wrong order for 'javax.annotation.Nullable' import. 5
Errors 'com.google.common.base.Predicate' should be separated from previous imports. 9
Errors First sentence should end with a period. 11
Warnings Line is longer than 120 characters. 12
Errors '{' is not followed by whitespace. 16
Errors '}' is not preceded with whitespace. 16
Warnings Line has trailing spaces. 17
Errors '(' is followed by whitespace. 48
Errors ')' is preceded with whitespace. 48
Warnings Line has trailing spaces. 54
Errors 'if' is not followed by whitespace. 55

com/atlassian/gadgets/directory/internal/DirectoryUrlBuilder.java

Violation Message Line
Errors Missing a Javadoc comment. 5
Errors First sentence should end with a period. 16
Warnings Line has trailing spaces. 27
Warnings Line has trailing spaces. 31
Warnings Line has trailing spaces. 34

com/atlassian/gadgets/directory/internal/GadgetFeedParsingException.java

Violation Message Line
Errors First sentence should end with a period. 5
Warnings Line has trailing spaces. 11
Warnings Line has trailing spaces. 17
Infos Method 'getFeedUri' is not designed for extension - needs to be abstract, final or empty. 18

com/atlassian/gadgets/directory/internal/GadgetFeedsSpecProvider.java

Violation Message Line
Errors 'com.google.common.base.Preconditions.checkNotNull' should be separated from previous imports. 5
Errors 'org.apache.commons.lang.StringUtils.isBlank' should be separated from previous imports. 9
Errors Wrong order for 'java.io.InputStream' import. 11
Errors Wrong order for 'com.atlassian.gadgets.GadgetSpecProvider' import. 29
Errors 'com.google.common.base.Function' should be separated from previous imports. 32
Errors Missing a Javadoc comment. 43
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 43
Warnings Line has trailing spaces. 46
Warnings Line has trailing spaces. 48
Warnings Line has trailing spaces. 52
Warnings Line has trailing spaces. 59
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 60
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 65
Warnings Line has trailing spaces. 72
Infos Method 'addFeed' is not designed for extension - needs to be abstract, final or empty. 77
Warnings Line has trailing spaces. 82
Errors Missing a Javadoc comment. 86
Warnings Line has trailing spaces. 96
Infos Method 'getFeeds' is not designed for extension - needs to be abstract, final or empty. 99
Errors Missing a Javadoc comment. 103
Warnings Line has trailing spaces. 109
Warnings Line has trailing spaces. 112
Infos Method 'containsFeed' is not designed for extension - needs to be abstract, final or empty. 116
Errors Missing a Javadoc comment. 120
Warnings Line has trailing spaces. 129
Infos Method 'getFeedProvider' is not designed for extension - needs to be abstract, final or empty. 133
Errors Missing a Javadoc comment. 137
Warnings Line has trailing spaces. 150
Infos Method 'removeFeed' is not designed for extension - needs to be abstract, final or empty. 153
Errors Missing a Javadoc comment. 157
Infos Method 'getFeedProviders' is not designed for extension - needs to be abstract, final or empty. 164
Warnings Line has trailing spaces. 168
Warnings Line has trailing spaces. 173
Warnings Line is longer than 120 characters. 174
Errors Instance variable definition in wrong order. 174
Errors Missing a Javadoc comment. 176
Warnings Line has trailing spaces. 181
Warnings Line has trailing spaces. 186
Errors Missing a Javadoc comment. 187
Errors Class Fan-Out Complexity is 16 (max allowed is 10). 187
Warnings Line has trailing spaces. 193
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 200
Warnings Line has trailing spaces. 204
Infos Method 'getUri' is not designed for extension - needs to be abstract, final or empty. 205
Warnings Line has trailing spaces. 209
Infos Method 'getApplicationName' is not designed for extension - needs to be abstract, final or empty. 210
Warnings Line has trailing spaces. 219
Infos Method 'getTitle' is not designed for extension - needs to be abstract, final or empty. 220
Warnings Line has trailing spaces. 224
Infos Method 'getIcon' is not designed for extension - needs to be abstract, final or empty. 225
Infos Method 'getBaseUri' is not designed for extension - needs to be abstract, final or empty. 235
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 261
Infos Method 'entries' is not designed for extension - needs to be abstract, final or empty. 266
Warnings Line has trailing spaces. 270
Warnings Line has trailing spaces. 321
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 328
Warnings Line has trailing spaces. 356
Warnings Line is longer than 120 characters. 374
Warnings Line has trailing spaces. 379

com/atlassian/gadgets/directory/internal/GadgetSpecProviderHelper.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.GadgetSpecProvider' import. 8
Errors 'com.google.common.base.Function' should be separated from previous imports. 9
Errors Missing a Javadoc comment. 13
Errors Utility classes should not have a public or default constructor. 13
Warnings Line has trailing spaces. 23
Warnings Line is longer than 120 characters. 74

com/atlassian/gadgets/directory/internal/HttpCache.java

Violation Message Line
Errors Missing a Javadoc comment. 8

com/atlassian/gadgets/directory/internal/NonAtomGadgetSpecFeedException.java

Violation Message Line
Warnings Line has trailing spaces. 16
Infos Method 'getFeedUri' is not designed for extension - needs to be abstract, final or empty. 17

com/atlassian/gadgets/directory/internal/SubscribedGadgetFeed.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 5
Errors Missing a Javadoc comment. 7
Warnings Line has trailing spaces. 17
Infos Method 'getId' is not designed for extension - needs to be abstract, final or empty. 18
Warnings Line has trailing spaces. 22
Infos Method 'getUri' is not designed for extension - needs to be abstract, final or empty. 23
Warnings Line has trailing spaces. 27
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 28

com/atlassian/gadgets/directory/internal/SubscribedGadgetFeedStore.java

Violation Message Line
Warnings Line has trailing spaces. 10
Warnings Line has trailing spaces. 17
Warnings Line has trailing spaces. 21
Warnings Line has trailing spaces. 24
Warnings Line has trailing spaces. 29
Errors First sentence should end with a period. 30
Warnings Line has trailing spaces. 32
Errors First sentence should end with a period. 37
Warnings Line has trailing spaces. 39

com/atlassian/gadgets/directory/internal/impl/AbstractDirectoryEntryProvider.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.directory.Directory' import. 6
Errors Wrong order for 'com.google.common.base.Function' import. 9
Errors Wrong order for 'com.atlassian.gadgets.spec.GadgetSpecFactory' import. 13
Errors Wrong order for 'com.atlassian.gadgets.spec.GadgetSpec' import. 14
Errors Wrong order for 'com.atlassian.gadgets.GadgetParsingException' import. 15
Errors Missing a Javadoc comment. 18
Warnings Line is longer than 120 characters. 37

com/atlassian/gadgets/directory/internal/impl/ConfigurableExternalGadgetSpecDirectoryEntryProvider.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.directory.Directory' import. 9
Errors 'com.google.common.base.Function' should be separated from previous imports. 18
Errors Comment matches to-do format 'TODO:'. 26
Errors Class Fan-Out Complexity is 17 (max allowed is 10). 27
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 46
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 51
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 57
Errors Missing a Javadoc comment. 61
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 73
Errors Missing a Javadoc comment. 77
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 85
Errors Missing a Javadoc comment. 91
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 137

com/atlassian/gadgets/directory/internal/impl/DirectoryImpl.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 7
Errors Wrong order for 'com.atlassian.gadgets.GadgetRequestContext' import. 12
Errors 'com.google.common.base.Function' should be separated from previous imports. 15
Errors Missing a Javadoc comment. 19
Errors Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
Infos Method 'getEntries' is not designed for extension - needs to be abstract, final or empty. 30
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 35
Errors Missing a Javadoc comment. 45
Errors Missing a Javadoc comment. 71

com/atlassian/gadgets/directory/internal/impl/DirectoryUrlBuilderImpl.java

Violation Message Line
Errors Missing a Javadoc comment. 10
Infos Method 'buildDirectoryResourceUrl' is not designed for extension - needs to be abstract, final or empty. 18
Infos Method 'buildDirectoryGadgetResourceUrl' is not designed for extension - needs to be abstract, final or empty. 24
Infos Method 'buildSubscribedGadgetFeedsUrl' is not designed for extension - needs to be abstract, final or empty. 30
Warnings Line has trailing spaces. 34
Infos Method 'buildSubscribedGadgetFeedUrl' is not designed for extension - needs to be abstract, final or empty. 35

com/atlassian/gadgets/directory/internal/impl/GadgetSpecDirectoryEntry.java

Violation Message Line
Errors 'org.apache.commons.lang.StringUtils.defaultString' should be separated from previous imports. 11
Errors Wrong order for 'com.atlassian.gadgets.spec.Feature' import. 12
Errors Missing a Javadoc comment. 15
Errors 'static' modifier out of order with the JLS suggestions. 17
Errors '&&' should be on a new line. 123
Errors '&&' should be on a new line. 124
Errors '31' is a magic number. 133
Errors '31' is a magic number. 134
Errors '+' should be on a new line. 140
Errors '+' should be on a new line. 141
Errors '+' should be on a new line. 142
Errors '+' should be on a new line. 143

com/atlassian/gadgets/directory/internal/impl/GadgetSpecProviderDirectoryEntryProvider.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.GadgetSpecProvider' import. 7
Errors 'org.apache.commons.logging.Log' should be separated from previous imports. 14
Errors Wrong order for 'com.atlassian.gadgets.spec.GadgetSpecFactory' import. 16
Errors Wrong order for 'com.atlassian.gadgets.GadgetParsingException' import. 17
Errors Class Fan-Out Complexity is 11 (max allowed is 10). 24
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 42
Errors Missing a Javadoc comment. 46
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 65
Errors Missing a Javadoc comment. 70
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 93
Errors Missing a Javadoc comment. 99
Warnings Line is longer than 120 characters. 103
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 119

com/atlassian/gadgets/directory/internal/impl/GadgetSpecUrlRenderPermissionImpl.java

Violation Message Line
Errors Missing package-info.java file. 0
Warnings Line has trailing spaces. 27
Infos Method 'voteOn' is not designed for extension - needs to be abstract, final or empty. 28

com/atlassian/gadgets/directory/internal/impl/PluginExternalGadgetSpecDirectoryEntryProvider.java

Violation Message Line
Errors Wrong order for 'com.google.common.collect.ImmutableSet' import. 18
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 24
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 41
Infos Method 'pluginGadgetSpecEnabled' is not designed for extension - needs to be abstract, final or empty. 54
Infos Method 'pluginGadgetSpecDisabled' is not designed for extension - needs to be abstract, final or empty. 62
Infos Method 'internalEntries' is not designed for extension - needs to be abstract, final or empty. 70
Infos Method 'convertToLocalizedDirectoryEntry' is not designed for extension - needs to be abstract, final or empty. 84
Errors Missing a Javadoc comment. 90
Warnings Line is longer than 120 characters. 137
Infos Method 'toString' is not designed for extension - needs to be abstract, final or empty. 141

com/atlassian/gadgets/directory/internal/impl/SubscribedGadgetFeedStoreImpl.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 6
Errors 'com.google.common.base.Function' should be separated from previous imports. 14
Errors Missing a Javadoc comment. 19
Errors Missing a Javadoc comment. 21
Warnings Line has trailing spaces. 22
Warnings Line has trailing spaces. 29
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 30
Infos Method 'contains' is not designed for extension - needs to be abstract, final or empty. 35
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 40
Infos Method 'getAll' is not designed for extension - needs to be abstract, final or empty. 45
Warnings Line has trailing spaces. 49
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 50
Warnings Line has trailing spaces. 71
Warnings Line has trailing spaces. 80
Warnings Line has trailing spaces. 85

com/atlassian/gadgets/directory/internal/impl/UnavailableFeatureException.java

Violation Message Line
Errors First sentence should end with a period. 3

com/atlassian/gadgets/directory/internal/jaxb/JAXBCategory.java

Violation Message Line
Errors 'org.apache.commons.lang.builder.EqualsBuilder' should be separated from previous imports. 4
Errors Wrong order for 'javax.xml.bind.annotation.XmlElement' import. 6
Errors Comment matches to-do format 'TODO:'. 11
Errors '}' is not preceded with whitespace. 20

com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryContents.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.GadgetRequestContext' import. 5
Errors Wrong order for 'javax.xml.bind.annotation.XmlElement' import. 7
Errors Wrong order for 'java.util.Collection' import. 9
Errors Wrong order for 'com.google.common.collect.ImmutableList' import. 14
Errors Comment matches to-do format 'TODO:'. 18
Errors Class JAXBDirectoryContents should be declared as final. 20
Errors '}' is not preceded with whitespace. 23
Errors '}' is not preceded with whitespace. 26
Warnings Line is longer than 120 characters. 44

com/atlassian/gadgets/directory/internal/jaxb/JAXBDirectoryEntry.java

Violation Message Line
Errors Wrong order for 'javax.xml.bind.annotation.XmlElement' import. 9
Errors Wrong order for 'java.net.URI' import. 11
Errors Comment matches to-do format 'TODO:'. 16
Errors '}' is not preceded with whitespace. 44
Warnings Line is longer than 120 characters. 60
Errors '17' is a magic number. 201
Errors '29' is a magic number. 201

com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedRepresentation.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 5
Errors 'com.google.common.collect.ImmutableList' should be separated from previous imports. 16
Errors Missing a Javadoc comment. 18
Errors Missing a Javadoc comment. 23
Errors Variable access definition in wrong order. 23
Errors '=' is not preceded with whitespace. 23
Errors '=' is not followed by whitespace. 23
Errors Variable 'gadgets' must be private and have accessor methods. 23
Warnings Line has trailing spaces. 24
Warnings Line has trailing spaces. 30
Warnings Line has trailing spaces. 36
Warnings Line has trailing spaces. 38
Warnings Line has trailing spaces. 47
Infos Method 'getFeed' is not designed for extension - needs to be abstract, final or empty. 48
Warnings Line has trailing spaces. 52
Infos Method 'getSelf' is not designed for extension - needs to be abstract, final or empty. 53
Warnings Line has trailing spaces. 57
Infos Method 'getGadgets' is not designed for extension - needs to be abstract, final or empty. 58
Warnings Line has trailing spaces. 62
Errors Missing a Javadoc comment. 63
Warnings Line has trailing spaces. 66
Warnings Line has trailing spaces. 71
Warnings Line has trailing spaces. 78

com/atlassian/gadgets/directory/internal/jaxb/SubscribedGadgetFeedsRepresentation.java

Violation Message Line
Errors Wrong order for 'java.net.URI' import. 5
Errors 'com.google.common.collect.ImmutableList' should be separated from previous imports. 14
Errors Missing a Javadoc comment. 16
Errors '=' is not preceded with whitespace. 16
Errors '=' is not followed by whitespace. 16
Errors '=' is not preceded with whitespace. 20
Errors '=' is not followed by whitespace. 20
Warnings Line has trailing spaces. 26
Warnings Line has trailing spaces. 28
Warnings Line has trailing spaces. 36
Warnings Line has trailing spaces. 44
Infos Method 'getSelf' is not designed for extension - needs to be abstract, final or empty. 45
Warnings Line has trailing spaces. 49
Infos Method 'getSubscribedGadgetFeeds' is not designed for extension - needs to be abstract, final or empty. 50
Warnings Line has trailing spaces. 54
Errors Missing a Javadoc comment. 55
Warnings Line has trailing spaces. 75
Warnings Line has trailing spaces. 88
Warnings Line has trailing spaces. 93
Warnings Line has trailing spaces. 98
Warnings Line has trailing spaces. 103
Warnings Line has trailing spaces. 108
Warnings Line has trailing spaces. 113
Warnings Line has trailing spaces. 118

com/atlassian/gadgets/directory/internal/rest/DirectoryResource.java

Violation Message Line
Errors Wrong order for 'java.io.IOException' import. 5
Errors Wrong order for 'com.atlassian.gadgets.GadgetParsingException' import. 27
Errors Wrong order for 'com.atlassian.gadgets.directory.Directory' import. 36
Errors Class Fan-Out Complexity is 18 (max allowed is 10). 43
Infos Method 'getDirectory' is not designed for extension - needs to be abstract, final or empty. 84
Errors '}' is not preceded with whitespace. 86
Infos Method 'putGadgetInDirectory' is not designed for extension - needs to be abstract, final or empty. 102
Infos Method 'deleteGadgetFromDirectory' is not designed for extension - needs to be abstract, final or empty. 171

com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedResource.java

Violation Message Line
Errors Wrong order for 'javax.servlet.http.HttpServletRequest' import. 5
Errors Missing a Javadoc comment. 24
Warnings Line has trailing spaces. 42
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 43
Errors '}' is not preceded with whitespace. 44
Infos Method 'remove' is not designed for extension - needs to be abstract, final or empty. 52
Warnings Line has trailing spaces. 68

com/atlassian/gadgets/directory/internal/rest/SubscribedGadgetFeedsResource.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors 'org.apache.commons.lang.StringUtils.isEmpty' should be separated from previous imports. 4
Errors Wrong order for 'java.io.IOException' import. 6
Errors Wrong order for 'com.atlassian.gadgets.dashboard.PermissionException' import. 28
Errors Wrong order for 'com.atlassian.gadgets.directory.internal.GadgetFeedsSpecProvider.FeedSpecProvider' import. 34
Errors Missing a Javadoc comment. 39
Errors Class Fan-Out Complexity is 20 (max allowed is 10). 39
Warnings Line has trailing spaces. 43
Warnings Line has trailing spaces. 48
Warnings Line has trailing spaces. 60
Infos Method 'get' is not designed for extension - needs to be abstract, final or empty. 61
Errors '}' is not preceded with whitespace. 62
Warnings Line has trailing spaces. 67
Infos Method 'add' is not designed for extension - needs to be abstract, final or empty. 68
Errors '}' is not preceded with whitespace. 70
Warnings Line has trailing spaces. 74
Warnings Line is longer than 120 characters. 77
Warnings Line is longer than 120 characters. 111
Warnings Line has trailing spaces. 118
Warnings Line has trailing spaces. 132
Warnings Line is longer than 120 characters. 139