Checkstyle Results

The following document contains the results of Checkstyle 6.18 with google_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
5 0 21 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 2  Warning
imports CustomImportOrder
  • sortImportsInGroupAlphabetically: "true"
  • specialImportsRegExp: "com.google"
  • customImportOrderRules: "STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"
15  Warning
naming CatchParameterName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
1  Warning
MemberName
  • 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

com/ctrip/framework/apollo/cat/NullClientConfigManager.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.configuration.ClientConfigManager' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 6
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.configuration.client.entity.Domain' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 7
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.configuration.client.entity.Server' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 8
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 10

com/ctrip/framework/apollo/cat/NullMessageManager.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'org.codehaus.plexus.logging.LogEnabled' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 5
 Warning imports CustomImportOrder Import statement for 'org.codehaus.plexus.logging.Logger' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 6
 Warning imports CustomImportOrder Import statement for 'org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 7
 Warning imports CustomImportOrder Import statement for 'org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 8
 Warning imports CustomImportOrder Import statement for 'org.unidal.lookup.ContainerHolder' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 9
 Warning imports CustomImportOrder Import statement for 'org.unidal.lookup.annotation.Inject' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 10
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.Message' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 12
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.Transaction' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 13
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.internal.MessageIdFactory' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 14
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.spi.MessageManager' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 15
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.spi.MessageTree' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 16
 Warning naming MemberName Member name 'm_factory' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 25
 Warning naming CatchParameterName Catch parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 36

com/ctrip/framework/apollo/cat/NullMessageProducer.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Import statement for 'com.dianping.cat.message.internal.DefaultMessageProducer' is in the wrong order. Should be in the 'THIRD_PARTY_PACKAGE' group, expecting not assigned imports on this line. 5
 Warning whitespace WhitespaceAround WhitespaceAround: '{' is not preceded with whitespace. 7
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '19'. 29
 Warning coding OverloadMethodsDeclarationOrder Overload methods should not be split. Previous overloaded method located at line '24'. 40