Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
2203560

Rules

RulesViolationsSeverity
JavadocMethod
  • allowMissingPropertyJavadoc: "true"
40Warnings Warning
JavadocType5Warnings Warning
JavadocVariable34Warnings Warning
JavadocStyle9Warnings Warning
ConstantName0Warnings Warning
LocalFinalVariableName0Warnings Warning
LocalVariableName0Warnings Warning
MemberName0Warnings Warning
MethodName0Warnings Warning
PackageName0Warnings Warning
ParameterName0Warnings Warning
StaticVariableName2Warnings Warning
TypeName0Warnings Warning
AvoidStarImport0Warnings Warning
IllegalImport0Warnings Warning
RedundantImport0Warnings Warning
UnusedImports1Warnings Warning
FallThrough0Warnings Warning
MethodLength0Warnings Warning
ParameterNumber0Warnings Warning
EmptyForIteratorPad0Warnings Warning
MethodParamPad0Warnings Warning
NoWhitespaceAfter0Warnings Warning
NoWhitespaceBefore0Warnings Warning
OperatorWrap0Warnings Warning
ParenPad0Warnings Warning
TypecastParenPad0Warnings Warning
WhitespaceAfter0Warnings Warning
ModifierOrder0Warnings Warning
RedundantModifier0Warnings Warning
AvoidNestedBlocks0Warnings Warning
EmptyBlock0Warnings Warning
LeftCurly0Warnings Warning
NeedBraces14Warnings Warning
RightCurly0Warnings Warning
AvoidInlineConditionals0Warnings Warning
DoubleCheckedLocking0Warnings Warning
EmptyStatement0Warnings Warning
EqualsHashCode1Warnings Warning
HiddenField
  • ignoreConstructorParameter: "true"
  • ignoreSetter: "true"
3Warnings Warning
IllegalInstantiation0Warnings Warning
InnerAssignment0Warnings Warning
MagicNumber1Warnings Warning
MissingSwitchDefault0Warnings Warning
RedundantThrows0Warnings Warning
SimplifyBooleanExpression0Warnings Warning
SimplifyBooleanReturn0Warnings Warning
FinalClass0Warnings Warning
HideUtilityClassConstructor0Warnings Warning
InterfaceIsType0Warnings Warning
VisibilityModifier0Warnings Warning
ArrayTypeStyle0Warnings Warning
FinalParameters42Warnings Warning
TodoComment0Warnings Warning
UpperEll0Warnings Warning
ImportOrder
  • separated: "true"
  • groups: "java, javax, at, com, eu, org"
4Warnings 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"
29Warnings Warning
ModifiedControlVariable0Warnings Warning
MultipleStringLiterals3Warnings Warning
RequireThis91Warnings Warning
PackageDeclaration0Warnings Warning
FinalLocalVariable
  • tokens: "PARAMETER_DEF, VARIABLE_DEF"
74Warnings Warning
UnnecessaryParentheses0Warnings Warning
MissingOverride0Warnings Warning
MemberName0Warnings Warning
LineLength
  • max: "120"
3Warnings Warning
Indentation
  • caseIndent: "2"
  • basicOffset: "2"
0Warnings Warning
FileLength0Warnings Warning
FileTabCharacter0Warnings Warning
NewlineAtEndOfFile0Warnings Warning
Translation0Warnings Warning

Details

eu/scape_project/watch/interfaces/AdaptorJobInterface.java

ViolationMessageLine
WarningsFirst sentence should end with a period.24
WarningsExpected an @return tag.28
WarningsFirst sentence should end with a period.36
WarningsExpected an @return tag.40
WarningsFirst sentence should end with a period.42
WarningsExpected @param tag for 'properties'.46
WarningsFirst sentence should end with a period.48
WarningsFirst sentence should end with a period.54
WarningsExpected an @return tag.58
WarningsFirst sentence should end with a period.60
WarningsExpected @param tag for 'properties'.64

eu/scape_project/watch/interfaces/MonitorInterface.java

ViolationMessageLine
WarningsWrong order for 'eu.scape_project.watch.domain.AsyncRequest' import.5
WarningsLine is longer than 120 characters.23
WarningsExpected an @return tag.32

eu/scape_project/watch/monitor/CentralMonitor.java

