Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
10 0 11 0

Rules

Category Rule Violations Severity
coding IllegalCatch 1  Warning
imports RedundantImport 3  Warning
naming LocalVariableName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
  • allowOneCharVarInForLoop: "true"
  • tokens: "VARIABLE_DEF"
2  Warning
ParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
sizes LineLength
  • max: "120"
  • ignorePattern: "^package.*|^import.*|a href|href|http://|https://|ftp://"
2  Warning
whitespace WhitespaceAround
  • allowEmptyConstructors: "true"
  • allowEmptyMethods: "true"
  • allowEmptyLoops: "true"
  • allowEmptyTypes: "true"
2  Warning

Details

org/opendaylight/tcpmd5/jni/BasicNativeKeyAccessTest.java

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

org/opendaylight/tcpmd5/jni/ConnectivityNativeKeyAccessTest.java

Severity Category Rule Message Line
 Warning imports RedundantImport Redundant import from the same package - org.opendaylight.tcpmd5.jni.NativeKeyAccessFactory. 27
 Warning naming LocalVariableName Local variable name 's' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 66

org/opendaylight/tcpmd5/jni/NativeKeyAccessFactory.java

Severity Category Rule Message Line
 Warning coding IllegalCatch Catching 'RuntimeException' is not allowed. 57
 Warning sizes LineLength Line is longer than 120 characters (found 165). 58
 Warning sizes LineLength Line is longer than 120 characters (found 163). 63
 Warning naming LocalVariableName Local variable name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 81

org/opendaylight/tcpmd5/jni/NativeTestSupport.java

Severity Category Rule Message Line
 Warning imports RedundantImport Redundant import from the same package - org.opendaylight.tcpmd5.jni.NativeKeyAccessFactory. 12
 Warning imports RedundantImport Redundant import from the same package - org.opendaylight.tcpmd5.jni.NativeSupportUnavailableException. 13
 Warning whitespace WhitespaceAround WhitespaceAround: 'catch' is not preceded with whitespace. 23
 Warning whitespace WhitespaceAround WhitespaceAround: '}' is not followed by whitespace. 23