Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
3002370

Files

FilesInfosWarningsErrors
eu/scape_project/watch/listener/ApplicationStartupListener.java0160
eu/scape_project/watch/rest/WatchApplication.java010
eu/scape_project/watch/rest/WatchClient.java0170
eu/scape_project/watch/rest/resource/AsyncRequestResource.java010
eu/scape_project/watch/rest/resource/AsyncRequestResourceJSON.java010
eu/scape_project/watch/rest/resource/AsyncRequestResourceXML.java010
eu/scape_project/watch/rest/resource/EntityResource.java060
eu/scape_project/watch/rest/resource/EntityResourceJSON.java010
eu/scape_project/watch/rest/resource/EntityResourceXML.java010
eu/scape_project/watch/rest/resource/EntityTypeResource.java050
eu/scape_project/watch/rest/resource/EntityTypeResourceJSON.java010
eu/scape_project/watch/rest/resource/EntityTypeResourceXML.java010
eu/scape_project/watch/rest/resource/JSONContextResolver.java040
eu/scape_project/watch/rest/resource/PropertyResource.java070
eu/scape_project/watch/rest/resource/PropertyResourceJSON.java010
eu/scape_project/watch/rest/resource/PropertyValueResource.java0110
eu/scape_project/watch/rest/resource/PropertyValueResourceJSON.java010
eu/scape_project/watch/rest/resource/PropertyValueResourceXML.java010
eu/scape_project/watch/rest/resource/RequestResource.java010
eu/scape_project/watch/rest/resource/RequestResourceJSON.java010
eu/scape_project/watch/rest/resource/RequestResourceXML.java020
eu/scape_project/watch/utils/ApiAuthorizationFilterImpl.java0300
eu/scape_project/watch/utils/ApiResponse.java0790
eu/scape_project/watch/utils/exception/ApiException.java0200
eu/scape_project/watch/utils/exception/BadRequestException.java0130
eu/scape_project/watch/utils/exception/NotNullConstraintException.java0140

Rules

RulesViolationsSeverity
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
21Warnings Warning
JavadocType4Warnings Warning
JavadocVariable14Warnings Warning
JavadocStyle0Warnings Warning
ConstantName0Warnings Warning
LocalFinalVariableName0Warnings Warning
LocalVariableName0Warnings Warning
MemberName0Warnings Warning
MethodName0Warnings Warning
PackageName0Warnings Warning
ParameterName0Warnings Warning
StaticVariableName0Warnings Warning
TypeName0Warnings Warning
AvoidStarImport0Warnings Warning
IllegalImport0Warnings Warning
RedundantImport0Warnings Warning
UnusedImports1Warnings Warning
FallThrough0Warnings Warning
MethodLength0Warnings Warning
ParameterNumber0Warnings Warning
EmptyForIteratorPad0Warnings Warning
MethodParamPad1Warnings Warning
NoWhitespaceAfter0Warnings Warning
NoWhitespaceBefore0Warnings Warning
OperatorWrap0Warnings Warning
ParenPad0Warnings Warning
TypecastParenPad0Warnings Warning
WhitespaceAfter1Warnings Warning
ModifierOrder0Warnings Warning
RedundantModifier0Warnings Warning
AvoidNestedBlocks0Warnings Warning
EmptyBlock0Warnings Warning
LeftCurly0Warnings Warning
NeedBraces1Warnings Warning
RightCurly0Warnings Warning
AvoidInlineConditionals1Warnings Warning
DoubleCheckedLocking0Warnings Warning
EmptyStatement0Warnings Warning
EqualsHashCode0Warnings Warning
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
0Warnings Warning
IllegalInstantiation0Warnings Warning
InnerAssignment0Warnings Warning
MagicNumber1Warnings Warning
MissingSwitchDefault0Warnings Warning
RedundantThrows0Warnings Warning
SimplifyBooleanExpression0Warnings Warning
SimplifyBooleanReturn1Warnings Warning
FinalClass0Warnings Warning
HideUtilityClassConstructor0Warnings Warning
InterfaceIsType0Warnings Warning
VisibilityModifier0Warnings Warning
ArrayTypeStyle0Warnings Warning
FinalParameters25Warnings Warning
TodoComment0Warnings Warning
UpperEll0Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java, javax, at, com, eu, org"
6Warnings Warning
WhitespaceAround
  • tokens: "ASSIGN, BAND, BAND_ASSIGN, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, COLON, DIV, DIV_ASSIGN, EQUAL, GE, GT, LAND, LCURLY, LE, LITERAL_ASSERT, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_RETURN, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, LOR, LT, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NOT_EQUAL, PLUS, PLUS_ASSIGN, QUESTION, RCURLY, SL, SLIST, SL_ASSIGN, SR, SR_ASSIGN, STAR, STAR_ASSIGN, LITERAL_ASSERT, TYPE_EXTENSION_AND, WILDCARD_TYPE"
