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 | |||
|---|---|---|---|
| 57 | 0 | 30 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
12 | |
| ClassFanOutComplexity | 18 |
Details
org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AuthenticatorFactory, AuthorityChecker, EmptyUsernameException, Grantee, InvalidParameterValueException, InvalidPasswordException, PostgreSQLAuthenticationOKPacket, PostgreSQLComStartupPacket, PostgreSQLMD5PasswordAuthenticationPacket, PostgreSQLParameterStatusPacket, PostgreSQLPasswordAuthenticationPacket, PostgreSQLPasswordMessagePacket, PostgreSQLSSLUnwillingPacket, PostgreSQLSSLWillingPacket, PrivilegeNotGrantedException, ProtocolViolationException, SslHandler, UnknownDatabaseException, UnknownUsernameException]. | 73 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 73 |
org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AlgorithmConfiguration, AuthorityRuleBuilder, AuthorityRuleConfiguration, ConfigurationProperties, Locale, MetaDataContexts, PostgreSQLAuthenticationEngine, PostgreSQLPacketPayload, Properties, RuleMetaData, ShardingSphereMetaData, ShardingSphereStatistics, ShardingSphereUser, UnpooledHeapByteBuf, UserConfiguration]. | 108 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 108 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/PostgreSQLCommandExecuteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 77 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/PostgreSQLCommandExecutorFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [PostgreSQLAggregatedBatchedStatementsCommandExecutor, PostgreSQLAggregatedCommandExecutor, PostgreSQLColumnTypeOIDResolver, PostgreSQLComBindExecutor, PostgreSQLComCloseExecutor, PostgreSQLComDescribeExecutor, PostgreSQLComExecuteExecutor, PostgreSQLComFlushExecutor, PostgreSQLComParseExecutor, PostgreSQLComQueryExecutor, PostgreSQLComSyncExecutor, PostgreSQLComTerminationExecutor, PostgreSQLUnsupportedCommandExecutor]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 57 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/PostgreSQLCommandExecutorFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 69 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/Portal.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 69 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PortalTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [CommonSQLStatementContext, EmptyStatement, HintValueContext, InvalidParameterValueException, Portal, PostgreSQLResetParameterStatement, PostgreSQLServerPreparedStatement, QueryHeader, QueryResponseCell, QueryResponseRow, SQLStatement, SetStatement, VariableAssignSegment, VariableSegment]. | 98 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 41 (max allowed is 20). | 98 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PostgreSQLAggregatedBatchedStatementsCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [CacheOption, ConfigurationProperties, ConnectionContext, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, PostgreSQLAggregatedBatchedStatementsCommandExecutor, PostgreSQLServerPreparedStatement, Properties, RuleMetaData, SQLTranslatorRule, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereSQLParserEngine]. | 85 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 85 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PostgreSQLBatchedStatementsExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 70 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PostgreSQLBatchedStatementsExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [ConfigurationProperties, ConnectionContext, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, PostgreSQLBatchedStatementsExecutor, PostgreSQLServerPreparedStatement, PostgreSQLTypeUnspecifiedSQLParameter, Properties, RuleMetaData, SQLException, SQLTranslatorRule, SetAssignmentSegment, ShardingSphereColumn, SimpleTableSegment, TableNameSegment, UpdateStatementContext]. | 91 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 91 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PostgreSQLPreparedStatementMetadataFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [CacheOption, ConfigurationProperties, DefaultSQLTranslatorRuleConfigurationBuilder, ExecutionUnit, HintValueContext, IdentifierValue, PostgreSQLServerPreparedStatement, Properties, RuleMetaData, SQLException, SQLTranslatorRule, SQLUnit, ShardingSphereColumn, ShardingSphereSQLParserEngine, ShardingSphereTable, UnsupportedSQLOperationException]. | 88 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 88 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/PostgreSQLPreparedStatementParameterTypeResolverTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CacheOption, ConfigurationProperties, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, PostgreSQLServerPreparedStatement, Properties, RuleMetaData, SQLTranslatorRule, ShardingSphereColumn, ShardingSphereSQLParserEngine, ShardingSphereTable]. | 73 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 73 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/bind/PostgreSQLComBindExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [CacheOption, CommonSQLStatementContext, ConfigurationProperties, DefaultSQLTranslatorRuleConfigurationBuilder, EmptyStatement, HintValueContext, IdentifierValue, PostgreSQLServerPreparedStatement, Properties, RuleMetaData, SQLTranslatorRule, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereSQLParserEngine, ShardingSphereTable]. | 89 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 89 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/describe/PostgreSQLComDescribeExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 76 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/describe/PostgreSQLComDescribeExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [CacheOption, ConfigurationProperties, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, IdentifierValue, PostgreSQLColumnDescription, PostgreSQLComDescribeExecutor, PostgreSQLParameterDescriptionPacket, PostgreSQLServerPreparedStatement, Properties, RuleMetaData, SQLTranslatorRule, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereSQLParserEngine, ShardingSphereTable]. | 116 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 53 (max allowed is 20). | 116 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/extended/parse/PostgreSQLComParseExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DefaultSQLParserRuleConfigurationBuilder, HintValueContext, IdentifierValue, Properties, ResourceMetaData, RuleMetaData, SQLParserRule, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable]. | 72 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 72 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/simple/PostgreSQLComQueryExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 64 |
org/apache/shardingsphere/proxy/frontend/postgresql/command/query/simple/PostgreSQLComQueryExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [CommitStatement, EmptyStatement, HintValueContext, InvalidParameterValueException, PostgreSQLComQueryExecutor, PostgreSQLResetParameterStatement, QueryHeader, QueryResponseRow, RollbackStatement, SQLStatement, SetStatement, UpdateResponseHeader, VariableAssignSegment, VariableSegment]. | 86 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 86 |
