Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
2 0 23 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
VariableDeclarationUsageDistance 5  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"
2  Warning
NonEmptyAtclauseDescription 2  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
2  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"
1  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
WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
7  Warning

Details

org/opendaylight/netvirt/openstack/netvirt/it/NetvirtIT.java

Severity Category Rule Message Line
 Warning javadoc JavadocStyle First sentence should end with a period. 94
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 117
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 117
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 119
 Warning whitespace OperatorWrap '+' should be on a new line. 204
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 219
 Warning naming LocalVariableName Local variable name 'ovsdb_wait' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 266
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 281
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 406
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 412
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 458
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 460
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nn' declaration and its first usage is 12, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 485
 Warning coding VariableDeclarationUsageDistance Distance between variable 'ns' declaration and its first usage is 16, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 487
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nport' declaration and its first usage is 12, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 488
 Warning coding VariableDeclarationUsageDistance Distance between variable 'dhcp' declaration and its first usage is 14, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 490
 Warning coding VariableDeclarationUsageDistance Distance between variable 'nsrs' declaration and its first usage is 17, but allowed 3. Consider to make that variable as final if you still need to store its value in advance (before method calls that might do side effect on original value). 538
 Warning naming LocalVariableName Local variable name 'iNeutronPortCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 570
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 604
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 701
 Warning sizes LineLength Line is longer than 120 characters (found 123). 702

org/opendaylight/netvirt/openstack/netvirt/it/NetvirtITConstants.java

Severity Category Rule Message Line
 Warning javadoc SummaryJavadoc First sentence of Javadoc is incomplete (period is missing) or not present. 10
 Warning javadoc JavadocStyle First sentence should end with a period. 10