Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
12 0 0 303

Rules

Rules Violations Severity
JavadocPackage
  • allowLegacy: "true"
5 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
4 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
127 Errors Error
JavadocMethod 11 Errors Error
JavadocType 1 Errors Error
JavadocVariable 2 Errors Error
JavadocStyle 13 Errors Error
ConstantName 1 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 2 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 0 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 0 Errors Error
LineLength 63 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 0 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 0 Errors Error
ParenPad 1 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 0 Errors Error
WhitespaceAround 15 Errors Error
ModifierOrder 4 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 0 Errors Error
LeftCurly 0 Errors Error
NeedBraces 0 Errors Error
RightCurly 0 Errors Error
AvoidInlineConditionals 0 Errors Error
DoubleCheckedLocking 0 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField 5 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 0 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 0 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
DesignForExtension 25 Errors Error
FinalClass 1 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 0 Errors Error
ArrayTypeStyle 0 Errors Error
FinalParameters 23 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

org/bitrepository/monitoringservice/MonitoringService.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Missing a Javadoc comment. 49
Errors First sentence should end with a period. 52
Errors First sentence should end with a period. 56
Errors First sentence should end with a period. 58
Errors Line has trailing spaces. 60
Errors Line is longer than 80 characters. 66
Errors Parameter settings should be final. 66
Errors 'settings' hides a field. 66
Errors Parameter securityManager should be final. 66
Errors Line is longer than 80 characters. 69
Errors Line is longer than 80 characters. 70
Errors Line is longer than 80 characters. 71
Errors Line is longer than 80 characters. 72
Errors Line is longer than 80 characters. 73
Errors Line is longer than 80 characters. 74
Errors Line has trailing spaces. 77
Errors Method 'getStatus' is not designed for extension - needs to be abstract, final or empty. 81
Errors Line has trailing spaces. 84
Errors '{' is not followed by whitespace. 86
Errors '}' is not preceded with whitespace. 86
Errors Line has trailing spaces. 87
Errors Line is longer than 80 characters. 89
Errors Method 'getMaxRetries' is not designed for extension - needs to be abstract, final or empty. 91
Errors Line is longer than 80 characters. 92
Errors Line has trailing spaces. 93
Errors Line has trailing spaces. 94
Errors Method 'getCollectionInterval' is not designed for extension - needs to be abstract, final or empty. 98
Errors Line is longer than 80 characters. 99
Errors Line has trailing spaces. 101
Errors Method 'shutdown' is not designed for extension - needs to be abstract, final or empty. 102
Errors '(' is followed by whitespace. 106
Errors Line is longer than 80 characters. 110

org/bitrepository/monitoringservice/MonitoringServiceFactory.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Class MonitoringServiceFactory should be declared as final. 44
Errors Line is longer than 80 characters. 49
Errors Line is longer than 80 characters. 51
Errors Line is longer than 80 characters. 52
Errors Line has trailing spaces. 64
Errors Line has trailing spaces. 66
Errors Line has trailing spaces. 67
Errors 'static' modifier out of order with the JLS suggestions. 69
Errors Parameter configurationDir should be final. 69
Errors Expected @param tag for 'configurationDir'. 69
Errors Line has trailing spaces. 72
Errors 'static' modifier out of order with the JLS suggestions. 78
Errors 'if' is not followed by whitespace. 79
Errors 'if' is not followed by whitespace. 80
Errors Line is longer than 80 characters. 81
Errors Line is longer than 80 characters. 85
Errors Line has trailing spaces. 92
Errors 'static' modifier out of order with the JLS suggestions. 99
Errors 'if' is not followed by whitespace. 100
Errors Line is longer than 80 characters. 103
Errors Line is longer than 80 characters. 105
Errors Line is longer than 80 characters. 106
Errors Line has trailing spaces. 107
Errors Line is longer than 80 characters. 108
Errors Line has trailing spaces. 110
Errors Line has trailing spaces. 113
Errors Line has trailing spaces. 115
Errors Line is longer than 80 characters. 115
Errors 'static' modifier out of order with the JLS suggestions. 122
Errors 'if' is not followed by whitespace. 123
Errors Line is longer than 80 characters. 126
Errors Line has trailing spaces. 128
Errors Line has trailing spaces. 131
Errors Line has trailing spaces. 132
Errors Line is longer than 80 characters. 140
Errors Line is longer than 80 characters. 144

