Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
13 0 156 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 1  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
UnusedImports 1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
5  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
1  Warning
naming ConstantName 12  Warning
LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
1  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
119  Warning
whitespace MethodParamPad 2  Warning
SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
6  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
6  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
5  Warning

Details

org/opendaylight/protocol/bgp/labeled/unicast/AbstractLabeledUnicastRIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 147). 51
 Warning sizes LineLength Line is longer than 120 characters (found 152). 52
 Warning sizes LineLength Line is longer than 120 characters (found 143). 53
 Warning sizes LineLength Line is longer than 120 characters (found 127). 69
 Warning sizes LineLength Line is longer than 120 characters (found 127). 94
 Warning sizes LineLength Line is longer than 120 characters (found 130). 121
 Warning sizes LineLength Line is longer than 120 characters (found 156). 122
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 126
 Warning javadoc JavadocStyle First sentence should end with a period. 126
 Warning sizes LineLength Line is longer than 120 characters (found 129). 132
 Warning sizes LineLength Line is longer than 120 characters (found 137). 140
 Warning sizes LineLength Line is longer than 120 characters (found 138). 142
 Warning sizes LineLength Line is longer than 120 characters (found 121). 148

org/opendaylight/protocol/bgp/labeled/unicast/ActivatorTest.java

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

org/opendaylight/protocol/bgp/labeled/unicast/BGPActivator.java

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

org/opendaylight/protocol/bgp/labeled/unicast/BgpPrefixSidTlvsTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'io.netty.buffer.ByteBuf' should be separated from previous import group. 13

org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParser.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - java.math.BigInteger. 14
 Warning sizes LineLength Line is longer than 120 characters (found 145). 75
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 75
 Warning sizes LineLength Line is longer than 120 characters (found 461). 76
 Warning sizes LineLength Line is longer than 120 characters (found 140). 77
 Warning sizes LineLength Line is longer than 120 characters (found 122). 78
 Warning sizes LineLength Line is longer than 120 characters (found 150). 79
 Warning sizes LineLength Line is longer than 120 characters (found 471). 80
 Warning sizes LineLength Line is longer than 120 characters (found 144). 81
 Warning sizes LineLength Line is longer than 120 characters (found 165). 89
 Warning sizes LineLength Line is longer than 120 characters (found 139). 90
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 91
 Warning sizes LineLength Line is longer than 120 characters (found 173). 92
 Warning sizes LineLength Line is longer than 120 characters (found 143). 93
 Warning sizes LineLength Line is longer than 120 characters (found 133). 109
 Warning naming LocalVariableName Local variable name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 120
 Warning sizes LineLength Line is longer than 120 characters (found 155). 158
 Warning naming ParameterName Parameter name 'mPathSupported' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 158
 Warning sizes LineLength Line is longer than 120 characters (found 125). 180
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '158'. 208
 Warning sizes LineLength Line is longer than 120 characters (found 183). 214
 Warning sizes LineLength Line is longer than 120 characters (found 152). 219
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 223
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 223
 Warning whitespace WhitespaceAround WhitespaceAround: 'if' is not followed by whitespace. 226
 Warning sizes LineLength Line is longer than 120 characters (found 185). 235
 Warning sizes LineLength Line is longer than 120 characters (found 152). 241
 Warning sizes LineLength Line is longer than 120 characters (found 145). 246
 Warning sizes LineLength Line is longer than 120 characters (found 132). 247
 Warning sizes LineLength Line is longer than 120 characters (found 251). 248
 Warning sizes LineLength Line is longer than 120 characters (found 145). 251
 Warning sizes LineLength Line is longer than 120 characters (found 140). 252
 Warning sizes LineLength Line is longer than 120 characters (found 260). 253

