Checkstyle Results

The following document contains the results of Checkstyle 14.1.0 with /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/src/resources/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
73 0 12 0

Files

File  I  W  E
org/apache/shardingsphere/proxy/backend/mysql/connector/sane/MySQLDialectSaneQueryResultEngineTest.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/MySQLAdminExecutorCreatorTest.java 0 2 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutor.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutorTest.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/SelectInformationSchemataExecutorTest.java 0 2 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutor.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutorTest.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowDatabasesExecutorTest.java 0 1 0
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowTablesExecutorTest.java 0 2 0

Rules

Category Rule Violations Severity
metrics ClassDataAbstractionCoupling
  • max: "10"
5  Warning
ClassFanOutComplexity 7  Warning

Details

org/apache/shardingsphere/proxy/backend/mysql/connector/sane/MySQLDialectSaneQueryResultEngineTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ExpressionProjectionSegment, IdentifierValue, MySQLDialectSaneQueryResultEngine, MySQLShowOtherStatement, ProjectionsSegment, SQLException, SetStatement, ShorthandProjectionSegment, SimpleTableSegment, TableNameSegment, VariableSegment]. 50

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/MySQLAdminExecutorCreatorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 24 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, ExpressionProjectionSegment, IdentifierValue, MetaDataContexts, MockedDataSource, MySQLAdminExecutorCreator, MySQLShowCreateDatabaseStatement, MySQLShowDatabasesStatement, MySQLShowFunctionStatusStatement, MySQLShowProcedureStatusStatement, MySQLShowProcessListStatement, MySQLShowTablesStatement, MySQLUseStatement, OwnerSegment, Properties, ResourceMetaData, SetStatement, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, SimpleTableSegment, TableNameSegment, VariableSegment]. 92
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 34 (max allowed is 20). 92

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutor.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 22 (max allowed is 20). 60

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 25 (max allowed is 20). 71

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/SelectInformationSchemataExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ConfigurationProperties, DatabasePermittedPrivileges, DefaultSQLParserRuleConfigurationBuilder, Grantee, MetaDataContexts, MockedDataSource, Properties, ResourceMetaData, RuleMetaData, SQLParserRule, SelectInformationSchemataExecutor, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics]. 77
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 31 (max allowed is 20). 77

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutor.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 26 (max allowed is 20). 62

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 22 (max allowed is 20). 65

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowDatabasesExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConcurrentHashMap, ConfigurationProperties, Grantee, MySQLShowDatabasesExecutor, MySQLShowDatabasesStatement, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShowFilterSegment, ShowLikeSegment]. 57

org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowTablesExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseSegment, FromDatabaseSegment, IdentifierValue, MySQLShowTablesExecutor, MySQLShowTablesStatement, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShowLikeSegment]. 65
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 24 (max allowed is 20). 65