Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
9 0 5 0

Rules

Category Rule Violations Severity
coding IllegalThrows 1  Warning
VariableDeclarationUsageDistance 1  Warning
naming ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
2  Warning

Details

org/opendaylight/tcpmd5/KeyMappingTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Distance between variable 'k4' declaration and its first usage is 4, 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). 25

org/opendaylight/tcpmd5/MD5SocketOptionsTest.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not preceded with whitespace. 31
 Warning whitespace WhitespaceAround WhitespaceAround: '=' is not followed by whitespace. 31
 Warning coding IllegalThrows Throwing 'Throwable' is not allowed. 32

org/opendaylight/tcpmd5/api/KeyMapping.java

Severity Category Rule Message Line
 Warning naming ParameterName Parameter name 'm' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 29