27Warnings Warning
ModifiedControlVariable0Warnings Warning
MultipleStringLiterals6Warnings Warning
RequireThis12Warnings Warning
PackageDeclaration0Warnings Warning
FinalLocalVariable
  • tokens: "PARAMETER_DEF, VARIABLE_DEF"
37Warnings Warning
UnnecessaryParentheses0Warnings Warning
MissingOverride0Warnings Warning
MemberName0Warnings Warning
LineLength
  • max: "120"
10Warnings Warning
Indentation
  • caseIndent: "2"
  • basicOffset: "2"
64Warnings Warning
FileLength0Warnings Warning
FileTabCharacter3Warnings Warning
NewlineAtEndOfFile1Warnings Warning
Translation0Warnings Warning

Details

eu/scape_project/watch/listener/ApplicationStartupListener.java

ViolationMessageLine
WarningsWrong order for 'eu.scape_project.watch.dao.AsyncRequestDAO' import.13
WarningsUnused import - eu.scape_project.watch.notification.LogNotificationAdaptor.25
WarningsMissing a Javadoc comment.43
WarningsMissing a Javadoc comment.44
WarningsVariable 'cm' should be declared final.66
WarningsMissing a Javadoc comment.101
WarningsVariable 'et' should be declared final.102
Warnings',' is not followed by whitespace.102
WarningsVariable 'prop' should be declared final.103
WarningsVariable 'ent' should be declared final.104
WarningsLine is longer than 120 characters.105
WarningsVariable 'question1' should be declared final.105
Warnings'60' is a magic number.106
WarningsVariable 'not1config' should be declared final.107
WarningsVariable 'notification1' should be declared final.110
WarningsVariable 'asRe' should be declared final.114

eu/scape_project/watch/rest/WatchApplication.java

ViolationMessageLine
WarningsWrong order for 'java.util.HashSet' import.16

eu/scape_project/watch/rest/WatchClient.java

ViolationMessageLine
Warnings'eu.scape_project.watch.domain.AsyncRequest' should be separated from previous imports.8
WarningsWrong order for 'java.util.List' import.17
WarningsParameter start should be final.182
WarningsExpected @param tag for 'start'.182
WarningsVariable 'start' should be declared final.182
WarningsParameter max should be final.182
WarningsExpected @param tag for 'max'.182
WarningsVariable 'max' should be declared final.182
WarningsMethod call to 'listEntity' needs "this.".183
WarningsMissing a Javadoc comment.186
WarningsParameter type should be final.186
WarningsVariable 'type' should be declared final.186
WarningsParameter start should be final.186
WarningsVariable 'start' should be declared final.186
WarningsParameter max should be final.186
WarningsVariable 'max' should be declared final.186
WarningsAvoid inline conditionals.188

eu/scape_project/watch/rest/resource/AsyncRequestResource.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.46

