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 | |||
|---|---|---|---|
| 21 | 0 | 13 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
5 | |
| ClassFanOutComplexity | 7 | ||
| CyclomaticComplexity | 1 |
Details
org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AuthenticatorFactory, AuthorityChecker, EmptyUsernameException, Grantee, InvalidPasswordException, OpenGaussAuthenticationHexData, OpenGaussAuthenticationSCRAMSha256Packet, PostgreSQLAuthenticationOKPacket, PostgreSQLComStartupPacket, PostgreSQLMD5PasswordAuthenticationPacket, PostgreSQLParameterStatusPacket, PostgreSQLPasswordMessagePacket, PostgreSQLSSLUnwillingPacket, PostgreSQLSSLWillingPacket, PrivilegeNotGrantedException, ProtocolViolationException, SslHandler, UnknownDatabaseException, UnknownUsernameException]. | 73 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 73 |
org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AlgorithmConfiguration, AuthorityRuleBuilder, AuthorityRuleConfiguration, ConfigurationProperties, MetaDataContexts, OpenGaussAuthenticationEngine, PBEKeySpec, PostgreSQLPacketPayload, Properties, RuleMetaData, SecretKeySpec, ShardingSphereMetaData, ShardingSphereStatistics, ShardingSphereUser, UnpooledHeapByteBuf, UserConfiguration]. | 106 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 106 |
org/apache/shardingsphere/proxy/frontend/opengauss/command/OpenGaussCommandExecutorFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [OpenGaussColumnTypeOIDResolver, OpenGaussComBatchBindExecutor, OpenGaussComQueryExecutor, PostgreSQLAggregatedBatchedStatementsCommandExecutor, PostgreSQLAggregatedCommandExecutor, PostgreSQLComBindExecutor, PostgreSQLComCloseExecutor, PostgreSQLComDescribeExecutor, PostgreSQLComExecuteExecutor, PostgreSQLComFlushExecutor, PostgreSQLComParseExecutor, PostgreSQLComSyncExecutor, PostgreSQLComTerminationExecutor, PostgreSQLUnsupportedCommandExecutor]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 62 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 117 |
org/apache/shardingsphere/proxy/frontend/opengauss/command/OpenGaussCommandExecutorFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 75 |
org/apache/shardingsphere/proxy/frontend/opengauss/command/query/extended/bind/OpenGaussComBatchBindExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CacheOption, ConnectionContext, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, OpenGaussComBatchBindExecutor, PostgreSQLServerPreparedStatement, RuleMetaData, SQLTranslatorRule, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereSQLParserEngine]. | 84 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 84 |
org/apache/shardingsphere/proxy/frontend/opengauss/command/query/simple/OpenGaussComQueryExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 63 |
org/apache/shardingsphere/proxy/frontend/opengauss/command/query/simple/OpenGaussComQueryExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CommitStatement, EmptyStatement, HintValueContext, OpenGaussComQueryExecutor, QueryHeader, QueryResponseRow, RollbackStatement, SetStatement, UpdateResponseHeader, VariableAssignSegment, VariableSegment]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 75 |
