Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
56 35 160 329

Files

Files Infos Warnings Errors
com/atlassian/gadgets/GadgetId.java 0 4 3
com/atlassian/gadgets/GadgetNotFoundException.java 1 0 0
com/atlassian/gadgets/GadgetParsingException.java 0 1 0
com/atlassian/gadgets/GadgetRequestContext.java 5 9 8
com/atlassian/gadgets/GadgetSpecProvider.java 0 0 2
com/atlassian/gadgets/GadgetState.java 3 31 8
com/atlassian/gadgets/LocalGadgetSpecProvider.java 0 2 0
com/atlassian/gadgets/dashboard/Color.java 0 0 9
com/atlassian/gadgets/dashboard/DashboardId.java 0 5 2
com/atlassian/gadgets/dashboard/DashboardNotFoundException.java 1 0 0
com/atlassian/gadgets/dashboard/DashboardService.java 0 4 0
com/atlassian/gadgets/dashboard/DashboardState.java 0 60 26
com/atlassian/gadgets/dashboard/DashboardTab.java 0 0 1
com/atlassian/gadgets/dashboard/Layout.java 0 8 6
com/atlassian/gadgets/dashboard/package-info.java 0 3 2
com/atlassian/gadgets/dashboard/util/Iterables.java 0 3 4
com/atlassian/gadgets/dashboard/view/DashboardTabViewFactory.java 0 1 1
com/atlassian/gadgets/directory/Category.java 0 0 14
com/atlassian/gadgets/directory/Directory.java 0 0 5
com/atlassian/gadgets/opensocial/OpenSocialRequestContext.java 0 0 5
com/atlassian/gadgets/opensocial/model/Activity.java 15 3 74
com/atlassian/gadgets/opensocial/model/ActivityId.java 0 0 2
com/atlassian/gadgets/opensocial/model/Address.java 0 0 1
com/atlassian/gadgets/opensocial/model/AppId.java 0 0 2
com/atlassian/gadgets/opensocial/model/EmailAddress.java 0 0 1
com/atlassian/gadgets/opensocial/model/Group.java 0 0 15
com/atlassian/gadgets/opensocial/model/MediaItem.java 4 1 10
com/atlassian/gadgets/opensocial/model/Name.java 0 0 1
com/atlassian/gadgets/opensocial/model/Person.java 0 1 29
com/atlassian/gadgets/opensocial/model/PersonId.java 0 3 2
com/atlassian/gadgets/opensocial/model/PhoneNumber.java 0 0 1
com/atlassian/gadgets/package-info.java 0 1 0
com/atlassian/gadgets/plugins/PluginGadgetSpec.java 0 4 7
com/atlassian/gadgets/spec/DataType.java 0 1 15
com/atlassian/gadgets/spec/Feature.java 0 1 4
com/atlassian/gadgets/spec/GadgetSpec.java 0 2 37
com/atlassian/gadgets/spec/GadgetSpecFactory.java 0 1 3
com/atlassian/gadgets/spec/UserPrefSpec.java 0 0 9
com/atlassian/gadgets/view/GadgetRenderingException.java 1 1 1
com/atlassian/gadgets/view/GadgetViewFactory.java 0 2 2
com/atlassian/gadgets/view/ModuleId.java 0 0 2
com/atlassian/gadgets/view/SecurityTokenFactory.java 0 2 0
com/atlassian/gadgets/view/View.java 5 1 4
com/atlassian/gadgets/view/ViewComponent.java 0 2 0
com/atlassian/gadgets/view/ViewType.java 0 3 11

Rules

Rules Violations Severity
JavadocPackage 4 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
132 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"
4 Errors Error
JavadocType
  • scope: "package"
3 Errors Error
JavadocVariable
  • scope: "package"
53 Errors Error
JavadocStyle
  • scope: "package"
83 Errors Error
ConstantName 6 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"
9 Errors Error
RedundantImport 0 Errors Error
UnusedImports 2 Errors Error
LineLength
  • max: "120"
28 Warnings Warning
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 1 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 22 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 7 Errors Error
WhitespaceAround 3 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 8 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly
  • option: "nl"