eu/scape_project/watch/rest/resource/AsyncRequestResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/AsyncRequestResourceXML.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/EntityResource.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.58
WarningsThe String "Entity not found: " appears 2 times in the file.67
Warnings'}' is not preceded with whitespace.107
WarningsThe String "Entity type not found: " appears 2 times in the file.119
Warnings'}' is not preceded with whitespace.136
Warnings'}' is not preceded with whitespace.162

eu/scape_project/watch/rest/resource/EntityResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/EntityResourceXML.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/EntityTypeResource.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.55
Warnings'}' is not preceded with whitespace.115
WarningsThe String "Entity type not found: " appears 2 times in the file.125
Warnings'}' is not preceded with whitespace.140
WarningsLine is longer than 120 characters.142

eu/scape_project/watch/rest/resource/EntityTypeResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/EntityTypeResourceXML.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/JSONContextResolver.java

ViolationMessageLine
WarningsVariable 'jackson' should be declared final.42
WarningsVariable 'jaxb' should be declared final.43
WarningsVariable 'pair' should be declared final.44
WarningsMissing a Javadoc comment.64

eu/scape_project/watch/rest/resource/PropertyResource.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.60
WarningsLine is longer than 120 characters.103
WarningsLine is longer than 120 characters.104
Warnings'}' is not preceded with whitespace.125
Warnings'}' is not preceded with whitespace.158
WarningsThe String "Property not found: " appears 2 times in the file.169
Warnings'}' is not preceded with whitespace.186

eu/scape_project/watch/rest/resource/PropertyResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/PropertyValueResource.java

ViolationMessageLine
Warnings'thewebsemantic.binding.Jenabean' should be separated from previous imports.30
Warnings'}' is not preceded with whitespace.59
WarningsThe String ", property=" appears 3 times in the file.68
Warnings'}' is not preceded with whitespace.103
Warnings'}' is not preceded with whitespace.142
WarningsLine is longer than 120 characters.144
WarningsLine is longer than 120 characters.145
WarningsThe String "Property value not found entity=" appears 2 times in the file.155
Warnings'}' is not preceded with whitespace.172
WarningsLine is longer than 120 characters.174
WarningsLine is longer than 120 characters.175

eu/scape_project/watch/rest/resource/PropertyValueResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/PropertyValueResourceXML.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/RequestResource.java

ViolationMessageLine
WarningsLine is longer than 120 characters.64

eu/scape_project/watch/rest/resource/RequestResourceJSON.java

ViolationMessageLine
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/rest/resource/RequestResourceXML.java

ViolationMessageLine
WarningsWrong order for 'javax.ws.rs.Path' import.6
Warnings'}' is not preceded with whitespace.18

eu/scape_project/watch/utils/ApiAuthorizationFilterImpl.java

ViolationMessageLine
WarningsMissing a Javadoc comment.43
WarningsLine is longer than 120 characters.76
WarningsExpected @param tag for 'apiPath'.76
WarningsExpected @param tag for 'method'.76
WarningsExpected @param tag for 'headers'.76
WarningsExpected @param tag for 'uriInfo'.76
WarningsMissing a Javadoc comment.85
WarningsParameter apiPath should be final.85
WarningsVariable 'apiPath' should be declared final.85
WarningsParameter headers should be final.85
WarningsVariable 'headers' should be declared final.85
WarningsParameter uriInfo should be final.85
WarningsVariable 'uriInfo' should be declared final.85
WarningsVariable 'apiKey' should be declared final.86
WarningsConditional logic can be removed.88
WarningsReference to instance variable 'securekeyId' needs "this.".88
WarningsMissing a Javadoc comment.98
WarningsParameter apiPath should be final.98
WarningsVariable 'apiPath' should be declared final.98
WarningsParameter isResource should be final.98
WarningsVariable 'isResource' should be declared final.98
Warnings'if' construct must use '{}'s.99
WarningsReference to instance variable 'isFilterInitialized' needs "this.".99
WarningsReference to instance variable 'classSecurityAnotations' needs "this.".102
WarningsReference to instance variable 'classSecurityAnotations' needs "this.".103
WarningsReference to instance variable 'methodSecurityAnotations' needs "this.".108
WarningsReference to instance variable 'methodSecurityAnotations' needs "this.".109
WarningsMissing a Javadoc comment.116
WarningsReference to instance variable 'classSecurityAnotations' needs "this.".118
WarningsReference to instance variable 'methodSecurityAnotations' needs "this.".121