ViolationMessageLine
WarningsWrong order for 'eu.scape_project.watch.dao.AsyncRequestDAO' import.12
WarningsMissing a Javadoc comment.23
WarningsMissing a Javadoc comment.25
WarningsMissing a Javadoc comment.27
WarningsMissing a Javadoc comment.29
WarningsMissing a Javadoc comment.31
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsReference to instance variable 'monitors' needs "this.".36
WarningsReference to instance variable 'aRequests' needs "this.".37
WarningsMissing a Javadoc comment.41
WarningsParameter monitor should be final.41
WarningsVariable 'monitor' should be declared final.41
WarningsReference to instance variable 'monitors' needs "this.".42
WarningsMissing a Javadoc comment.46
WarningsParameter ar should be final.46
WarningsVariable 'ar' should be declared final.46
WarningsReference to instance variable 'asyncRequestDAO' needs "this.".47
WarningsReference to instance variable 'asyncRequestDAO' needs "this.".48
WarningsParameter ns should be final.52
WarningsVariable 'ns' should be declared final.52
Warnings'{' is not preceded with whitespace.52
WarningsReference to instance variable 'nService' needs "this.".53
WarningsReference to instance variable 'nService' needs "this.".57
WarningsMissing a Javadoc comment.60
WarningsParameter ids should be final.60
WarningsVariable 'ids' should be declared final.60
WarningsVariable 'tmp' should be declared final.63
WarningsReference to instance variable 'aRequests' needs "this.".70
WarningsReference to instance variable 'monitors' needs "this.".74
WarningsParameter object should be final.79
WarningsVariable 'object' should be declared final.79
WarningsVariable 'req' should be declared final.80
WarningsReference to instance variable 'aRequests' needs "this.".82
WarningsReference to instance variable 'aRequests' needs "this.".83
WarningsReference to instance variable 'monitors' needs "this.".84
WarningsParameter object should be final.91
WarningsVariable 'object' should be declared final.91
WarningsReference to instance variable 'aRequests' needs "this.".92
WarningsMissing a Javadoc comment.100
WarningsParameter uuid should be final.100
WarningsVariable 'uuid' should be declared final.100
WarningsReference to instance variable 'aRequests' needs "this.".102
Warnings'if' construct must use '{}'s.103
WarningsMissing a Javadoc comment.111
WarningsParameter aRequest should be final.111
WarningsVariable 'aRequest' should be declared final.111
WarningsVariable 'question' should be declared final.116
WarningsVariable 'result' should be declared final.117
Warnings'10' is a magic number.117
Warnings'>' is not preceded with whitespace.118
Warnings'>' is not followed by whitespace.118
Warnings'{' is not preceded with whitespace.118
Warnings'else' is not preceded with whitespace.120
Warnings'}' is not followed by whitespace.120
WarningsMissing a Javadoc comment.127
WarningsParameter trigger should be final.127
WarningsVariable 'trigger' should be declared final.127
WarningsReference to instance variable 'nService' needs "this.".128
Warnings'!=' is not preceded with whitespace.128
Warnings'!=' is not followed by whitespace.128
WarningsReference to instance variable 'nService' needs "this.".130
Warnings'else' is not preceded with whitespace.132
Warnings'}' is not followed by whitespace.132

eu/scape_project/watch/monitor/CollectionProfilerMonitor.java

ViolationMessageLine
WarningsWrong order for 'eu.scape_project.watch.dao.EntityDAO' import.13
WarningsMissing a Javadoc comment.27
WarningsMissing a Javadoc comment.29
WarningsMissing a Javadoc comment.31
WarningsName 'GROUP_NAME' must match pattern '^[a-z][a-zA-Z0-9]*$'.31
WarningsMissing a Javadoc comment.33
WarningsMissing a Javadoc comment.35
WarningsMissing a Javadoc comment.37
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.43
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".45
WarningsReference to instance variable 'adaptorJobs' needs "this.".46
WarningsReference to instance variable 'monitorType' needs "this.".47
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".52
WarningsParameter arg0 should be final.64
WarningsVariable 'arg0' should be declared final.64
WarningsParameter arg0 should be final.70
WarningsVariable 'arg0' should be declared final.70
WarningsVariable 'aJob' should be declared final.71
WarningsReference to instance variable 'adaptorJobs' needs "this.".72
WarningsReference to instance variable 'adaptorJobs' needs "this.".73
WarningsParameter arg0 should be final.79
WarningsVariable 'arg0' should be declared final.79
WarningsParameter arg1 should be final.79
WarningsVariable 'arg1' should be declared final.79
WarningsVariable 'result' should be declared final.81
Warnings'!=' is not preceded with whitespace.83
Warnings'!=' is not followed by whitespace.83
Warnings'{' is not preceded with whitespace.83
WarningsVariable 'rValues' should be declared final.84
WarningsVariable 'e' should be declared final.86
WarningsVariable 'p' should be declared final.87
WarningsReference to instance variable 'centralMonitor' needs "this.".96
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".96
Warnings'else' is not preceded with whitespace.97
Warnings'}' is not followed by whitespace.97
WarningsParameter cm should be final.104
WarningsVariable 'cm' should be declared final.104
WarningsReference to instance variable 'centralMonitor' needs "this.".105
WarningsParameter cs should be final.114
WarningsVariable 'cs' should be declared final.114
WarningsReference to instance variable 'coreScheduler' needs "this.".115
WarningsParameter aRequest should be final.120
WarningsVariable 'aRequest' should be declared final.120
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".122
Warnings'{' is not preceded with whitespace.122
Warnings'if' construct must use '{}'s.123
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".124
WarningsParameter aRequest should be final.130
WarningsVariable 'aRequest' should be declared final.130
WarningsReference to instance variable 'aRequestUUIDS' needs "this.".132
WarningsMissing a Javadoc comment.136
WarningsParameter aRequest should be final.136
WarningsVariable 'aRequest' should be declared final.136
WarningsVariable 'eType' should be declared final.139
Warnings'if' construct must use '{}'s.140
WarningsReference to instance variable 'monitorType' needs "this.".140

