Checkstyle Results

The following document contains the results of Checkstyle 6.16 with odl_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
27 0 187 0

Files

File  I  W  E
org/opendaylight/controller/config/yang/bmp/impl/AbstractBmpModuleTest.java 0 4 0
org/opendaylight/controller/config/yang/bmp/impl/BmpDispatcherImplModule.java 0 3 0
org/opendaylight/controller/config/yang/bmp/impl/BmpDispatcherImplModuleFactory.java 0 1 0
org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModule.java 0 9 0
org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModuleFactory.java 0 3 0
org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModuleTest.java 0 21 0
org/opendaylight/protocol/bmp/impl/BmpByteToMessageDecoder.java 0 1 0
org/opendaylight/protocol/bmp/impl/BmpDispatcherImpl.java 0 8 0
org/opendaylight/protocol/bmp/impl/BmpMessageToByteEncoder.java 0 1 0
org/opendaylight/protocol/bmp/impl/app/BmpMonitorImplTest.java 0 22 0
org/opendaylight/protocol/bmp/impl/app/BmpMonitoringStationImpl.java 0 7 0
org/opendaylight/protocol/bmp/impl/app/BmpRibInWriter.java 0 25 0
org/opendaylight/protocol/bmp/impl/app/BmpRouterImpl.java 0 10 0
org/opendaylight/protocol/bmp/impl/app/BmpRouterPeerImpl.java 0 23 0
org/opendaylight/protocol/bmp/impl/app/RouterSessionManager.java 0 1 0
org/opendaylight/protocol/bmp/impl/app/TableContext.java 0 7 0
org/opendaylight/protocol/bmp/impl/app/TablesUtil.java 0 8 0
org/opendaylight/protocol/bmp/impl/session/BmpDispatcherImplTest.java 0 4 0
org/opendaylight/protocol/bmp/impl/session/BmpSessionImpl.java 0 25 0
org/opendaylight/protocol/bmp/impl/session/BmpSessionImplTest.java 0 2 0
org/opendaylight/protocol/bmp/impl/session/BmpTestSessionListener.java 0 2 0

Rules

Category Rule Violations Severity
coding IllegalCatch 6  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
2  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
22  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
9  Warning
NonEmptyAtclauseDescription 6  Warning
modifier RedundantModifier 2  Warning
naming ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
4  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
120  Warning
whitespace GenericWhitespace 1  Warning
MethodParamPad 3  Warning
OperatorWrap
  • tokens: "BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "
  • option: "NL"
1  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
2  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
2  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
5  Warning

Details

org/opendaylight/controller/config/yang/bmp/impl/AbstractBmpModuleTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'org.junit.Before' should be separated from previous import group. 16
 Warning sizes LineLength Line is longer than 120 characters (found 121). 51
 Warning whitespace SeparatorWrap '.' should be on a new line. 67
 Warning whitespace SeparatorWrap '.' should be on a new line. 69

org/opendaylight/controller/config/yang/bmp/impl/BmpDispatcherImplModule.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 18
 Warning sizes LineLength Line is longer than 120 characters (found 194). 26
 Warning sizes LineLength Line is longer than 120 characters (found 327). 30

org/opendaylight/controller/config/yang/bmp/impl/BmpDispatcherImplModuleFactory.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle Javadoc has empty description section. 14

org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModule.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 121). 32
 Warning sizes LineLength Line is longer than 120 characters (found 191). 40
 Warning sizes LineLength Line is longer than 120 characters (found 321). 44
 Warning sizes LineLength Line is longer than 120 characters (found 140). 49
 Warning sizes LineLength Line is longer than 120 characters (found 123). 67
 Warning sizes LineLength Line is longer than 120 characters (found 126). 79
 Warning sizes LineLength Line is longer than 120 characters (found 136). 80
 Warning sizes LineLength Line is longer than 120 characters (found 125). 87
 Warning whitespace WhitespaceAround WhitespaceAround: 'catch' is not followed by whitespace. 91

org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModuleFactory.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 135). 16
 Warning sizes LineLength Line is longer than 120 characters (found 135). 21
 Warning sizes LineLength Line is longer than 120 characters (found 140). 29

org/opendaylight/controller/config/yang/bmp/impl/BmpMonitorImplModuleTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'com.google.common.collect.Lists' should be separated from previous import group. 15
 Warning sizes LineLength Line is longer than 120 characters (found 131). 123
 Warning sizes LineLength Line is longer than 120 characters (found 122). 125
 Warning sizes LineLength Line is longer than 120 characters (found 146). 128
 Warning sizes LineLength Line is longer than 120 characters (found 142). 133
 Warning sizes LineLength Line is longer than 120 characters (found 161). 134
 Warning sizes LineLength Line is longer than 120 characters (found 141). 135
 Warning sizes LineLength Line is longer than 120 characters (found 134). 179
 Warning sizes LineLength Line is longer than 120 characters (found 124). 180
 Warning sizes LineLength Line is longer than 120 characters (found 136). 182
 Warning whitespace GenericWhitespace GenericWhitespace '>' is followed by whitespace. 197
 Warning sizes LineLength Line is longer than 120 characters (found 124). 226
 Warning sizes LineLength Line is longer than 120 characters (found 132). 235
 Warning sizes LineLength Line is longer than 120 characters (found 124). 236
 Warning sizes LineLength Line is longer than 120 characters (found 136). 241
 Warning sizes LineLength Line is longer than 120 characters (found 129). 247
 Warning sizes LineLength Line is longer than 120 characters (found 124). 248
 Warning sizes LineLength Line is longer than 120 characters (found 136). 249
 Warning sizes LineLength Line is longer than 120 characters (found 135). 254
 Warning sizes LineLength Line is longer than 120 characters (found 166). 255
 Warning sizes LineLength Line is longer than 120 characters (found 132). 260