eu/scape_project/watch/utils/ApiResponse.java

ViolationMessageLine
WarningsFile does not end with a newline.0
WarningsMissing a Javadoc comment.5
Warningsmember def modifier at indentation level 8 not at correct indentation, 27
WarningsFile contains tab characters (this is the first instance).7
WarningsMissing a Javadoc comment.7
Warningsmember def modifier at indentation level 8 not at correct indentation, 28
WarningsMissing a Javadoc comment.8
Warningsmember def modifier at indentation level 8 not at correct indentation, 29
WarningsMissing a Javadoc comment.9
Warningsmember def modifier at indentation level 8 not at correct indentation, 210
WarningsMissing a Javadoc comment.10
Warningsmember def modifier at indentation level 8 not at correct indentation, 211
WarningsMissing a Javadoc comment.11
Warningsmember def modifier at indentation level 8 not at correct indentation, 213
WarningsMissing a Javadoc comment.13
Warningsmember def modifier at indentation level 8 not at correct indentation, 214
WarningsMissing a Javadoc comment.14
Warningsmember def modifier at indentation level 8 not at correct indentation, 215
WarningsMissing a Javadoc comment.15
Warningsctor def modifier at indentation level 8 not at correct indentation, 217
WarningsMissing a Javadoc comment.17
Warningsctor def rcurly at indentation level 8 not at correct indentation, 218
Warningsctor def modifier at indentation level 8 not at correct indentation, 220
WarningsMissing a Javadoc comment.20
WarningsParameter code should be final.20
WarningsVariable 'code' should be declared final.20
WarningsParameter message should be final.20
WarningsVariable 'message' should be declared final.20
Warningsctor def child at indentation level 16 not at correct indentation, 421
Warningsswitch at indentation level 16 not at correct indentation, 422
Warningscase child at indentation level 16 not at correct indentation, 623
Warningsblock child at indentation level 24 not at correct indentation, 824
Warningsblock child at indentation level 24 not at correct indentation, 825
Warningscase child at indentation level 16 not at correct indentation, 626
Warningsblock child at indentation level 24 not at correct indentation, 827
Warningsblock child at indentation level 24 not at correct indentation, 828
Warningscase child at indentation level 16 not at correct indentation, 629
Warningsblock child at indentation level 24 not at correct indentation, 830
Warningsblock child at indentation level 24 not at correct indentation, 831
Warningscase child at indentation level 16 not at correct indentation, 632
Warningsblock child at indentation level 24 not at correct indentation, 833
Warningsblock child at indentation level 24 not at correct indentation, 834
Warningscase child at indentation level 16 not at correct indentation, 635
Warningsblock child at indentation level 24 not at correct indentation, 836
Warningsblock child at indentation level 24 not at correct indentation, 837
Warningscase child at indentation level 16 not at correct indentation, 638
Warningsblock child at indentation level 24 not at correct indentation, 839
Warningsblock child at indentation level 24 not at correct indentation, 840
Warningsswitch rcurly at indentation level 16 not at correct indentation, 441
Warningsctor def child at indentation level 16 not at correct indentation, 442
Warningsctor def rcurly at indentation level 8 not at correct indentation, 243
Warningsmethod def modifier at indentation level 8 not at correct indentation, 245
Warningsmethod def modifier at indentation level 8 not at correct indentation, 246
Warningsmethod def child at indentation level 16 not at correct indentation, 447
WarningsReference to instance variable 'code' needs "this.".47
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 248
Warningsmethod def modifier at indentation level 8 not at correct indentation, 250
WarningsParameter code should be final.50
WarningsVariable 'code' should be declared final.50
Warningsmethod def child at indentation level 16 not at correct indentation, 451
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 252
Warningsmethod def modifier at indentation level 8 not at correct indentation, 254
Warningsmethod def child at indentation level 16 not at correct indentation, 455
WarningsReference to instance variable 'type' needs "this.".55
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 256
Warningsmethod def modifier at indentation level 8 not at correct indentation, 258
WarningsParameter type should be final.58
WarningsVariable 'type' should be declared final.58
Warningsmethod def child at indentation level 16 not at correct indentation, 459
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 260
Warningsmethod def modifier at indentation level 8 not at correct indentation, 262
Warningsmethod def child at indentation level 16 not at correct indentation, 463
WarningsReference to instance variable 'message' needs "this.".63
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 264
Warningsmethod def modifier at indentation level 8 not at correct indentation, 266
WarningsParameter message should be final.66
WarningsVariable 'message' should be declared final.66
Warningsmethod def child at indentation level 16 not at correct indentation, 467
Warningsmethod def rcurly at indentation level 8 not at correct indentation, 268