4 Errors Error
NeedBraces 4 Errors Error
RightCurly
  • option: "alone"
0 Errors Error
DeclarationOrder 10 Errors Error
DefaultComesLast 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
ExplicitInitialization 4 Errors Error
FallThrough 0 Errors Error
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
59 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 17 Errors Error
MissingSwitchDefault 0 Errors Error
ParameterAssignment 1 Errors Error
RedundantThrows
  • allowUnchecked: "true"
0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
StringLiteralEquality 0 Errors Error
DesignForExtension 35 Infos Info
FinalClass 6 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 0 Errors Error
BooleanExpressionComplexity 0 Errors Error
ClassDataAbstractionCoupling 0 Errors Error
ClassFanOutComplexity
  • max: "10"
3 Errors Error
CyclomaticComplexity 2 Errors Error
NPathComplexity
  • max: "20"
5 Errors Error
JavaNCSS 0 Errors Error
ArrayTypeStyle 0 Errors Error
Indentation 9 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/atlassian/gadgets/GadgetId.java

Violation Message Line
Warnings Line has trailing spaces. 24
Warnings Line has trailing spaces. 28
Errors First sentence should end with a period. 35
Warnings Line has trailing spaces. 37
Errors 'if' construct must use '{}'s. 54
Errors 'if' construct must use '{}'s. 55
Warnings Line has trailing spaces. 70

com/atlassian/gadgets/GadgetNotFoundException.java

Violation Message Line
Infos Method 'getGadgetId' is not designed for extension - needs to be abstract, final or empty. 16

com/atlassian/gadgets/GadgetParsingException.java

Violation Message Line
Warnings Line has trailing spaces. 12

com/atlassian/gadgets/GadgetRequestContext.java

Violation Message Line
Warnings Line is longer than 120 characters. 9
Warnings Line is longer than 120 characters. 10
Warnings Line is longer than 120 characters. 18
Errors Missing a Javadoc comment. 18
Warnings Line has trailing spaces. 23
Warnings Line has trailing spaces. 59
Warnings Line has trailing spaces. 64
Warnings Line is longer than 120 characters. 73
Errors Variable 'ignoreCache' explicitly initialized to 'false' (default value for its type). 79
Errors Variable 'viewer' explicitly initialized to 'null' (default value for its type). 80
Errors Variable 'debug' explicitly initialized to 'false' (default value for its type). 81
Infos Method 'build' is not designed for extension - needs to be abstract, final or empty. 98
Infos Method 'locale' is not designed for extension - needs to be abstract, final or empty. 110
Errors 'locale' hides a field. 110
Infos Method 'ignoreCache' is not designed for extension - needs to be abstract, final or empty. 123
Errors 'ignoreCache' hides a field. 123
Infos Method 'viewer' is not designed for extension - needs to be abstract, final or empty. 136
Errors 'viewer' hides a field. 136
Warnings Line has trailing spaces. 141
Warnings Line has trailing spaces. 145
Infos Method 'debug' is not designed for extension - needs to be abstract, final or empty. 149
Errors 'debug' hides a field. 149

com/atlassian/gadgets/GadgetSpecProvider.java

Violation Message Line
Errors Extra HTML tag found: </interface> 21
Errors Extra HTML tag found: </component> 22