org/bitrepository/monitoringservice/alarm/BasicMonitoringServiceAlerter.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line is longer than 80 characters. 38
Errors Line is longer than 80 characters. 40
Errors Line has trailing spaces. 45
Errors Unused @param tag for 'statusStore'. 50
Errors Line is longer than 80 characters. 53
Errors Parameter settings should be final. 53
Errors Expected @param tag for 'settings'. 53
Errors Parameter sender should be final. 53
Errors Parameter alarmLevel should be final. 53
Errors Parameter statusStore should be final. 53
Errors 'statusStore' hides a field. 53
Errors Line is longer than 80 characters. 56
Errors Line has trailing spaces. 58
Errors Method 'checkStatuses' is not designed for extension - needs to be abstract, final or empty. 59
Errors 'for' is not followed by whitespace. 63
Errors Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 63
Errors Line is longer than 80 characters. 65
Errors 'if' is not followed by whitespace. 65
Errors 'if' is not followed by whitespace. 67
Errors Line contains a tab character. 68
Errors Line contains a tab character. 69
Errors Line has trailing spaces. 73
Errors 'if' is not followed by whitespace. 74
Errors Line has trailing spaces. 77
Errors Line is longer than 80 characters. 77

org/bitrepository/monitoringservice/alarm/MonitorAlerter.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line has trailing spaces. 28
Errors Line is longer than 80 characters. 30
Errors Line has trailing spaces. 31

org/bitrepository/monitoringservice/collector/GetStatusEventHandler.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line is longer than 80 characters. 24
Errors Line is longer than 80 characters. 37
Errors First sentence should end with a period. 40
Errors Line is longer than 80 characters. 48
Errors Parameter statusStore should be final. 48
Errors 'statusStore' hides a field. 48
Errors Parameter alarmDispatcher should be final. 48
Errors Line has trailing spaces. 52
Errors Method 'handleEvent' is not designed for extension - needs to be abstract, final or empty. 53
Errors Parameter event should be final. 54
Errors Line has trailing spaces. 56
Errors Line has trailing spaces. 59
Errors Line is longer than 80 characters. 59
Errors Line is longer than 80 characters. 60
Errors Line has trailing spaces. 70

org/bitrepository/monitoringservice/collector/StatusCollector.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors First sentence should end with a period. 37
Errors First sentence should end with a period. 41
Errors First sentence should end with a period. 47
Errors Line is longer than 80 characters. 48
Errors Name 'timer' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 48
Errors First sentence should end with a period. 49
Errors Line has trailing spaces. 51
Errors Line has trailing spaces. 59
Errors Line is longer than 80 characters. 59
Errors Parameter getStatusClient should be final. 59
Errors 'getStatusClient' hides a field. 59
Errors Parameter settings should be final. 59
Errors Parameter statusStore should be final. 59
Errors 'statusStore' hides a field. 59
Errors Parameter alerter should be final. 60
Errors Line is longer than 80 characters. 64
Errors Line has trailing spaces. 66
Errors First sentence should end with a period. 67
Errors Method 'start' is not designed for extension - needs to be abstract, final or empty. 68
Errors Line has trailing spaces. 71
Errors First sentence should end with a period. 72
Errors Method 'stop' is not designed for extension - needs to be abstract, final or empty. 73
Errors Line has trailing spaces. 76
Errors Line has trailing spaces. 79
Errors Line is longer than 80 characters. 79

org/bitrepository/monitoringservice/status/ComponentStatus.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line has trailing spaces. 29
Errors First sentence should end with a period. 40
Errors Line is longer than 80 characters. 40
Errors Line has trailing spaces. 42
Errors Line has trailing spaces. 43
Errors First sentence should end with a period. 44
Errors Line has trailing spaces. 45
Errors Line has trailing spaces. 54
Errors Method 'updateStatus' is not designed for extension - needs to be abstract, final or empty. 58
Errors Parameter resultingStatus should be final. 58
Errors Expected @param tag for 'resultingStatus'. 58
Errors Line is longer than 80 characters. 60
Errors Method 'updateReplys' is not designed for extension - needs to be abstract, final or empty. 69
Errors Line has trailing spaces. 72
Errors Method 'markAsUnresponsive' is not designed for extension - needs to be abstract, final or empty. 76
Errors Line has trailing spaces. 79
Errors Method 'getNumberOfMissingReplies' is not designed for extension - needs to be abstract, final or empty. 83
Errors Method 'getStatus' is not designed for extension - needs to be abstract, final or empty. 90
Errors Method 'getLastReply' is not designed for extension - needs to be abstract, final or empty. 97
Errors Method 'getInfo' is not designed for extension - needs to be abstract, final or empty. 104
Errors Line has trailing spaces. 106
Errors Line has trailing spaces. 107
Errors Method 'hasAlarmed' is not designed for extension - needs to be abstract, final or empty. 108
Errors Missing a Javadoc comment. 108
Errors Line contains a tab character. 109
Errors Line has trailing spaces. 111
Errors Method 'alarmed' is not designed for extension - needs to be abstract, final or empty. 112
Errors Missing a Javadoc comment. 112
Errors Line contains a tab character. 113