eu/scape_project/watch/utils/exception/ApiException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.7
Warningsmember def modifier at indentation level 8 not at correct indentation, 28
WarningsFile contains tab characters (this is the first instance).8
WarningsMissing a Javadoc comment.8
Warningsctor def modifier at indentation level 8 not at correct indentation, 210
WarningsMissing a Javadoc comment.10
WarningsParameter code should be final.10
WarningsVariable 'code' should be declared final.10
WarningsParameter message should be final.10
WarningsVariable 'message' should be declared final.10
Warningsctor def child at indentation level 16 not at correct indentation, 413
Warningsctor def rcurly at indentation level 8 not at correct indentation, 214
Warningsctor def modifier at indentation level 8 not at correct indentation, 216
WarningsMissing a Javadoc comment.16
WarningsParameter code should be final.16
WarningsVariable 'code' should be declared final.16
WarningsParameter e should be final.16
WarningsVariable 'e' should be declared final.16
Warningsctor def child at indentation level 16 not at correct indentation, 421
Warningsctor def rcurly at indentation level 8 not at correct indentation, 222

eu/scape_project/watch/utils/exception/BadRequestException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.3
Warningsmember def modifier at indentation level 8 not at correct indentation, 24
WarningsFile contains tab characters (this is the first instance).4
WarningsMissing a Javadoc comment.4
Warningsctor def modifier at indentation level 8 not at correct indentation, 25
WarningsMissing a Javadoc comment.5
Warnings'(' is preceded with whitespace.5
WarningsParameter code should be final.5
WarningsVariable 'code' should be declared final.5
WarningsParameter msg should be final.5
WarningsVariable 'msg' should be declared final.5
Warningsctor def child at indentation level 16 not at correct indentation, 47
Warningsctor def rcurly at indentation level 8 not at correct indentation, 28

eu/scape_project/watch/utils/exception/NotNullConstraintException.java

ViolationMessageLine
WarningsMissing a Javadoc comment.3
WarningsMissing a Javadoc comment.5
WarningsMissing a Javadoc comment.7
WarningsMissing a Javadoc comment.11
WarningsParameter message should be final.11
WarningsVariable 'message' should be declared final.11
WarningsMissing a Javadoc comment.15
WarningsParameter cause should be final.15
WarningsVariable 'cause' should be declared final.15
WarningsMissing a Javadoc comment.19
WarningsParameter message should be final.19
WarningsVariable 'message' should be declared final.19
WarningsParameter cause should be final.19
WarningsVariable 'cause' should be declared final.19