org/opendaylight/protocol/bgp/labeled/unicast/LUNlriParserTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 67
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 82
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv4' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 82
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv4_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 101
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv4_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 118
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 137
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 155
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv6' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 155
 Warning naming ConstantName Name 'LU_REACH_NLRI_IPv6_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 176
 Warning indentation Indentation 'member def modifier' have incorrect indentation level 3, expected level should be 4. 195
 Warning naming ConstantName Name 'LU_UNREACH_NLRI_IPv6_ADD_PATH' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 195
 Warning naming ConstantName Name 'IPv4_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 210
 Warning naming ConstantName Name 'IPv6_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 211
 Warning sizes LineLength Line is longer than 120 characters (found 144). 233
 Warning sizes LineLength Line is longer than 120 characters (found 136). 236
 Warning sizes LineLength Line is longer than 120 characters (found 141). 259
 Warning whitespace MethodParamPad '(' should be on the previous line. 260
 Warning sizes LineLength Line is longer than 120 characters (found 136). 263
 Warning sizes LineLength Line is longer than 120 characters (found 247). 289
 Warning sizes LineLength Line is longer than 120 characters (found 315). 290
 Warning sizes LineLength Line is longer than 120 characters (found 145). 294
 Warning sizes LineLength Line is longer than 120 characters (found 247). 296
 Warning sizes LineLength Line is longer than 120 characters (found 315). 297
 Warning sizes LineLength Line is longer than 120 characters (found 137). 327
 Warning sizes LineLength Line is longer than 120 characters (found 247). 329
 Warning sizes LineLength Line is longer than 120 characters (found 315). 330
 Warning sizes LineLength Line is longer than 120 characters (found 164). 334
 Warning sizes LineLength Line is longer than 120 characters (found 247). 336
 Warning sizes LineLength Line is longer than 120 characters (found 315). 337
 Warning sizes LineLength Line is longer than 120 characters (found 144). 366
 Warning sizes LineLength Line is longer than 120 characters (found 133). 367
 Warning sizes LineLength Line is longer than 120 characters (found 151). 368
 Warning sizes LineLength Line is longer than 120 characters (found 163). 392
 Warning sizes LineLength Line is longer than 120 characters (found 121). 395
 Warning sizes LineLength Line is longer than 120 characters (found 139). 423
 Warning sizes LineLength Line is longer than 120 characters (found 132). 424
 Warning sizes LineLength Line is longer than 120 characters (found 135). 425
 Warning sizes LineLength Line is longer than 120 characters (found 145). 426
 Warning sizes LineLength Line is longer than 120 characters (found 145). 430
 Warning sizes LineLength Line is longer than 120 characters (found 139). 432
 Warning sizes LineLength Line is longer than 120 characters (found 132). 433
 Warning sizes LineLength Line is longer than 120 characters (found 135). 434
 Warning sizes LineLength Line is longer than 120 characters (found 145). 435
 Warning sizes LineLength Line is longer than 120 characters (found 137). 465
 Warning sizes LineLength Line is longer than 120 characters (found 139). 467
 Warning sizes LineLength Line is longer than 120 characters (found 132). 468
 Warning sizes LineLength Line is longer than 120 characters (found 135). 469
 Warning sizes LineLength Line is longer than 120 characters (found 145). 470
 Warning sizes LineLength Line is longer than 120 characters (found 142). 474
 Warning whitespace MethodParamPad '(' should be on the previous line. 475
 Warning indentation Indentation 'method def' child have incorrect indentation level 12, expected level should be 8. 476
 Warning sizes LineLength Line is longer than 120 characters (found 143). 477
 Warning sizes LineLength Line is longer than 120 characters (found 136). 478
 Warning sizes LineLength Line is longer than 120 characters (found 139). 479
 Warning sizes LineLength Line is longer than 120 characters (found 149). 480
 Warning indentation Indentation 'method def' child have incorrect indentation level 12, expected level should be 8. 482

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv4RIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 121). 44
 Warning sizes LineLength Line is longer than 120 characters (found 250). 50
 Warning sizes LineLength Line is longer than 120 characters (found 278). 51
 Warning sizes LineLength Line is longer than 120 characters (found 126). 56

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv4RIBSupportTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'IPv4_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 62
 Warning sizes LineLength Line is longer than 120 characters (found 143). 69
 Warning sizes LineLength Line is longer than 120 characters (found 150). 70
 Warning sizes LineLength Line is longer than 120 characters (found 140). 72
 Warning sizes LineLength Line is longer than 120 characters (found 188). 74
 Warning whitespace SeparatorWrap '.' should be on a new line. 74
 Warning sizes LineLength Line is longer than 120 characters (found 220). 75
 Warning whitespace SeparatorWrap '.' should be on a new line. 75
 Warning sizes LineLength Line is longer than 120 characters (found 238). 76
 Warning whitespace SeparatorWrap '.' should be on a new line. 76
 Warning sizes LineLength Line is longer than 120 characters (found 155). 77
 Warning sizes LineLength Line is longer than 120 characters (found 135). 87
 Warning sizes LineLength Line is longer than 120 characters (found 143). 101
 Warning sizes LineLength Line is longer than 120 characters (found 152). 131
 Warning sizes LineLength Line is longer than 120 characters (found 129). 161
 Warning sizes LineLength Line is longer than 120 characters (found 149). 172
 Warning sizes LineLength Line is longer than 120 characters (found 130). 194
 Warning sizes LineLength Line is longer than 120 characters (found 148). 197

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv6RIBSupport.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 125). 44
 Warning sizes LineLength Line is longer than 120 characters (found 142). 50
 Warning sizes LineLength Line is longer than 120 characters (found 128). 51
 Warning sizes LineLength Line is longer than 120 characters (found 131). 52
 Warning sizes LineLength Line is longer than 120 characters (found 141). 53
 Warning sizes LineLength Line is longer than 120 characters (found 175). 58

org/opendaylight/protocol/bgp/labeled/unicast/LabeledUnicastIpv6RIBSupportTest.java

Severity Category Rule Message Line
 Warning naming ConstantName Name 'IPv6_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 62
 Warning sizes LineLength Line is longer than 120 characters (found 143). 69
 Warning sizes LineLength Line is longer than 120 characters (found 150). 70
 Warning sizes LineLength Line is longer than 120 characters (found 152). 72
 Warning sizes LineLength Line is longer than 120 characters (found 124). 73
 Warning sizes LineLength Line is longer than 120 characters (found 188). 74
 Warning whitespace SeparatorWrap '.' should be on a new line. 74
 Warning sizes LineLength Line is longer than 120 characters (found 224). 75
 Warning whitespace SeparatorWrap '.' should be on a new line. 75
 Warning sizes LineLength Line is longer than 120 characters (found 144). 76
 Warning sizes LineLength Line is longer than 120 characters (found 154). 77
 Warning whitespace SeparatorWrap '.' should be on a new line. 77
 Warning sizes LineLength Line is longer than 120 characters (found 135). 88
 Warning sizes LineLength Line is longer than 120 characters (found 143). 102
 Warning sizes LineLength Line is longer than 120 characters (found 152). 132
 Warning sizes LineLength Line is longer than 120 characters (found 129). 162
 Warning sizes LineLength Line is longer than 120 characters (found 149). 173
 Warning sizes LineLength Line is longer than 120 characters (found 130). 195
 Warning sizes LineLength Line is longer than 120 characters (found 160). 198

org/opendaylight/protocol/bgp/labeled/unicast/OriginatorSrgbTlvParser.java

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

org/opendaylight/protocol/bgp/labeled/unicast/RIBActivator.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 159). 24
 Warning sizes LineLength Line is longer than 120 characters (found 159). 25