Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
12 0 11 0

Rules

Category Rule Violations Severity
coding MultipleVariableDeclarations 2  Warning
imports CustomImportOrder
  • thirdPartyPackageRegExp: ".*"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
1  Warning
javadoc JavadocParagraph
  • allowNewlineParagraph: "false"
1  Warning
JavadocStyle
  • tokens: "ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, VARIABLE_DEF"
  • checkEmptyJavadoc: "true"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
1  Warning
whitespace EmptyLineSeparator
  • allowNoEmptyLineBetweenFields: "true"
  • tokens: "IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
2  Warning
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
2  Warning

Details

org/opendaylight/protocol/concepts/ASNumberTest.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator ',' should be separated from previous statement. 25
 Warning coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 25

org/opendaylight/protocol/concepts/BandwidthTest.java

Severity Category Rule Message Line
 Warning whitespace EmptyLineSeparator ',' should be separated from previous statement. 25
 Warning coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 25

org/opendaylight/protocol/concepts/DefaultInstanceReference.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 15
 Warning javadoc JavadocStyle Javadoc has empty description section. 15

org/opendaylight/protocol/concepts/DefaultInstanceReferenceTest.java

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

org/opendaylight/protocol/concepts/KeyMapping.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 25
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 34

org/opendaylight/protocol/concepts/MultiRegistry.java

Severity Category Rule Message Line
 Warning javadoc JavadocParagraph Empty line should be followed by <p> tag on the next line. 27

org/opendaylight/protocol/concepts/MultiRegistryTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder 'org.junit.Test' should be separated from previous import group. 12