com/atlassian/gadgets/GadgetState.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. 21
Errors Wrong order for 'java.util.Collections.emptyMap' import. 22
Warnings Line has trailing spaces. 32
Warnings Line has trailing spaces. 35
Warnings Line has trailing spaces. 38
Warnings Line has trailing spaces. 42
Warnings Line has trailing spaces. 44
Warnings Line has trailing spaces. 48
Warnings Line is longer than 120 characters. 49
Errors Class Fan-Out Complexity is 15 (max allowed is 10). 54
Warnings Line has trailing spaces. 71
Warnings Line has trailing spaces. 75
Warnings Line has trailing spaces. 85
Warnings Line has trailing spaces. 99
Warnings Line has trailing spaces. 102
Warnings Line has trailing spaces. 112
Warnings Line has trailing spaces. 113
Warnings Line has trailing spaces. 123
Warnings Line has trailing spaces. 133
Warnings Line has trailing spaces. 140
Warnings Line has trailing spaces. 160
Warnings Line has trailing spaces. 171
Warnings Line has trailing spaces. 186
Warnings Line has trailing spaces. 198
Errors First sentence should end with a period. 207
Errors Class SpecUriBuilder should be declared as final. 210
Warnings Line has trailing spaces. 213
Warnings Line has trailing spaces. 222
Warnings Line has trailing spaces. 231
Warnings Line has trailing spaces. 235
Warnings Line has trailing spaces. 244
Warnings Line has trailing spaces. 262
Warnings Line has trailing spaces. 275
Infos Method 'color' is not designed for extension - needs to be abstract, final or empty. 279
Errors 'color' hides a field. 279
Warnings Line has trailing spaces. 284
Warnings Line has trailing spaces. 288
Infos Method 'userPrefs' is not designed for extension - needs to be abstract, final or empty. 292
Errors 'userPrefs' hides a field. 292
Errors First sentence should end with a period. 298
Warnings Line has trailing spaces. 300
Infos Method 'build' is not designed for extension - needs to be abstract, final or empty. 303

com/atlassian/gadgets/LocalGadgetSpecProvider.java

Violation Message Line
Warnings Line is longer than 120 characters. 21
Warnings Line has trailing spaces. 36

com/atlassian/gadgets/dashboard/Color.java

Violation Message Line
Errors '{' should be on a new line. 6
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 7

com/atlassian/gadgets/dashboard/DashboardId.java

Violation Message Line
Warnings Line has trailing spaces. 24
Warnings Line has trailing spaces. 28
Warnings Line has trailing spaces. 37
Warnings Line has trailing spaces. 44
Errors 'if' construct must use '{}'s. 54
Errors 'if' construct must use '{}'s. 55
Warnings Line has trailing spaces. 70

com/atlassian/gadgets/dashboard/DashboardNotFoundException.java

Violation Message Line
Infos Method 'getDashboardId' is not designed for extension - needs to be abstract, final or empty. 15

com/atlassian/gadgets/dashboard/DashboardService.java

Violation Message Line
Warnings Line has trailing spaces. 13
Warnings Line has trailing spaces. 20
Warnings Line has trailing spaces. 23
Warnings Line has trailing spaces. 26

com/atlassian/gadgets/dashboard/DashboardState.java

