Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
4 0 16 0

Rules

Category Rule Violations Severity
coding IllegalThrows 2  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
javadoc JavadocStyle
  • checkEmptyJavadoc: "true"
1  Warning
NonEmptyAtclauseDescription 1  Warning
naming ConstantName 3  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://"
1  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
4  Warning

Details

org/opendaylight/protocol/bgp/util/BGPBinaryFileParserTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'nRead' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 59
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 73
 Warning javadoc JavadocStyle First sentence should end with a period. 73
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 76
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 84
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 84
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 85

org/opendaylight/protocol/bgp/util/BGPHexFileParserTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'java.io.File' should be separated from previous import group. 14
 Warning naming ConstantName Name 'hexDumpFileName' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 23
 Warning naming ConstantName Name 'fileNameInvalid' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 24
 Warning naming ConstantName Name 'expectedSize' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 25
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 60
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 60
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 61

org/opendaylight/protocol/bgp/util/HexDumpBGPFileParser.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'c' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 55
 Warning sizes LineLength Line is longer than 120 characters (found 136). 74