eu/scape_project/watch/plugin/PluginManager.java

ViolationMessageLine
WarningsUnused @throws tag for 'IllegalArgumentException'.271

eu/scape_project/watch/scheduling/AdaptorJob.java

ViolationMessageLine
WarningsWrong order for 'eu.scape_project.watch.interfaces.AdaptorJobInterface' import.14
WarningsMissing a Javadoc comment.20
WarningsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.24
WarningsMissing a Javadoc comment.26
WarningsMissing a Javadoc comment.28
WarningsMissing a Javadoc comment.30
WarningsReference to instance variable 'adaptorClassName' needs "this.".37
WarningsReference to instance variable 'adaptorVersion' needs "this.".37
WarningsReference to instance variable 'adaptorProperties' needs "this.".43
Warnings'properties' hides a field.44
WarningsVariable 'properties' should be declared final.44
WarningsReference to instance variable 'adaptorProperties' needs "this.".45
WarningsVariable 'map' should be declared final.47
WarningsVariable 'e' should be declared final.61
WarningsParameter className should be final.70
WarningsVariable 'className' should be declared final.70
WarningsParameter version should be final.80
WarningsVariable 'version' should be declared final.80
WarningsParameter properties should be final.90
Warnings'properties' hides a field.90
WarningsVariable 'properties' should be declared final.90
WarningsParameter properties should be final.95
Warnings'properties' hides a field.95
WarningsVariable 'properties' should be declared final.95
WarningsReference to instance variable 'properties' needs "this.".101
WarningsMissing a Javadoc comment.104
WarningsDefinition of 'equals()' without corresponding definition of 'hashCode()'.108
WarningsParameter object should be final.109
WarningsVariable 'object' should be declared final.109
Warnings'if' construct must use '{}'s.110
Warnings'==' is not preceded with whitespace.110
Warnings'==' is not followed by whitespace.110
Warnings'if' construct must use '{}'s.112
Warnings'!=' is not preceded with whitespace.112
Warnings'!=' is not followed by whitespace.112
WarningsVariable 'aJob' should be declared final.114
WarningsLine is longer than 120 characters.115

eu/scape_project/watch/scheduling/CoreScheduler.java

ViolationMessageLine
WarningsMissing a Javadoc comment.20
WarningsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.26
WarningsReference to instance variable 'scheduler' needs "this.".28
WarningsReference to instance variable 'scheduler' needs "this.".30
WarningsVariable 'e' should be declared final.31
WarningsMissing a Javadoc comment.38
WarningsParameter sc should be final.38
WarningsVariable 'sc' should be declared final.38
Warnings'if' construct must use '{}'s.40
WarningsReference to instance variable 'scheduler' needs "this.".40
WarningsReference to instance variable 'scheduler' needs "this.".41
WarningsMissing a Javadoc comment.44
WarningsReference to instance variable 'scheduler' needs "this.".46
WarningsVariable 'e' should be declared final.47
WarningsMissing a Javadoc comment.53
WarningsReference to instance variable 'scheduler' needs "this.".55
WarningsVariable 'e' should be declared final.56
WarningsMissing a Javadoc comment.62
WarningsParameter jobDetail should be final.62
WarningsVariable 'jobDetail' should be declared final.62
WarningsParameter trigger should be final.62
WarningsVariable 'trigger' should be declared final.62
WarningsReference to instance variable 'scheduler' needs "this.".64
WarningsVariable 'e' should be declared final.65
WarningsMissing a Javadoc comment.72
WarningsParameter job should be final.72
WarningsVariable 'job' should be declared final.72
WarningsMethod call to 'scheduleJob' needs "this.".73
WarningsMissing a Javadoc comment.76
WarningsParameter jobListener should be final.76
WarningsVariable 'jobListener' should be declared final.76
WarningsParameter group should be final.76
WarningsVariable 'group' should be declared final.76
WarningsReference to instance variable 'scheduler' needs "this.".78
WarningsVariable 'e' should be declared final.79
WarningsReference to instance variable 'scheduler' needs "this.".86