Violation Message Line
Errors Wrong order for 'com.atlassian.gadgets.dashboard.util.Iterables.checkContentsNotNull' import. 23
Errors Wrong order for 'java.util.Collections.nCopies' import. 27
Warnings Line has trailing spaces. 30
Warnings Line has trailing spaces. 39
Warnings Line has trailing spaces. 42
Warnings Line has trailing spaces. 45
Warnings Line has trailing spaces. 49
Warnings Line has trailing spaces. 51
Warnings Line has trailing spaces. 56
Warnings Line is longer than 120 characters. 57
Errors Class Fan-Out Complexity is 19 (max allowed is 10). 62
Warnings Line has trailing spaces. 72
Warnings Line has trailing spaces. 79
Warnings Line has trailing spaces. 82
Errors 'columns' hides a field. 83
Warnings Line has trailing spaces. 96
Warnings Line has trailing spaces. 101
Warnings Line has trailing spaces. 105
Errors NPath Complexity is 32 (max allowed is 20). 110
Warnings Line has trailing spaces. 113
Warnings Line has trailing spaces. 115
Warnings Line has trailing spaces. 136
Warnings Line has trailing spaces. 146
Warnings Line has trailing spaces. 153
Warnings Line has trailing spaces. 156
Warnings Line has trailing spaces. 163
Warnings Line has trailing spaces. 167
Errors First sentence should end with a period. 185
Errors 'if' is not followed by whitespace. 219
Errors 'if' is not followed by whitespace. 238
Errors First sentence should end with a period. 256
Errors First sentence should end with a period. 268
Warnings Line has trailing spaces. 279
Errors NPath Complexity is 24 (max allowed is 20). 280
Warnings Line has trailing spaces. 311
Warnings Line has trailing spaces. 325
Warnings Line has trailing spaces. 336
Warnings Line has trailing spaces. 341
Warnings Line is longer than 120 characters. 352
Warnings Line has trailing spaces. 353
Warnings Line has trailing spaces. 354
Errors Class TitleBuilder should be declared as final. 366
Warnings Line has trailing spaces. 372
Warnings Line has trailing spaces. 374
Warnings Line has trailing spaces. 378
Warnings Line has trailing spaces. 387
Errors Class Builder should be declared as final. 393
Errors Variable 'version' explicitly initialized to '0' (default value for its type). 399
Warnings Line has trailing spaces. 400
Warnings Line has trailing spaces. 406
Errors 'columns' hides a field. 412
Warnings Line has trailing spaces. 420
Warnings Line has trailing spaces. 424
Errors 'layout' hides a field. 428
Errors 'title' hides a field. 441
Warnings Line has trailing spaces. 446
Warnings Line has trailing spaces. 450
Errors 'columns' hides a field. 454
Errors 'version' hides a field. 467
Errors First sentence should end with a period. 473
Warnings Line has trailing spaces. 475
Warnings Line has trailing spaces. 483
Warnings Line is longer than 120 characters. 485
Warnings Line has trailing spaces. 486
Warnings Line has trailing spaces. 492
Errors First sentence should end with a period. 493
Warnings Line has trailing spaces. 495
Errors First sentence should end with a period. 496
Warnings Line has trailing spaces. 498
Warnings Line has trailing spaces. 500
Warnings Line has trailing spaces. 505
Warnings Line has trailing spaces. 508
Warnings Line has trailing spaces. 515
Warnings Line has trailing spaces. 518
Warnings Line has trailing spaces. 525
Warnings Line has trailing spaces. 529
Warnings Line has trailing spaces. 541
Warnings Line has trailing spaces. 544
Warnings Line has trailing spaces. 563
Warnings Line has trailing spaces. 565
Warnings Line has trailing spaces. 567
Warnings Line has trailing spaces. 570
Errors Missing a Javadoc comment. 577
Errors Missing a Javadoc comment. 583
Errors Missing a Javadoc comment. 588
Errors Missing a Javadoc comment. 606

com/atlassian/gadgets/dashboard/DashboardTab.java

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

com/atlassian/gadgets/dashboard/Layout.java

Violation Message Line
Errors First sentence should end with a period. 13
Errors First sentence should end with a period. 15
Errors First sentence should end with a period. 17
Errors First sentence should end with a period. 19
Errors First sentence should end with a period. 21
Errors First sentence should end with a period. 23
Warnings Line has trailing spaces. 35
Warnings Line has trailing spaces. 45
Warnings Line has trailing spaces. 56
Warnings Line has trailing spaces. 63
Warnings Line has trailing spaces. 67
Warnings Line has trailing spaces. 86
Warnings Line has trailing spaces. 88
Warnings Line has trailing spaces. 89

com/atlassian/gadgets/dashboard/package-info.java

Violation Message Line
Warnings Line has trailing spaces. 5
Warnings Line has trailing spaces. 8
Warnings Line has trailing spaces. 11
Errors Unused import - com.atlassian.gadgets.GadgetId. 29
Errors Unused import - com.atlassian.gadgets.GadgetState. 30

com/atlassian/gadgets/dashboard/util/Iterables.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. 7
Errors First sentence should end with a period. 9
Warnings Line is longer than 120 characters. 10
Errors Class Iterables should be declared as final. 13
Warnings Line is longer than 120 characters. 21
Warnings Line is longer than 120 characters. 24
Errors First sentence should end with a period. 48

com/atlassian/gadgets/dashboard/view/DashboardTabViewFactory.java

Violation Message Line
Errors Missing package-info.java file. 0
Warnings Line is longer than 120 characters. 33

