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

Rules

Category Rule Violations Severity
blocks RightCurly
  • tokens: "CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"
  • option: "alone"
2  Warning
RightCurly 2  Warning
coding VariableDeclarationUsageDistance 1  Warning
indentation Indentation
  • throwsIndent: "4"
  • arrayInitIndent: "4"
  • caseIndent: "4"
  • basicOffset: "4"
  • braceAdjustment: "0"
  • lineWrappingIndentation: "4"
1  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
5  Warning

Details

org/opendaylight/topology/mlmt/factory/MlmtProviderFactoryImpl.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'map' 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). 61
 Warning naming LocalVariableName Local variable name 'lProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 62

org/opendaylight/topology/mlmt/factory/MlmtProviderFactoryTest.java

Severity Category Rule Message Line
 Warning naming LocalVariableName Local variable name 'lProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 112
 Warning naming LocalVariableName Local variable name 'bInventoryTopologyProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 115
 Warning naming LocalVariableName Local variable name 'bMultitechnologyTopologyProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 116
 Warning naming LocalVariableName Local variable name 'bMultilayerTopologyProvider' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 117
 Warning blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 123
 Warning blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 126
 Warning indentation Indentation 'if' child have incorrect indentation level 15, expected level should be 16. 128