org/opendaylight/protocol/bmp/impl/BmpByteToMessageDecoder.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 137). 32

org/opendaylight/protocol/bmp/impl/BmpDispatcherImpl.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 142). 70
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 85
 Warning sizes LineLength Line is longer than 120 characters (found 142). 107
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 133
 Warning modifier RedundantModifier Redundant 'public' modifier. 159
 Warning sizes LineLength Line is longer than 120 characters (found 144). 173
 Warning sizes LineLength Line is longer than 120 characters (found 151). 178
 Warning sizes LineLength Line is longer than 120 characters (found 144). 179

org/opendaylight/protocol/bmp/impl/BmpMessageToByteEncoder.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 124). 33

org/opendaylight/protocol/bmp/impl/app/BmpMonitorImplTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 177). 114
 Warning sizes LineLength Line is longer than 120 characters (found 123). 131
 Warning sizes LineLength Line is longer than 120 characters (found 139). 132
 Warning sizes LineLength Line is longer than 120 characters (found 121). 137
 Warning sizes LineLength Line is longer than 120 characters (found 137). 161
 Warning sizes LineLength Line is longer than 120 characters (found 130). 289
 Warning sizes LineLength Line is longer than 120 characters (found 130). 339
 Warning sizes LineLength Line is longer than 120 characters (found 124). 343
 Warning sizes LineLength Line is longer than 120 characters (found 167). 347
 Warning sizes LineLength Line is longer than 120 characters (found 163). 348
 Warning sizes LineLength Line is longer than 120 characters (found 128). 361
 Warning sizes LineLength Line is longer than 120 characters (found 137). 362
 Warning sizes LineLength Line is longer than 120 characters (found 129). 372
 Warning sizes LineLength Line is longer than 120 characters (found 138). 373
 Warning sizes LineLength Line is longer than 120 characters (found 195). 379
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 391
 Warning sizes LineLength Line is longer than 120 characters (found 179). 404
 Warning sizes LineLength Line is longer than 120 characters (found 176). 405
 Warning sizes LineLength Line is longer than 120 characters (found 128). 416
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 420
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 420
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 422

org/opendaylight/protocol/bmp/impl/app/BmpMonitoringStationImpl.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 144). 97
 Warning sizes LineLength Line is longer than 120 characters (found 123). 99
 Warning sizes LineLength Line is longer than 120 characters (found 122). 113
 Warning sizes LineLength Line is longer than 120 characters (found 128). 116
 Warning sizes LineLength Line is longer than 120 characters (found 150). 119
 Warning naming ParameterName Parameter name 'wTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 122
 Warning sizes LineLength Line is longer than 120 characters (found 125). 124

org/opendaylight/protocol/bmp/impl/app/BmpRibInWriter.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 158). 58
 Warning sizes LineLength Line is longer than 120 characters (found 149). 59
 Warning sizes LineLength Line is longer than 120 characters (found 149). 65
 Warning sizes LineLength Line is longer than 120 characters (found 135). 75
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 81
 Warning javadoc JavadocStyle First sentence should end with a period. 81
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 84
 Warning sizes LineLength Line is longer than 120 characters (found 164). 89
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 113
 Warning javadoc JavadocStyle First sentence should end with a period. 113
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 116
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 117
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 118
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 119
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 120
 Warning sizes LineLength Line is longer than 120 characters (found 141). 123
 Warning sizes LineLength Line is longer than 120 characters (found 171). 139
 Warning sizes LineLength Line is longer than 120 characters (found 121). 146
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 176
 Warning javadoc JavadocStyle First sentence should end with a period. 176
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 198
 Warning javadoc JavadocStyle First sentence should end with a period. 198
 Warning sizes LineLength Line is longer than 120 characters (found 139). 209
 Warning sizes LineLength Line is longer than 120 characters (found 220). 211
 Warning sizes LineLength Line is longer than 120 characters (found 143). 260

org/opendaylight/protocol/bmp/impl/app/BmpRouterImpl.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 148). 92
 Warning sizes LineLength Line is longer than 120 characters (found 130). 95
 Warning naming ParameterName Parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 104
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 131
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 155
 Warning whitespace WhitespaceAround WhitespaceAround: 'catch' is not followed by whitespace. 155
 Warning sizes LineLength Line is longer than 120 characters (found 143). 176
 Warning sizes LineLength Line is longer than 120 characters (found 136). 208
 Warning sizes LineLength Line is longer than 120 characters (found 130). 209
 Warning sizes LineLength Line is longer than 120 characters (found 154). 217