com/atlassian/gadgets/directory/Category.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 13
Errors Missing a Javadoc comment. 14
Errors Missing a Javadoc comment. 17
Errors Missing a Javadoc comment. 18
Errors Missing a Javadoc comment. 19
Errors Missing a Javadoc comment. 20
Errors Missing a Javadoc comment. 23
Errors Missing a Javadoc comment. 25
Errors Missing a Javadoc comment. 45
Errors Missing a Javadoc comment. 47
Errors Static variable definition in wrong order. 59
Errors Name 'categoryNameMap' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 59

com/atlassian/gadgets/directory/Directory.java

Violation Message Line
Errors Missing a Javadoc comment. 10
Errors Missing a Javadoc comment. 12
Errors Redundant 'public' modifier. 12
Errors Missing a Javadoc comment. 13
Errors Redundant 'public' modifier. 13

com/atlassian/gadgets/opensocial/OpenSocialRequestContext.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Redundant 'public' modifier. 15
Errors Redundant 'public' modifier. 20
Errors Redundant 'public' modifier. 25
Errors Redundant 'public' modifier. 36

com/atlassian/gadgets/opensocial/model/Activity.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors First sentence should end with a period. 9
Errors 'if' is not followed by whitespace. 40
Errors Cyclomatic Complexity is 33 (max allowed is 10). 199
Errors NPath Complexity is 38,263,752 (max allowed is 20). 199
Warnings Line is longer than 120 characters. 241
Warnings Line is longer than 120 characters. 245
Errors Cyclomatic Complexity is 15 (max allowed is 10). 277
Errors NPath Complexity is 16,384 (max allowed is 20). 277
Errors '31' is a magic number. 281
Errors '31' is a magic number. 282
Errors '31' is a magic number. 283
Errors '31' is a magic number. 284
Errors '31' is a magic number. 285
Errors '31' is a magic number. 286
Errors '31' is a magic number. 287
Errors '31' is a magic number. 288
Errors '31' is a magic number. 289
Errors '31' is a magic number. 290
Errors '31' is a magic number. 291
Errors '31' is a magic number. 292
Errors '31' is a magic number. 293
Errors '31' is a magic number. 294
Errors '+' should be on a new line. 301
Errors '+' should be on a new line. 302
Errors '+' should be on a new line. 303
Errors '+' should be on a new line. 304
Errors '+' should be on a new line. 305
Errors '+' should be on a new line. 306
Errors '+' should be on a new line. 307
Errors '+' should be on a new line. 308
Errors '+' should be on a new line. 309
Errors '+' should be on a new line. 310
Errors '+' should be on a new line. 311
Errors '+' should be on a new line. 312
Errors '+' should be on a new line. 313
Errors '+' should be on a new line. 314
Errors '+' should be on a new line. 315
Errors '+' should be on a new line. 316
Errors First sentence should end with a period. 342
Errors First sentence should end with a period. 365
Warnings Line is longer than 120 characters. 379
Infos Method 'appId' is not designed for extension - needs to be abstract, final or empty. 385
Errors 'appId' hides a field. 385
Infos Method 'body' is not designed for extension - needs to be abstract, final or empty. 398
Errors 'body' hides a field. 398
Infos Method 'externalId' is not designed for extension - needs to be abstract, final or empty. 411
Errors 'externalId' hides a field. 411
Infos Method 'id' is not designed for extension - needs to be abstract, final or empty. 424
Errors 'id' hides a field. 424
Infos Method 'updated' is not designed for extension - needs to be abstract, final or empty. 437
Errors 'updated' hides a field. 437
Infos Method 'mediaItems' is not designed for extension - needs to be abstract, final or empty. 450
Errors 'mediaItems' hides a field. 450
Infos Method 'postedTime' is not designed for extension - needs to be abstract, final or empty. 463
Errors 'postedTime' hides a field. 463
Infos Method 'priority' is not designed for extension - needs to be abstract, final or empty. 476
Errors 'priority' hides a field. 476
Infos Method 'streamFaviconUrl' is not designed for extension - needs to be abstract, final or empty. 489
Errors 'streamFaviconUrl' hides a field. 489
Infos Method 'streamSourceUrl' is not designed for extension - needs to be abstract, final or empty. 502
Errors 'streamSourceUrl' hides a field. 502
Infos Method 'streamTitle' is not designed for extension - needs to be abstract, final or empty. 515
Errors 'streamTitle' hides a field. 515
Infos Method 'streamUrl' is not designed for extension - needs to be abstract, final or empty. 528
Errors 'streamUrl' hides a field. 528
Errors 'title' hides a field. 541
Infos Method 'url' is not designed for extension - needs to be abstract, final or empty. 554
Errors 'url' hides a field. 554
Infos Method 'userId' is not designed for extension - needs to be abstract, final or empty. 567
Errors 'userId' hides a field. 567
Errors First sentence should end with a period. 573
Infos Method 'build' is not designed for extension - needs to be abstract, final or empty. 578
Errors First sentence should end with a period. 584
Errors Missing a Javadoc comment. 589
Errors Missing a Javadoc comment. 590
Errors Missing a Javadoc comment. 591
Errors Missing a Javadoc comment. 592
Errors Missing a Javadoc comment. 593
Errors Missing a Javadoc comment. 594
Errors Missing a Javadoc comment. 595
Errors Missing a Javadoc comment. 596
Errors Missing a Javadoc comment. 597
Errors Missing a Javadoc comment. 598
Errors Missing a Javadoc comment. 599
Errors Missing a Javadoc comment. 600
Errors Missing a Javadoc comment. 601
Errors Missing a Javadoc comment. 602
Errors Missing a Javadoc comment. 603
Errors Missing a Javadoc comment. 604
Errors Missing a Javadoc comment. 605
Errors Missing a Javadoc comment. 606

