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 | |||
|---|---|---|---|
| 93 | 0 | 24 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
7 | |
| ClassFanOutComplexity | 12 | ||
| CyclomaticComplexity | 3 | ||
| JavaNCSS | 1 | ||
| NPathComplexity | 1 |
Details
org/apache/shardingsphere/proxy/frontend/firebird/authentication/FirebirdAuthenticationEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AccessDeniedException, AuthenticatorFactory, DatabaseProtocolException, FirebirdAcceptPacket, FirebirdAttachPacket, FirebirdConnectPacket, FirebirdGenericResponsePacket, FirebirdSRPAuthenticationData, Grantee, InvalidParameterValueException, LoginErrorException, UnknownDatabaseException]. | 61 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 61 |
org/apache/shardingsphere/proxy/frontend/firebird/authentication/FirebirdAuthenticationEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 90 |
org/apache/shardingsphere/proxy/frontend/firebird/command/FirebirdCommandExecuteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 72 |
org/apache/shardingsphere/proxy/frontend/firebird/command/FirebirdCommandExecutorFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [FirebirdAllocateStatementCommandExecutor, FirebirdBatchBlobSegmentsCommandExecutor, FirebirdBatchCancelCommandExecutor, FirebirdBatchCreateCommandExecutor, FirebirdBatchExecuteCommandExecutor, FirebirdBatchMessageCommandExecutor, FirebirdBatchReleaseCommandExecutor, FirebirdBatchSyncCommandExecutor, FirebirdBlobInfoExecutor, FirebirdCancelBlobCommandExecutor, FirebirdCloseBlobCommandExecutor, FirebirdCommitTransactionCommandExecutor, FirebirdCreateBlobCommandExecutor, FirebirdDatabaseInfoExecutor, FirebirdExecuteStatementCommandExecutor, FirebirdFetchStatementCommandExecutor, FirebirdFreeStatementCommandExecutor, FirebirdGetBlobSegmentCommandExecutor, FirebirdOpenBlobCommandExecutor, FirebirdPrepareStatementCommandExecutor, FirebirdPutBlobSegmentCommandExecutor, FirebirdRollbackTransactionCommandExecutor, FirebirdSQLInfoExecutor, FirebirdSeekBlobCommandExecutor, FirebirdStartTransactionCommandExecutor, FirebirdUnsupportedCommandExecutor]. | 77 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 52 (max allowed is 20). | 77 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 29 (max allowed is 10). | 88 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 88 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/batch/FirebirdBatchCancelCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 71 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/batch/FirebirdBatchExecuteCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 64 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/batch/FirebirdBatchReleaseCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 70 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/batch/FirebirdBatchedStatementsExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [BatchExecution, BatchedStatementsJDBCExecutorCallback, DriverExecutionPrepareEngine, ExecutionGroup, ExecutionGroupContext, ExecutionGroupReportContext, FirebirdBatchCompletion, FirebirdBatchCompletion.Failure, IdentityHashMap, JDBCExecutor, KernelProcessor, QueryContext, SQLBindEngine, StatementOption]. | 78 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 78 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/batch/FirebirdBatchedStatementsExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 22 (max allowed is 10) classes [BatchUpdateException, ColumnSegment, ConfigurationProperties, ConnectionContext, DefaultSQLTranslatorRuleConfigurationBuilder, ExecutionContext, ExecutionUnit, FirebirdBatchedStatementsExecutor, FirebirdServerPreparedStatement, HintValueContext, IdentifierValue, InsertColumnsSegment, InsertValuesSegment, ParameterMarkerExpressionSegment, Properties, RuleMetaData, SQLException, SQLTranslatorRule, SQLUnit, ShardingSphereColumn, SimpleTableSegment, TableNameSegment]. | 93 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 44 (max allowed is 20). | 93 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/statement/execute/FirebirdExecuteStatementCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [ConfigurationProperties, FirebirdBlobBinaryProtocolValue, FirebirdExecuteStatementCommandExecutor, FirebirdPacketPayload, FirebirdServerPreparedStatement, HintValueContext, Properties, QueryResponseCell, QueryResponseHeader, QueryResponseRow, ResourceMetaData, RuleMetaData, ServerPreparedStatementRegistry, ShardingSphereMetaData, UpdateResponseHeader, UpdateResult]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 95 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/statement/prepare/FirebirdPrepareStatementCommandExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ColumnProjection, ColumnSegmentBoundInfo, DatabaseProtocolException, DropDatabaseStatement, FirebirdGenericResponsePacket, FirebirdPrepareStatementReturnPacket, FirebirdReturnColumnPacket, FirebirdServerPreparedStatement, IdentifierValue, NoDatabaseSelectedException, ProjectionEngine, SQLBindEngine, ShardingSphereColumn, ShardingSphereTable, TableNotFoundException]. | 112 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 65 (max allowed is 20). | 112 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 181 | |
| metrics | NPathComplexity | NPath Complexity is 1,728 (max allowed is 200). | 181 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 262 |
org/apache/shardingsphere/proxy/frontend/firebird/command/query/statement/prepare/FirebirdPrepareStatementCommandExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [CacheOption, ConfigurationProperties, FirebirdPrepareStatementCommandExecutor, FirebirdServerPreparedStatement, Grantee, HintValueContext, MetaDataContexts, Properties, ResourceMetaData, RuleAttributes, RuleMetaData, SQLParserRule, SQLParserRuleConfiguration, ServerPreparedStatementRegistry, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereStatistics, ShardingSphereTable, UnknownDatabaseException]. | 97 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 45 (max allowed is 20). | 97 |