org/opendaylight/protocol/bmp/impl/app/BmpRouterPeerImpl.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 128). 105
 Warning sizes LineLength Line is longer than 120 characters (found 131). 126
 Warning sizes LineLength Line is longer than 120 characters (found 143). 131
 Warning whitespace OperatorWrap '||' should be on a new line. 216
 Warning sizes LineLength Line is longer than 120 characters (found 126). 220
 Warning sizes LineLength Line is longer than 120 characters (found 124). 242
 Warning sizes LineLength Line is longer than 120 characters (found 131). 257
 Warning sizes LineLength Line is longer than 120 characters (found 139). 272
 Warning sizes LineLength Line is longer than 120 characters (found 130). 288
 Warning sizes LineLength Line is longer than 120 characters (found 121). 290
 Warning sizes LineLength Line is longer than 120 characters (found 134). 293
 Warning sizes LineLength Line is longer than 120 characters (found 123). 296
 Warning sizes LineLength Line is longer than 120 characters (found 131). 299
 Warning sizes LineLength Line is longer than 120 characters (found 126). 302
 Warning sizes LineLength Line is longer than 120 characters (found 128). 305
 Warning sizes LineLength Line is longer than 120 characters (found 128). 308
 Warning sizes LineLength Line is longer than 120 characters (found 139). 320
 Warning sizes LineLength Line is longer than 120 characters (found 156). 321
 Warning sizes LineLength Line is longer than 120 characters (found 137). 328
 Warning sizes LineLength Line is longer than 120 characters (found 156). 329
 Warning sizes LineLength Line is longer than 120 characters (found 130). 333
 Warning sizes LineLength Line is longer than 120 characters (found 131). 336
 Warning sizes LineLength Line is longer than 120 characters (found 122). 339

org/opendaylight/protocol/bmp/impl/app/RouterSessionManager.java

Severity Category Rule Message Line
 Warning modifier RedundantModifier Redundant 'public' modifier. 37

org/opendaylight/protocol/bmp/impl/app/TableContext.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 143). 53
 Warning sizes LineLength Line is longer than 120 characters (found 139). 57
 Warning sizes LineLength Line is longer than 120 characters (found 142). 79
 Warning sizes LineLength Line is longer than 120 characters (found 130). 80
 Warning sizes LineLength Line is longer than 120 characters (found 134). 81
 Warning sizes LineLength Line is longer than 120 characters (found 144). 89
 Warning sizes LineLength Line is longer than 120 characters (found 161). 94

org/opendaylight/protocol/bmp/impl/app/TablesUtil.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 146). 21
 Warning sizes LineLength Line is longer than 120 characters (found 154). 22
 Warning sizes LineLength Line is longer than 120 characters (found 146). 23
 Warning javadoc JavadocStyle First sentence should end with a period. 31
 Warning javadoc JavadocStyle First sentence should end with a period. 46
 Warning sizes LineLength Line is longer than 120 characters (found 126). 54
 Warning javadoc JavadocStyle First sentence should end with a period. 64
 Warning naming ParameterName Parameter name 'k' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 70

org/opendaylight/protocol/bmp/impl/session/BmpDispatcherImplTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 140). 73
 Warning sizes LineLength Line is longer than 120 characters (found 152). 91
 Warning sizes LineLength Line is longer than 120 characters (found 159). 93
 Warning sizes LineLength Line is longer than 120 characters (found 121). 97

org/opendaylight/protocol/bmp/impl/session/BmpSessionImpl.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 125). 47
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 58
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 105
 Warning indentation Indentation 'if' have incorrect indentation level 12, expected level should be 16. 106
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 107
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 108
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 12, expected level should be 16. 109
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 110
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 111
 Warning indentation Indentation 'else rcurly' have incorrect indentation level 12, expected level should be 16. 112
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 113
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 114
 Warning indentation Indentation 'if' have incorrect indentation level 12, expected level should be 16. 115
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 116
 Warning sizes LineLength Line is longer than 120 characters (found 130). 116
 Warning indentation Indentation 'if' child have incorrect indentation level 16, expected level should be 20. 117
 Warning indentation Indentation 'if rcurly' have incorrect indentation level 12, expected level should be 16. 118
 Warning indentation Indentation 'else' child have incorrect indentation level 16, expected level should be 20. 119
 Warning indentation Indentation 'else rcurly' have incorrect indentation level 12, expected level should be 16. 120
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 121
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 122
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 123
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 124
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 125
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 126

org/opendaylight/protocol/bmp/impl/session/BmpSessionImplTest.java

Severity Category Rule Message Line
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 80
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 91

org/opendaylight/protocol/bmp/impl/session/BmpTestSessionListener.java

Severity Category Rule Message Line
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 28
 Warning naming ParameterName Parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 49