com/atlassian/gadgets/opensocial/model/ActivityId.java

Violation Message Line
Errors First sentence should end with a period. 15
Errors 'cast' is not followed by whitespace. 66

com/atlassian/gadgets/opensocial/model/Address.java

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

com/atlassian/gadgets/opensocial/model/AppId.java

Violation Message Line
Errors First sentence should end with a period. 15
Errors 'cast' is not followed by whitespace. 66

com/atlassian/gadgets/opensocial/model/EmailAddress.java

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

com/atlassian/gadgets/opensocial/model/Group.java

Violation Message Line
Errors Static variable definition in wrong order. 18
Errors Name 'allGroups' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 18
Errors Missing a Javadoc comment. 25
Errors Static variable definition in wrong order. 25
Errors Variable access definition in wrong order. 25
Errors Missing a Javadoc comment. 26
Errors Static variable definition in wrong order. 26
Errors Variable access definition in wrong order. 26
Errors Missing a Javadoc comment. 27
Errors Static variable definition in wrong order. 27
Errors Variable access definition in wrong order. 27
Errors First sentence should end with a period. 29
Errors Assignment of parameter 'name' is not allowed. 41
Errors First sentence should end with a period. 47
Errors First sentence should end with a period. 56

com/atlassian/gadgets/opensocial/model/MediaItem.java

Violation Message Line
Errors Missing a Javadoc comment. 7
Errors Missing a Javadoc comment. 15
Errors Missing a Javadoc comment. 16
Errors Missing a Javadoc comment. 17
Warnings Line has trailing spaces. 19
Errors NPath Complexity is 36 (max allowed is 20). 58
Errors '31' is a magic number. 88
Infos Method 'mimeType' is not designed for extension - needs to be abstract, final or empty. 114
Errors 'mimeType' hides a field. 114
Infos Method 'type' is not designed for extension - needs to be abstract, final or empty. 127
Errors 'type' hides a field. 127
Infos Method 'url' is not designed for extension - needs to be abstract, final or empty. 140
Errors 'url' hides a field. 140
Errors First sentence should end with a period. 146
Infos Method 'build' is not designed for extension - needs to be abstract, final or empty. 151

com/atlassian/gadgets/opensocial/model/Name.java

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

com/atlassian/gadgets/opensocial/model/Person.java

