Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
8 0 83 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
IllegalThrows 3  Warning
imports UnusedImports 2  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
10  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"
19  Warning
NonEmptyAtclauseDescription 2  Warning
modifier ModifierOrder 1  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://"
14  Warning
whitespace SeparatorWrap
  • tokens: "COMMA"
  • option: "EOL"
8  Warning
SeparatorWrap
  • tokens: "DOT"
  • option: "nl"
8  Warning

Details

org/opendaylight/protocol/bgp/state/GlobalUtil.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 34
 Warning javadoc JavadocStyle First sentence should end with a period. 34
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 39
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 49
 Warning javadoc JavadocStyle First sentence should end with a period. 49
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 62
 Warning javadoc JavadocStyle First sentence should end with a period. 62
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 77
 Warning javadoc JavadocStyle Javadoc has empty description section. 77

org/opendaylight/protocol/bgp/state/GlobalUtilTest.java

Severity Category Rule Message Line
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 39

org/opendaylight/protocol/bgp/state/NeighborUtil.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 91
 Warning javadoc JavadocStyle First sentence should end with a period. 91
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 111
 Warning javadoc JavadocStyle First sentence should end with a period. 111
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 131
 Warning javadoc JavadocStyle First sentence should end with a period. 131
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 135
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 154
 Warning javadoc JavadocStyle First sentence should end with a period. 154
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 174
 Warning javadoc JavadocStyle First sentence should end with a period. 174
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 194
 Warning javadoc JavadocStyle First sentence should end with a period. 194
 Warning whitespace SeparatorWrap '.' should be on a new line. 204
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 210
 Warning javadoc JavadocStyle First sentence should end with a period. 210
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 230
 Warning javadoc JavadocStyle First sentence should end with a period. 230
 Warning sizes LineLength Line is longer than 120 characters (found 130). 238
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 241
 Warning javadoc JavadocStyle First sentence should end with a period. 241
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 251
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 252
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 253
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 254
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 255
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 256
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 257
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 258
 Warning indentation Indentation 'block' child have incorrect indentation level 12, expected level should be 16. 259
 Warning indentation Indentation 'case' child have incorrect indentation level 8, expected level should be 12. 260
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 266
 Warning javadoc JavadocStyle First sentence should end with a period. 266
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 297
 Warning javadoc JavadocStyle First sentence should end with a period. 297
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 309
 Warning javadoc JavadocStyle First sentence should end with a period. 309
 Warning whitespace SeparatorWrap '.' should be on a new line. 336
 Warning sizes LineLength Line is longer than 120 characters (found 128). 348
 Warning sizes LineLength Line is longer than 120 characters (found 126). 352
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 364
 Warning javadoc JavadocStyle First sentence should end with a period. 364
 Warning sizes LineLength Line is longer than 120 characters (found 124). 370

org/opendaylight/protocol/bgp/state/NeighborUtilTest.java

Severity Category Rule Message Line
 Warning sizes LineLength Line is longer than 120 characters (found 126). 66
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 75
 Warning whitespace SeparatorWrap '.' should be on a new line. 123

org/opendaylight/protocol/bgp/state/PeerGroupUtil.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 32
 Warning javadoc JavadocStyle First sentence should end with a period. 32
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 53
 Warning javadoc JavadocStyle First sentence should end with a period. 53
 Warning whitespace SeparatorWrap '.' should be on a new line. 69

org/opendaylight/protocol/bgp/state/PeerGroupUtilTest.java

Severity Category Rule Message Line
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 34

org/opendaylight/protocol/bgp/state/StateProviderImpl.java

Severity Category Rule Message Line
 Warning imports UnusedImports Unused import - com.google.common.util.concurrent.CheckedFuture. 13
 Warning imports UnusedImports Unused import - org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException. 35
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 105
 Warning naming ParameterName Parameter name 'wTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 118
 Warning naming ParameterName Parameter name 'wTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 131
 Warning naming ParameterName Parameter name 'wTx' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 137

org/opendaylight/protocol/bgp/state/StateProviderImplTest.java

Severity Category Rule Message Line
 Warning modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 133
 Warning sizes LineLength Line is longer than 120 characters (found 122). 177
 Warning sizes LineLength Line is longer than 120 characters (found 125). 197
 Warning sizes LineLength Line is longer than 120 characters (found 127). 198
 Warning sizes LineLength Line is longer than 120 characters (found 134). 199
 Warning sizes LineLength Line is longer than 120 characters (found 121). 208
 Warning sizes LineLength Line is longer than 120 characters (found 124). 315
 Warning sizes LineLength Line is longer than 120 characters (found 123). 317
 Warning sizes LineLength Line is longer than 120 characters (found 122). 363
 Warning whitespace SeparatorWrap '.' should be on a new line. 363
 Warning sizes LineLength Line is longer than 120 characters (found 132). 366
 Warning whitespace SeparatorWrap '.' should be on a new line. 372
 Warning naming ParameterName Parameter name 'PrefixesAndPaths' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 413
 Warning whitespace SeparatorWrap '.' should be on a new line. 415
 Warning whitespace SeparatorWrap '.' should be on a new line. 418