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 24 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
VariableDeclarationUsageDistance 5  Warning
imports UnusedImports 1  Warning
javadoc JavadocStyle
  • 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 imports UnusedImports Unused import - org.ops4j.pax.exam.karaf.options.LogLevelOption.LogLevel.DEBUG. 24
 Warning javadoc JavadocStyle First sentence should end with a period. 96
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 119
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 119
 Warning whitespace EmptyLineSeparator 'METHOD_DEF' should be separated from previous statement. 121
 Warning whitespace OperatorWrap '+' should be on a new line. 206
 Warning coding IllegalCatch Catching 'Exception' is not allowed. 221
 Warning naming LocalVariableName Local variable name 'ovsdb_wait' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 268
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 283
 Warning javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 408
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 414
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 460
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 462
 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). 487
 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). 489
 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). 490
 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). 492
 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). 540
 Warning naming LocalVariableName Local variable name 'iNeutronPortCRUD' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 572
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 606
 Warning whitespace WhitespaceAround WhitespaceAround: 'try' is not followed by whitespace. 703
 Warning sizes LineLength Line is longer than 120 characters (found 123). 704

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