Violation Message Line
Errors Wrong order for 'java.util.Collections.unmodifiableList' import. 10
Errors First sentence should end with a period. 52
Errors First sentence should end with a period. 61
Errors First sentence should end with a period. 70
Errors First sentence should end with a period. 79
Errors 'cast' is not followed by whitespace. 162
Errors First sentence should end with a period. 195
Errors First sentence should end with a period. 216
Errors '(' is preceded with whitespace. 220
Errors First sentence should end with a period. 225
Errors 'name' hides a field. 230
Errors First sentence should end with a period. 236
Errors First sentence should end with a period. 247
Errors First sentence should end with a period. 258
Errors 'addresses' hides a field. 263
Errors First sentence should end with a period. 269
Errors 'phoneNumbers' hides a field. 274
Errors First sentence should end with a period. 280
Errors 'emailAddresses' hides a field. 285
Errors First sentence should end with a period. 291
Errors 'aboutMe' hides a field. 296
Errors First sentence should end with a period. 302
Errors 'status' hides a field. 307
Errors First sentence should end with a period. 313
Warnings Line has trailing spaces. 326
Errors 'timeZone' hides a field. 330
Errors 'currentLocation' hides a field. 341
Errors First sentence should end with a period. 347
Errors 'urls' hides a field. 352
Errors First sentence should end with a period. 358

com/atlassian/gadgets/opensocial/model/PersonId.java

Violation Message Line
Warnings Line is longer than 120 characters. 7
Warnings Line is longer than 120 characters. 8
Errors First sentence should end with a period. 17
Warnings Line is longer than 120 characters. 29
Errors 'cast' is not followed by whitespace. 72

com/atlassian/gadgets/opensocial/model/PhoneNumber.java

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

com/atlassian/gadgets/package-info.java

Violation Message Line
Warnings Line has trailing spaces. 2

com/atlassian/gadgets/plugins/PluginGadgetSpec.java

Violation Message Line
Warnings Line is longer than 120 characters. 19
Warnings Line has trailing spaces. 54
Warnings Line has trailing spaces. 126
Warnings Line has trailing spaces. 131
Errors '+' should be on a new line. 163
Errors '+' should be on a new line. 164
Errors '+' should be on a new line. 165
Errors '31' is a magic number. 233
Errors '+' should be on a new line. 239
Errors '+' should be on a new line. 240
Errors '+' should be on a new line. 241

com/atlassian/gadgets/spec/DataType.java

Violation Message Line
Warnings Line has trailing spaces. 7
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 9
Errors Missing a Javadoc comment. 9
Errors '{' should be on a new line. 17
Errors for at indentation level 6 not at correct indentation, 8 18
Errors '{' should be on a new line. 18
Errors if at indentation level 8 not at correct indentation, 12 19
Errors '{' should be on a new line. 19
Errors if child at indentation level 10 not at correct indentation, 16 20
Errors if rcurly at indentation level 8 not at correct indentation, 12 21
Errors for rcurly at indentation level 6 not at correct indentation, 8 22
Errors method def child at indentation level 6 not at correct indentation, 8 23

com/atlassian/gadgets/spec/Feature.java

Violation Message Line
Warnings Line has trailing spaces. 5
Errors First sentence should end with a period. 9
Errors Redundant 'public' modifier. 13
Errors First sentence should end with a period. 15
Errors Redundant 'public' modifier. 20

