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 | |||
|---|---|---|---|
| 71 | 0 | 29 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
10 | |
| ClassFanOutComplexity | 13 | ||
| CyclomaticComplexity | 4 | ||
| NPathComplexity | 2 |
Details
org/apache/shardingsphere/proxy/frontend/mysql/authentication/MySQLAuthenticationEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 56 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 104 | |
| 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 |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 75 | |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| 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 |
|---|---|---|---|---|
| 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 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 78 |