eu/scape_project/watch/scheduling/SimpleAdaptorJob.java

ViolationMessageLine
WarningsMissing a Javadoc comment.15
WarningsMissing a Javadoc comment.17
WarningsMissing a Javadoc comment.19
WarningsMissing a Javadoc comment.20
WarningsReference to instance variable 'jobDetail' needs "this.".24
WarningsReference to instance variable 'trigger' needs "this.".29
WarningsVariable 'properties' should be declared final.34
WarningsReference to instance variable 'jobDetail' needs "this.".36
WarningsThe String "adaptor.name" appears 2 times in the file.37
WarningsThe String "adaptor.group" appears 2 times in the file.37
WarningsReference to instance variable 'trigger' needs "this.".43
WarningsLine is longer than 120 characters.49
WarningsMissing a Javadoc comment.52
WarningsParameter properties should be final.52
WarningsVariable 'properties' should be declared final.52
WarningsVariable 'prefix' should be declared final.55
WarningsVariable 'keys' should be declared final.56
WarningsVariable 'it' should be declared final.58
Warnings'{' is not preceded with whitespace.59
WarningsVariable 'key' should be declared final.60
Warnings'{' is not preceded with whitespace.61
WarningsVariable 'value' should be declared final.62
Warnings'+' is not preceded with whitespace.63
Warnings'+' is not followed by whitespace.63
Warnings'+' is not preceded with whitespace.63
Warnings'+' is not followed by whitespace.63
Warnings'+' is not preceded with whitespace.63
Warnings'+' is not followed by whitespace.63
Warnings'+' is not preceded with whitespace.66

eu/scape_project/watch/utils/AdaptorLoader.java

ViolationMessageLine
WarningsUnused import - com.ibm.icu.util.Calendar.14
WarningsMissing a Javadoc comment.30
WarningsMissing a Javadoc comment.32
WarningsMissing a Javadoc comment.34
WarningsName 'EXTENSION' must match pattern '^[a-z][a-zA-Z0-9]*$'.34
WarningsMissing a Javadoc comment.36
WarningsMissing a Javadoc comment.38
WarningsMissing a Javadoc comment.39
WarningsMissing a Javadoc comment.41
WarningsMissing a Javadoc comment.43
WarningsMissing a Javadoc comment.45
WarningsReference to instance variable 'coreScheduler' needs "this.".48
WarningsParameter coreScheduler should be final.51
WarningsVariable 'coreScheduler' should be declared final.51
WarningsMissing a Javadoc comment.55
WarningsVariable 'conf' should be declared final.56
WarningsReference to instance variable 'adaptorFolder' needs "this.".57
WarningsReference to instance variable 'adaptorConfigs' needs "this.".58
WarningsReference to instance variable 'tempAdaptorConfigs' needs "this.".59
WarningsMissing a Javadoc comment.63
WarningsReference to instance variable 'loaderTimer' needs "this.".65
WarningsReference to instance variable 'loaderTimer' needs "this.".66
WarningsMissing a Javadoc comment.69
Warnings'if' construct must use '{}'s.70
WarningsReference to instance variable 'loaderTimer' needs "this.".70
WarningsReference to instance variable 'loaderTimer' needs "this.".71
WarningsMissing a Javadoc comment.74
WarningsParameter f should be final.74
WarningsVariable 'f' should be declared final.74
WarningsReference to instance variable 'adaptorConfigs' needs "this.".75
WarningsMissing a Javadoc comment.78
WarningsParameter f should be final.78
WarningsVariable 'f' should be declared final.78
WarningsReference to instance variable 'tempAdaptorConfigs' needs "this.".79
WarningsParameter f should be final.86
WarningsVariable 'f' should be declared final.86
WarningsMissing a Javadoc comment.90
WarningsReference to instance variable 'tempAdaptorConfigs' needs "this.".91
WarningsReference to instance variable 'tempAdaptorConfigs' needs "this.".92
WarningsVariable 'properties' should be declared final.93
WarningsVariable 'ajName' should be declared final.95
WarningsVariable 'adaptorJob' should be declared final.97
WarningsReference to instance variable 'coreScheduler' needs "this.".100
WarningsReference to instance variable 'adaptorConfigs' needs "this.".102
WarningsReference to instance variable 'tempAdaptorConfigs' needs "this.".104
WarningsMissing a Javadoc comment.108
WarningsParameter file should be final.108
WarningsVariable 'file' should be declared final.108
WarningsVariable 'tmp' should be declared final.109
WarningsVariable 'e' should be declared final.115
WarningsMissing a Javadoc comment.122
WarningsParameter name should be final.122
WarningsVariable 'name' should be declared final.122
WarningsVariable 'e' should be declared final.133
WarningsMissing a Javadoc comment.140
WarningsMissing a Javadoc comment.142
WarningsMissing a Javadoc comment.146
WarningsParameter f should be final.146
WarningsVariable 'f' should be declared final.146
Warnings'for' construct must use '{}'s.150
WarningsMethod call to 'scanForAdaptors' needs "this.".151
Warnings'if' construct must use '{}'s.154
WarningsMethod call to 'configFileExist' needs "this.".154
WarningsMethod call to 'addToTempAdaptorConfigs' needs "this.".155
WarningsReference to instance variable 'adaptorFolder' needs "this.".162
WarningsMethod call to 'scanForAdaptors' needs "this.".163
WarningsReference to instance variable 'adaptorFolder' needs "this.".163
WarningsMethod call to 'loadAdaptors' needs "this.".164