com/atlassian/gadgets/spec/GadgetSpec.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. 19
Errors First sentence should end with a period. 21
Errors Class Fan-Out Complexity is 13 (max allowed is 10). 24
Errors ',' is not followed by whitespace. 39
Errors First sentence should end with a period. 76
Errors First sentence should end with a period. 85
Errors First sentence should end with a period. 94
Errors First sentence should end with a period. 122
Errors First sentence should end with a period. 131
Errors First sentence should end with a period. 140
Errors First sentence should end with a period. 149
Errors First sentence should end with a period. 158
Errors First sentence should end with a period. 167
Errors First sentence should end with a period. 176
Errors First sentence should end with a period. 185
Errors First sentence should end with a period. 194
Errors First sentence should end with a period. 203
Errors First sentence should end with a period. 212
Errors ',' is not followed by whitespace. 216
Errors First sentence should end with a period. 221
Warnings Line is longer than 120 characters. 223
Errors Class Builder should be declared as final. 267
Errors ',' is not followed by whitespace. 281
Warnings Line is longer than 120 characters. 324
Errors 'userPrefs' hides a field. 327
Errors 'scrolling' hides a field. 340
Errors 'height' hides a field. 353
Errors 'width' hides a field. 366
Errors 'title' hides a field. 379
Errors 'titleUrl' hides a field. 392
Errors 'thumbnail' hides a field. 405
Errors 'author' hides a field. 418
Errors 'authorEmail' hides a field. 431
Errors 'description' hides a field. 444
Errors 'directoryTitle' hides a field. 457
Errors 'features' hides a field. 470
Errors 'unsupportedFeatureNames' hides a field. 483
Errors 'viewsNames' hides a field. 496
Errors First sentence should end with a period. 502

com/atlassian/gadgets/spec/GadgetSpecFactory.java

Violation Message Line
Errors First sentence should end with a period. 7
Errors First sentence should end with a period. 12
Warnings Line is longer than 120 characters. 19
Errors First sentence should end with a period. 21

com/atlassian/gadgets/spec/UserPrefSpec.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. 11
Errors First sentence should end with a period. 13
Errors Class Builder should be declared as final. 135
Errors 'displayName' hides a field. 177
Errors 'required' hides a field. 191
Errors 'dataType' hides a field. 204
Errors 'enumValues' hides a field. 218
Errors 'defaultValue' hides a field. 231
Errors First sentence should end with a period. 237

com/atlassian/gadgets/view/GadgetRenderingException.java

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

com/atlassian/gadgets/view/GadgetViewFactory.java

Violation Message Line
Warnings Line is longer than 120 characters. 28
Errors method def throws at indentation level 12 not at correct indentation, 8 33
Warnings Line is longer than 120 characters. 60
Errors method def throws at indentation level 12 not at correct indentation, 8 71

com/atlassian/gadgets/view/ModuleId.java

Violation Message Line
Errors Wrong order for 'com.atlassian.plugin.util.Assertions.notNull' import. 5
Errors '32' is a magic number. 60

com/atlassian/gadgets/view/SecurityTokenFactory.java

Violation Message Line
Warnings Line has trailing spaces. 6
Warnings Line has trailing spaces. 13

com/atlassian/gadgets/view/View.java

Violation Message Line
Warnings Line has trailing spaces. 17
Errors First sentence should end with a period. 74
Infos Method 'viewType' is not designed for extension - needs to be abstract, final or empty. 79
Errors 'viewType' hides a field. 79
Infos Method 'writable' is not designed for extension - needs to be abstract, final or empty. 92
Errors First sentence should end with a period. 98
Infos Method 'addViewParam' is not designed for extension - needs to be abstract, final or empty. 104
Errors First sentence should end with a period. 110
Infos Method 'addViewParams' is not designed for extension - needs to be abstract, final or empty. 115
Infos Method 'build' is not designed for extension - needs to be abstract, final or empty. 126

com/atlassian/gadgets/view/ViewComponent.java

Violation Message Line
Warnings Line has trailing spaces. 9
Warnings Line has trailing spaces. 15

com/atlassian/gadgets/view/ViewType.java

Violation Message Line
Errors Name 'allViewTypes' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 19
Errors Name 'viewTypeRegistrationLock' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 20
Errors Name 'readLock' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
Errors Name 'writeLock' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 22
Errors Missing a Javadoc comment. 24
Errors Variable access definition in wrong order. 24
Errors Missing a Javadoc comment. 25
Errors Variable access definition in wrong order. 25
Warnings Line is longer than 120 characters. 40
Warnings Line is longer than 120 characters. 54
Warnings Line is longer than 120 characters. 61
Errors for child at indentation level 19 not at correct indentation, 20 97
Errors First sentence should end with a period. 109
Errors First sentence should end with a period. 118