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 182 0

Rules

Category Rule Violations Severity
coding IllegalCatch 6  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
21  Warning
javadoc JavadocStyle
  • tokens: "ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, VARIABLE_DEF"
  • checkEmptyJavadoc: "true"
9  Warning
NonEmptyAtclauseDescription 5  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://"
116  Warning
whitespace 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
ParenPad 3  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). 46
 Warning whitespace SeparatorWrap '.' should be on a new line. 62
 Warning whitespace SeparatorWrap '.' should be on a new line. 64

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 sizes LineLength Line is longer than 120 characters (found 131). 117
 Warning sizes LineLength Line is longer than 120 characters (found 122). 119
 Warning sizes LineLength Line is longer than 120 characters (found 146). 122
 Warning sizes LineLength Line is longer than 120 characters (found 142). 127
 Warning sizes LineLength Line is longer than 120 characters (found 161). 128
 Warning sizes LineLength Line is longer than 120 characters (found 141). 129
 Warning sizes LineLength Line is longer than 120 characters (found 134). 169
 Warning sizes LineLength Line is longer than 120 characters (found 124). 170
 Warning sizes LineLength Line is longer than 120 characters (found 136). 172
 Warning sizes LineLength Line is longer than 120 characters (found 124). 216
 Warning sizes LineLength Line is longer than 120 characters (found 132). 225
 Warning sizes LineLength Line is longer than 120 characters (found 124). 226
 Warning sizes LineLength Line is longer than 120 characters (found 136). 231
 Warning sizes LineLength Line is longer than 120 characters (found 129). 237
 Warning sizes LineLength Line is longer than 120 characters (found 124). 238
 Warning sizes LineLength Line is longer than 120 characters (found 136). 239
 Warning sizes LineLength Line is longer than 120 characters (found 135). 244
 Warning sizes LineLength Line is longer than 120 characters (found 166). 245
 Warning sizes LineLength Line is longer than 120 characters (found 132). 250

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). 71
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 86
 Warning sizes LineLength Line is longer than 120 characters (found 142). 108
 Warning whitespace MethodParamPad '(' is preceded with whitespace. 134
 Warning modifier RedundantModifier Redundant 'public' modifier. 160
 Warning sizes LineLength Line is longer than 120 characters (found 144). 174
 Warning sizes LineLength Line is longer than 120 characters (found 144). 180

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). 115
 Warning sizes LineLength Line is longer than 120 characters (found 123). 132
 Warning sizes LineLength Line is longer than 120 characters (found 139). 133
 Warning sizes LineLength Line is longer than 120 characters (found 121). 138
 Warning sizes LineLength Line is longer than 120 characters (found 137). 162
 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 whitespace ParenPad ')' is preceded with whitespace. 100
 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
 Warning sizes LineLength Line is longer than 120 characters (found 144). 147

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 sizes LineLength Line is longer than 120 characters (found 171). 138
 Warning sizes LineLength Line is longer than 120 characters (found 134). 145
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 175
 Warning javadoc JavadocStyle First sentence should end with a period. 175
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 197
 Warning javadoc JavadocStyle First sentence should end with a period. 197
 Warning sizes LineLength Line is longer than 120 characters (found 139). 208
 Warning sizes LineLength Line is longer than 120 characters (found 220). 210
 Warning sizes LineLength Line is longer than 120 characters (found 143). 259

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 ParenPad '(' is followed by whitespace. 216
 Warning whitespace OperatorWrap '||' should be on a new line. 216
 Warning whitespace ParenPad ')' is preceded with whitespace. 217
 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 166). 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/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 sizes LineLength Line is longer than 120 characters (found 123). 123
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 124
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 125

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