org/bitrepository/monitoringservice/status/ComponentStatusCode.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line has trailing spaces. 25
Errors Line has trailing spaces. 38

org/bitrepository/monitoringservice/status/ComponentStatusStore.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line has trailing spaces. 41
Errors Line is longer than 80 characters. 44
Errors Parameter components should be final. 46
Errors 'for' is not followed by whitespace. 48
Errors Line has trailing spaces. 52
Errors Method 'updateStatus' is not designed for extension - needs to be abstract, final or empty. 53
Errors Line is longer than 80 characters. 54
Errors Parameter componentID should be final. 54
Errors Parameter status should be final. 54
Errors 'if' is not followed by whitespace. 55
Errors Line has trailing spaces. 61
Errors Method 'updateReplyCounts' is not designed for extension - needs to be abstract, final or empty. 62
Errors 'for' is not followed by whitespace. 64
Errors Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 64
Errors Line has trailing spaces. 68
Errors Method 'getStatusMap' is not designed for extension - needs to be abstract, final or empty. 69

org/bitrepository/monitoringservice/status/StatusStore.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Line has trailing spaces. 38
Errors Line is longer than 80 characters. 40
Errors Line is longer than 80 characters. 41
Errors Line has trailing spaces. 45

org/bitrepository/monitoringservice/webservice/MonitoringServiceContextListener.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Line has trailing spaces. 4
Errors Line is longer than 80 characters. 8
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 12
Errors Line has trailing spaces. 14
Errors Line has trailing spaces. 19
Errors Line has trailing spaces. 20
Errors First sentence should end with a period. 32
Errors Line is longer than 80 characters. 35
Errors Method 'getSettingsParameter' is not designed for extension - needs to be abstract, final or empty. 37
Errors Method 'getService' is not designed for extension - needs to be abstract, final or empty. 42
Errors Method 'initialize' is not designed for extension - needs to be abstract, final or empty. 47
Errors Parameter configutrationDir should be final. 48
Errors Line has trailing spaces. 49

org/bitrepository/monitoringservice/webservice/RestMonitoringService.java

Violation Message Line
Errors Line is longer than 80 characters. 5
Errors Line has trailing spaces. 8
Errors Line has trailing spaces. 9
Errors Line has trailing spaces. 11
Errors Line has trailing spaces. 16
Errors Line has trailing spaces. 17
Errors Missing a Javadoc comment. 39
Errors Line has trailing spaces. 41
Errors Missing a Javadoc comment. 42
Errors Line has trailing spaces. 43
Errors Missing a Javadoc comment. 44
Errors Line has trailing spaces. 47
Errors Method 'getMonitoringServiceConfiguration' is not designed for extension - needs to be abstract, final or empty. 48
Errors Missing a Javadoc comment. 48
Errors Line has trailing spaces. 53
Errors Line is longer than 80 characters. 54
Errors Line is longer than 80 characters. 55
Errors Line has trailing spaces. 56
Errors Line has trailing spaces. 59
Errors Method 'getComponentStatus' is not designed for extension - needs to be abstract, final or empty. 60
Errors Missing a Javadoc comment. 60
Errors Line has trailing spaces. 66
Errors 'for' is not followed by whitespace. 67
Errors Line is longer than 80 characters. 68
Errors Line has trailing spaces. 72
Errors Line is longer than 80 characters. 73
Errors Missing a Javadoc comment. 73
Errors Parameter componentID should be final. 73
Errors Parameter status should be final. 73
Errors 'if' is not followed by whitespace. 80
Errors Line has trailing spaces. 83
Errors Line has trailing spaces. 85
Errors Line has trailing spaces. 91
Errors Missing a Javadoc comment. 92
Errors Parameter option should be final. 92
Errors Parameter value should be final. 92
Errors Line has trailing spaces. 95