eu/scape_project/watch/utils/ComponentContainer.java

ViolationMessageLine
WarningsFirst sentence should end with a period.10
WarningsMissing a Javadoc comment.18
WarningsMissing a Javadoc comment.20
WarningsMissing a Javadoc comment.22
WarningsMissing a Javadoc comment.24
WarningsFirst sentence should end with a period.26
WarningsMissing a Javadoc comment.33
WarningsParameter flag should be final.33
WarningsVariable 'flag' should be declared final.33
WarningsReference to instance variable 'coreScheduler' needs "this.".36
WarningsReference to instance variable 'adaptorLoader' needs "this.".37
WarningsReference to instance variable 'centralMonitor' needs "this.".38
WarningsFirst sentence should end with a period.42
Warnings'if' construct must use '{}'s.47
WarningsReference to instance variable 'coreScheduler' needs "this.".47
WarningsReference to instance variable 'coreScheduler' needs "this.".48
Warnings'if' construct must use '{}'s.49
WarningsReference to instance variable 'adaptorLoader' needs "this.".49
WarningsReference to instance variable 'adaptorLoader' needs "this.".50
WarningsMissing a Javadoc comment.53
Warnings'if' construct must use '{}'s.55
WarningsReference to instance variable 'coreScheduler' needs "this.".55
WarningsReference to instance variable 'coreScheduler' needs "this.".56
Warnings'if' construct must use '{}'s.57
WarningsReference to instance variable 'adaptorLoader' needs "this.".57
WarningsReference to instance variable 'adaptorLoader' needs "this.".58
WarningsMissing a Javadoc comment.61
WarningsParameter monitor should be final.61
WarningsVariable 'monitor' should be declared final.61
Warnings'if' construct must use '{}'s.63
WarningsReference to instance variable 'centralMonitor' needs "this.".63
WarningsReference to instance variable 'centralMonitor' needs "this.".64
WarningsReference to instance variable 'coreScheduler' needs "this.".65
WarningsReference to instance variable 'coreScheduler' needs "this.".66
WarningsReference to instance variable 'coreScheduler' needs "this.".67
WarningsReference to instance variable 'coreScheduler' needs "this.".72
WarningsParameter coreScheduler should be final.75
WarningsVariable 'coreScheduler' should be declared final.75
WarningsReference to instance variable 'centralMonitor' needs "this.".80
WarningsParameter centralMonitor should be final.83
WarningsVariable 'centralMonitor' should be declared final.83
WarningsReference to instance variable 'adaptorLoader' needs "this.".88
WarningsMissing a Javadoc comment.91
WarningsParameter adaptorLoader should be final.91
WarningsVariable 'adaptorLoader' should be declared final.91
WarningsReference to instance variable 'coreScheduler' needs "this.".93

eu/scape_project/watch/utils/ConfigUtils.java

ViolationMessageLine
WarningsThe String "Could not close the stream in a clean fashion: {}" appears 2 times in the file.121