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
71 0 29 0

Files

File  I  W  E
org/apache/shardingsphere/proxy/frontend/mysql/authentication/MySQLAuthenticationEngine.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/authentication/MySQLAuthenticationEngineTest.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandExecutorFactory.java 0 3 0
org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandPacketFactory.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutor.java 0 1 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutorTest.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutor.java 0 1 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutorTest.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareParameterMarkerExtractorTest.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLPreparedStatementMetadataFactoryTest.java 0 1 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLProjectionMetadataResolver.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/fieldlist/MySQLComFieldListPacketExecutorTest.java 0 1 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLComQueryBackendHandlerFactoryTest.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLMultiStatementsProxyBackendHandler.java 0 2 0
org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLMultiStatementsProxyBackendHandlerTest.java 0 2 0

Rules

Category Rule Violations Severity
metrics ClassDataAbstractionCoupling
  • max: "10"
10  Warning
ClassFanOutComplexity 13  Warning
CyclomaticComplexity 4  Warning
NPathComplexity 2  Warning

Details

org/apache/shardingsphere/proxy/frontend/mysql/authentication/MySQLAuthenticationEngine.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AccessDeniedException, AuthenticatorFactory, AuthorityChecker, DatabaseAccessDeniedException, Grantee, HandshakeException, MySQLAuthSwitchRequestPacket, MySQLAuthSwitchResponsePacket, MySQLAuthenticationPluginData, MySQLHandshakePacket, MySQLHandshakeResponse41Packet, MySQLOKPacket, MySQLSSLRequestHandler, ShardingSphereUser, UnknownDatabaseException]. 68
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 28 (max allowed is 20). 68

org/apache/shardingsphere/proxy/frontend/mysql/authentication/MySQLAuthenticationEngineTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DefaultAttributeMap, Grantee, InetSocketAddress, MetaDataContexts, MySQLAuthenticationEngine, MySQLPacketPayload, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, ShardingSphereUser]. 96
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 31 (max allowed is 20). 96

org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandExecutorFactory.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [MySQLComFieldListPacketExecutor, MySQLComInitDbExecutor, MySQLComPingExecutor, MySQLComQueryPacketExecutor, MySQLComQuitExecutor, MySQLComResetConnectionExecutor, MySQLComSetOptionExecutor, MySQLComStmtCloseExecutor, MySQLComStmtExecuteExecutor, MySQLComStmtPrepareExecutor, MySQLComStmtResetExecutor, MySQLComStmtSendLongDataExecutor, MySQLUnsupportedCommandExecutor]. 56
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 30 (max allowed is 20). 56
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 14 (max allowed is 10). 69

org/apache/shardingsphere/proxy/frontend/mysql/command/MySQLCommandPacketFactory.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [MySQLComFieldListPacket, MySQLComInitDbPacket, MySQLComPingPacket, MySQLComQueryPacket, MySQLComQuitPacket, MySQLComResetConnectionPacket, MySQLComSetOptionPacket, MySQLComStmtClosePacket, MySQLComStmtExecutePacket, MySQLComStmtPreparePacket, MySQLComStmtResetPacket, MySQLComStmtSendLongDataPacket, MySQLUnsupportedCommandPacket]. 44
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 55

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutor.java

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

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/execute/MySQLComStmtExecuteExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 24 (max allowed is 10) classes [AtomicReference, ColumnAssignmentSegment, ColumnSegment, CommitStatement, CommonSQLStatementContext, ConfigurationProperties, HintValueContext, IdentifierValue, MySQLComStmtExecuteExecutor, MySQLComStmtSendLongDataExecutor, MySQLPreparedStatementParameterType, MySQLServerPreparedStatement, ParameterMarkerExpressionSegment, ProjectionsSegment, Properties, QueryResponseCell, QueryResponseHeader, QueryResponseRow, ResourceMetaData, RuleMetaData, SQLException, SetAssignmentSegment, ShardingSphereMetaData, UpdateResponseHeader]. 112
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 49 (max allowed is 20). 112

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutor.java

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

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 16 (max allowed is 10) classes [CacheOption, ConfigurationProperties, HintValueContext, IdentifierValue, MySQLComStmtPrepareExecutor, MySQLPacketPayload, Properties, ResourceMetaData, RuleMetaData, SQLParserRule, SQLParserRuleConfiguration, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable]. 97
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 38 (max allowed is 20). 97

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareParameterMarkerExtractorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 34 (max allowed is 10) classes [BetweenExpression, BinaryOperationExpression, CacheOption, ColumnAssignmentSegment, ColumnSegment, ColumnSegmentBoundInfo, CommonSQLStatementContext, ConfigurationProperties, HintValueContext, IdentifierValue, InExpression, InsertColumnsSegment, InsertStatementContext, InsertValuesSegment, JoinTableSegment, ListExpression, LiteralExpressionSegment, OnDuplicateKeyColumnsSegment, OwnerSegment, ParameterMarkerExpressionSegment, Properties, SQLBindEngine, SQLStatement, SetAssignmentSegment, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSQLParserEngine, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment, UpdateStatementContext, WhereSegment]. 84
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 44 (max allowed is 20). 84

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLPreparedStatementMetadataFactoryTest.java

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

org/apache/shardingsphere/proxy/frontend/mysql/command/query/binary/prepare/MySQLProjectionMetadataResolver.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 104
 Warning metrics NPathComplexity NPath Complexity is 288 (max allowed is 200). 104

org/apache/shardingsphere/proxy/frontend/mysql/command/query/builder/ResponsePacketBuilder.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 75
 Warning metrics NPathComplexity NPath Complexity is 288 (max allowed is 200). 75

org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/fieldlist/MySQLComFieldListPacketExecutorTest.java

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

org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLComQueryBackendHandlerFactoryTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ConfigurationProperties, DefaultSQLParserRuleConfigurationBuilder, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, Properties, ResourceMetaData, RuleMetaData, SQLParserRule, SQLTranslatorRule, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable]. 81
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 31 (max allowed is 20). 81

org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLMultiStatementsProxyBackendHandler.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BatchPreparedStatementExecutor, DriverExecutionPrepareEngine, ExecutionGroupReportContext, JDBCExecutor, KernelProcessor, MultiStatementsUpdateResponseHeader, QueryContext, SQLBindEngine, StatementOption, UpdateResponseHeader, UpdateResult]. 70
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 30 (max allowed is 20). 70

org/apache/shardingsphere/proxy/frontend/mysql/command/query/text/query/MySQLMultiStatementsProxyBackendHandlerTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConfigurationProperties, DefaultSQLParserRuleConfigurationBuilder, DefaultSQLTranslatorRuleConfigurationBuilder, IdentifierValue, MySQLMultiStatementsProxyBackendHandler, Properties, RuleMetaData, SQLParserRule, SQLTranslatorRule, ShardingSphereColumn, ShardingSphereTable]. 78
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 32 (max allowed is 20). 78