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 | |||
|---|---|---|---|
| 9880 | 0 | 1217 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | NestedForDepth | 6 | |
| metrics | BooleanExpressionComplexity | 47 | |
ClassDataAbstractionCoupling
|
314 | ||
| ClassFanOutComplexity | 431 | ||
| CyclomaticComplexity | 202 | ||
| JavaNCSS | 36 | ||
| NPathComplexity | 138 | ||
| sizes | ExecutableStatementCount
|
11 | |
| MethodCount | 32 |
Details
org/apache/shardingsphere/agent/plugin/metrics/core/advice/RouteResultCountAdviceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [CommonSQLStatementContext, ConnectionContext, HintValueContext, IdentifierValue, MetricConfiguration, QueryContext, RouteContext, RouteMapper, RouteResultCountAdvice, RouteUnit, SimpleTableSegment, TableNameSegment, TablesContext, TargetAdviceObjectFixture]. | 54 |
org/apache/shardingsphere/agent/plugin/metrics/prometheus/PrometheusPluginLifecycleServiceIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [ComputeNodeInstance, ComputeNodeInstanceContext, ConfigurationProperties, ContextManager, EventBusContext, InetSocketAddress, MetaDataContexts, ModeConfiguration, PluginConfiguration, PrometheusPluginLifecycleService, Properties, Property, ResourceMetaData, RuleMetaData, ServerSocket, ShardingSphereMetaData, ShardingSphereStatistics, Socket, StandaloneWorkerIdGenerator]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 64 |
org/apache/shardingsphere/agent/plugin/tracing/opentelemetry/advice/OpenTelemetryJDBCExecutorCallbackAdviceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 65 |
org/apache/shardingsphere/data/pipeline/cdc/CDCJob.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [CDCExecuteCallback, CDCJobItemContext, CDCJobPreparer, CDCJobRunnerCleaner, CDCTaskConfiguration, CDCTasksRunner, DumperCommonContext, ImporterConfiguration, IncrementalDumperContext, PipelineJobItemManager, PipelineJobRunnerManager, PipelineProcessConfigurationPersistService, ShardingSphereIdentifier, TableAndSchemaNameMapper, TransmissionProcessContext]. | 82 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 82 | |
| metrics | NPathComplexity | NPath Complexity is 232 (max allowed is 200). | 245 |
org/apache/shardingsphere/data/pipeline/cdc/CDCJobTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AlgorithmConfiguration, AtomicInteger, AtomicReference, CDCJob, DataNode, IngestFinishedPosition, IngestPlaceholderPosition, JobDataNodeEntry, JobDataNodeLine, PipelineContextKey, PipelineProcessConfiguration, PipelineReadConfiguration, PipelineWriteConfiguration, Properties, ShardingSphereIdentifier]. | 112 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 41 (max allowed is 20). | 112 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 275 | |
| metrics | NPathComplexity | NPath Complexity is 251 (max allowed is 200). | 275 |
org/apache/shardingsphere/data/pipeline/cdc/api/CDCJobAPI.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 31 (max allowed is 10) classes [CDCJob, CDCJobConfiguration, CDCJobId, CDCJobItemInfo, CDCJobType, DumperCommonContext, IncrementalDumperContext, IncrementalTaskPositionManager, IncrementalTaskProgress, JobDataNodeEntry, JobDataNodeLine, JobItemIncrementalTasksProgress, OneOffJobBootstrap, PipelineContextKey, PipelineDataSourceManager, PipelineInternalException, PipelineInvalidParameterException, PipelineJobConfigurationManager, PipelineJobCreationWithInvalidShardingCountException, PipelineJobItemManager, PipelineJobManager, PrepareJobWithGetBinlogPositionException, ShardingSphereIdentifier, ShardingSpherePipelineDataSourceConfiguration, SinkConfiguration, TableAndSchemaNameMapper, TransmissionJobItemProgress, TransmissionJobManager, YamlDataSourceConfigurationSwapper, YamlRootConfiguration, YamlRuleConfigurationSwapperEngine]. | 101 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 54 (max allowed is 20). | 101 |
org/apache/shardingsphere/data/pipeline/cdc/api/CDCJobAPITest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AtomicInteger, CDCJobAPI, CDCJobConfiguration, CDCJobConfiguration.SinkConfiguration, DataNode, IncrementalTaskProgress, JobConfigurationPOJO, JobDataNodeEntry, JobDataNodeLine, JobItemIncrementalTasksProgress, PipelineContextKey, Properties, Property, ShardingSpherePipelineDataSourceConfiguration, SimpleIngestPosition, StreamDataParameter, TransmissionJobItemInfo, TransmissionJobItemProgress, YamlCDCJobConfigurationSwapper, YamlRootConfiguration]. | 129 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 50 (max allowed is 20). | 129 |
org/apache/shardingsphere/data/pipeline/cdc/client/CDCClient.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 65 |
org/apache/shardingsphere/data/pipeline/cdc/client/handler/CDCRequestHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 62 |
org/apache/shardingsphere/data/pipeline/cdc/client/util/ProtobufAnyValueConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 55 | |
| metrics | NPathComplexity | NPath Complexity is 6,144 (max allowed is 200). | 55 |
org/apache/shardingsphere/data/pipeline/cdc/config/yaml/swapper/YamlCDCJobConfigurationSwapperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CDCJobConfiguration, DataNode, JobDataNodeEntry, JobDataNodeLine, Properties, Property, SinkConfiguration, YamlCDCJobConfiguration, YamlCDCJobConfigurationSwapper, YamlPipelineDataSourceConfiguration, YamlRootConfiguration, YamlSinkConfiguration]. | 53 |
org/apache/shardingsphere/data/pipeline/cdc/context/CDCJobItemContextTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ActualAndLogicTableNameMapper, CDCJobConfiguration, CDCJobItemContext, CDCTaskConfiguration, DumperCommonContext, ImporterConfiguration, IncrementalDumperContext, PipelineJobUpdateProgress, ShardingSphereIdentifier, TableAndSchemaNameMapper, TransmissionJobItemProgress]. | 55 |
org/apache/shardingsphere/data/pipeline/cdc/core/prepare/CDCJobPreparer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AtomicBoolean, AtomicReference, CDCChannelProgressPair, CDCImporter, CDCIncrementalTask, CDCInventoryTask, CopyOnWriteArrayList, CreateIncrementalDumperParameter, IncrementalTaskPositionManager, InventoryDumper, InventoryDumperContext, InventoryDumperContextSplitter, PlaceholderInventoryDataRecordPositionCreator, PrepareJobWithGetBinlogPositionException, UniqueKeyInventoryDataRecordPositionCreator]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 68 |
org/apache/shardingsphere/data/pipeline/cdc/core/prepare/CDCJobPreparerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [ActualAndLogicTableNameMapper, AlgorithmConfiguration, CDCJobItemContext, CDCJobPreparer, CDCTaskConfiguration, DumperCommonContext, ImporterConfiguration, IncrementalDumperContext, IncrementalTaskProgress, IngestFinishedPosition, IngestPlaceholderPosition, InventoryDumperContext, JobItemIncrementalTasksProgress, PipelineColumnMetaData, PipelineProcessConfiguration, PipelineReadConfiguration, PipelineWriteConfiguration, Properties, ShardingSphereIdentifier, TableAndSchemaNameMapper]. | 97 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 97 |
org/apache/shardingsphere/data/pipeline/cdc/distsql/parser/core/CDCDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 55 |
org/apache/shardingsphere/data/pipeline/cdc/sink/socket/handler/CDCBackendHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CDCExceptionWrapper, CDCJobType, CDCSocketSinkCreationContext, DatabaseTypeRegistry, MissingRequiredStreamDataSourceException, PipelineInternalException, PipelineJobConfigurationManager, PipelineJobNotFoundException, Properties, StreamDataParameter, StreamDatabaseNotFoundException]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 68 |
org/apache/shardingsphere/data/pipeline/cdc/sink/socket/handler/CDCBackendHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 93 |
org/apache/shardingsphere/data/pipeline/cdc/util/ColumnValueConvertUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 25 (max allowed is 10). | 63 | |
| metrics | JavaNCSS | NCSS for this method is 56 (max allowed is 50). | 63 | |
| metrics | NPathComplexity | NPath Complexity is 16,777,216 (max allowed is 200). | 63 |
org/apache/shardingsphere/data/pipeline/cdc/util/ColumnValueConvertUtilsTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 62 |
org/apache/shardingsphere/data/pipeline/core/consistencycheck/ConsistencyCheckDataBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 71 | |
| metrics | NPathComplexity | NPath Complexity is 16,384 (max allowed is 200). | 71 |
org/apache/shardingsphere/data/pipeline/core/consistencycheck/result/RecordTableInventoryCheckCalculatedResult.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 55 | |
| metrics | NPathComplexity | NPath Complexity is 288 (max allowed is 200). | 55 |
org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSink.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 56 |
org/apache/shardingsphere/data/pipeline/core/importer/sink/type/PipelineDataSourceSinkTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [DataRecord, DatabaseIdentifierContext, FinishedRecord, FixtureTransmissionJobItemContext, ImporterConfiguration, IngestFinishedPosition, IngestPlaceholderPosition, NormalColumn, PipelineDataSourceSink, ShardingSphereIdentifier, SingleChannelConsumerImporter, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 65 |
org/apache/shardingsphere/data/pipeline/core/ingest/dumper/inventory/InventoryDumper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AtomicReference, DataRecord, FinishedRecord, IngestException, IngestFinishedPosition, InventoryColumnValueReaderEngine, NormalColumn, PipelineInvalidParameterException, PipelineInventoryDumpSQLBuilder, QualifiedTable, RecordTableInventoryDumpCalculator, ShardingSphereIdentifier, TableInventoryCalculateParameter]. | 69 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 69 |
org/apache/shardingsphere/data/pipeline/core/ingest/dumper/inventory/column/InventoryColumnValueReaderEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 33 (max allowed is 10). | 63 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 63 |
org/apache/shardingsphere/data/pipeline/core/ingest/dumper/inventory/query/calculator/AbstractRecordTableInventoryCalculator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 57 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClient.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 22 (max allowed is 10) classes [ArrayBlockingQueue, AtomicInteger, Bootstrap, ChannelAttrInitializer, ChannelInitializer, DefaultPromise, MySQLBinlogEventHandler, MySQLBinlogEventPacketDecoder, MySQLComBinlogDumpCommandPacket, MySQLComQueryPacket, MySQLComRegisterSlaveCommandPacket, MySQLCommandPacketDecoder, MySQLCommandResponseHandler, MySQLNegotiateHandler, MySQLNegotiatePackageDecoder, MySQLPacketCodecEngine, MySQLSequenceIdInboundHandler, NioEventLoopGroup, PacketCodec, PipelineInternalException, PlaceholderBinlogEvent, UnsupportedSQLOperationException]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 75 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClientTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AtomicInteger, AtomicReference, CompletableFuture, ConnectInfo, DefaultPromise, InetSocketAddress, InternalResultSet, InterruptedException, MySQLBinlogClient, MySQLErrPacket, MySQLOKPacket, MySQLServerVersion, MySQLTextResultSetRowPacket, NioEventLoopGroup, PipelineInternalException, PlaceholderBinlogEvent, SQLException, TimeoutException]. | 105 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 44 (max allowed is 20). | 105 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLBinlogEventPacketDecoder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [MySQLBinlogContext, MySQLBinlogEventHeader, MySQLBinlogFormatDescriptionEventPacket, MySQLBinlogRotateEventPacket, MySQLBinlogRowsEventPacket, MySQLBinlogTableMapEventPacket, MySQLDeleteRowsBinlogEvent, MySQLPacketPayload, MySQLQueryBinlogEvent, MySQLUpdateRowsBinlogEvent, MySQLWriteRowsBinlogEvent, MySQLXidBinlogEvent, PipelineInternalException, PlaceholderBinlogEvent]. | 51 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLNegotiateHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 66 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 61 |
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [ActualAndLogicTableNameMapper, AtomicInteger, DumperCommonContext, IncrementalDumperContext, MySQLBinlogPosition, MySQLDeleteRowsBinlogEvent, MySQLIncrementalDumper, MySQLUpdateRowsBinlogEvent, MySQLWriteRowsBinlogEvent, PipelineColumnMetaData, PipelineDataSourceManager, PipelineTableMetaData, PlaceholderBinlogEvent, Serializable, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper, Thread]. | 81 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 81 |
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 64 |
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ActualAndLogicTableNameMapper, AtomicInteger, BeginTXEvent, CommitTXEvent, DumperCommonContext, IncrementalDumperContext, MemoryPipelineChannel, OpenGaussIncrementalDumper, OpenGaussLogSequenceNumber, SQLException, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper, WALPosition, WriteRowEvent]. | 80 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 80 |
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/wal/decode/MppdbDecodingPlugin.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BeginTXEvent, BigDecimal, CommitTXEvent, DecodingException, DeleteRowEvent, IngestException, PGInterval, PGobject, PlaceholderEvent, UpdateRowEvent, WriteRowEvent]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 52 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 18 (max allowed is 10). | 184 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 60 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ActualAndLogicTableNameMapper, DumperCommonContext, IncrementalDumperContext, IngestException, MemoryPipelineChannel, PipelineDataSourceManager, PostgreSQLIncrementalDumper, PostgreSQLLogSequenceNumber, SQLWrapperException, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, StandardPipelineTableMetaDataLoader, TableAndSchemaNameMapper, WALPosition]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 65 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 51 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AbstractRowEvent, ActualAndLogicTableNameMapper, BeginTXEvent, CommitTXEvent, DeleteRowEvent, DumperCommonContext, IncrementalDumperContext, PipelineColumnMetaData, PipelineDataSourceManager, PipelineTableMetaData, PlaceholderEvent, PostgreSQLLogSequenceNumber, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, StandardPipelineTableMetaDataLoader, TableAndSchemaNameMapper, UpdateRowEvent, WALEventConverter, WriteRowEvent]. | 79 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 79 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPlugin.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 22 (max allowed is 10). | 166 | |
| metrics | NPathComplexity | NPath Complexity is 576 (max allowed is 200). | 166 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPluginTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 55 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/column/PostgreSQLColumnPropertiesAppender.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 241 | |
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 241 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/constraints/PostgreSQLConstraintsPropertiesAppenderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 135 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/index/PostgreSQLIndexSQLGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | JavaNCSS | NCSS for this method is 56 (max allowed is 50). | 115 |
org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/ConsistencyCheckJobExecutorCallbackTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConsistencyCheckJobConfiguration, ConsistencyCheckJobExecutorCallback, ConsistencyCheckJobId, ConsistencyCheckJobItemContext, ConsistencyCheckJobType, PipelineContextKey, PipelineJobItemManager, Properties, YamlConsistencyCheckJobConfiguration, YamlConsistencyCheckJobConfigurationSwapper, YamlConsistencyCheckJobItemProgress, YamlTableCheckRangePosition, YamlTableCheckRangePositionSwapper]. | 56 |
org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/api/ConsistencyCheckJobAPITest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 69 | |
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConsistencyCheckJobAPI, ConsistencyCheckJobConfiguration, ConsistencyCheckJobId, ConsistencyCheckJobItemContext, ConsistencyCheckJobItemProgress, ConsistencyCheckJobType, CreateConsistencyCheckJobParameter, PipelineJobConfigurationManager, PipelineJobItemManager, TableDataConsistencyCheckResult, Timestamp, YamlMigrationJobConfigurationSwapper]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 64 |
org/apache/shardingsphere/data/pipeline/scenario/consistencycheck/task/ConsistencyCheckTasksRunnerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AtomicReference, ConsistencyCheckJobConfiguration, ConsistencyCheckJobItemContext, ConsistencyCheckJobType, ConsistencyCheckTasksRunner, PipelineContextKey, PipelineProcessConfiguration, PipelineReadConfiguration, PipelineWriteConfiguration, Properties, TableDataConsistencyCheckResult]. | 85 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 85 |
org/apache/shardingsphere/data/pipeline/scenario/migration/MigrationJobExecutorCallback.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [CreateTableConfiguration, DatabaseTypeRegistry, ImporterConfiguration, MigrationIncrementalDumperContextCreator, MigrationJobItemContext, MigrationJobPreparer, MigrationJobType, MigrationTaskConfiguration, PipelineDataSourcePersistService, QualifiedTable, ShardingSphereIdentifier, TableAndSchemaNameMapper, TransmissionProcessContext, TransmissionTasksRunner]. | 70 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 70 |
org/apache/shardingsphere/data/pipeline/scenario/migration/MigrationJobExecutorCallbackTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AtomicReference, DataNode, DataSourcePoolProperties, JobDataNodeEntry, JobDataNodeLine, MigrationJobConfiguration, MigrationJobExecutorCallback, MigrationJobId, MigrationJobType, PipelineContextKey, PipelineProcessConfiguration, PipelineReadConfiguration, PipelineWriteConfiguration, QualifiedTable, ShardingSphereIdentifier, ShardingSpherePipelineDataSourceConfiguration, StandardPipelineDataSourceConfiguration, YamlRootConfiguration]. | 87 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 87 |
org/apache/shardingsphere/data/pipeline/scenario/migration/api/MigrationJobAPI.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [DuplicateStorageUnitException, EmptyRuleException, IdentifierValue, JobDataNodeEntry, JobDataNodeLine, MigrationJobConfiguration, MigrationJobId, MigrationJobType, MissingRequiredStorageUnitsException, PipelineDataSource, PipelineDataSourcePersistService, PipelineInvalidParameterException, PipelineJobConfigurationManager, PipelineJobManager, PipelinePrepareSQLBuilder, ShardingSphereIdentifier, ShardingSpherePipelineDataSourceConfiguration, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper, YamlDataSourceConfigurationSwapper, YamlRootConfiguration, YamlRuleConfigurationSwapperEngine, YamlSingleRuleConfiguration]. | 93 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 93 |
org/apache/shardingsphere/data/pipeline/scenario/migration/api/MigrationJobAPIIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [ConsistencyCheckJobItemProgressContext, DataNode, DataSourcePoolProperties, MigrationJobType, MigrationSourceTargetEntry, PipelineDataSource, PipelineDataSourcePersistService, PipelineJobConfigurationManager, PipelineJobItemManager, PipelineJobManager, PipelineProcessConfigurationPersistService, ShardingSpherePipelineDataSourceConfiguration, TransmissionJobManager, TransmissionProcessContext, YamlMigrationJobConfigurationSwapper, YamlTransmissionJobItemProgress]. | 99 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 41 (max allowed is 20). | 99 |
org/apache/shardingsphere/data/pipeline/scenario/migration/api/MigrationJobAPITest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 88 |
org/apache/shardingsphere/data/pipeline/scenario/migration/check/consistency/MigrationDataConsistencyChecker.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AtomicBoolean, AtomicReference, DataNode, DatabaseTypeRegistry, MigrationJobType, PipelineColumnMetaData, PipelineDataSourceManager, PipelineDataSourcePersistService, PipelineJobUpdateProgress, PipelineTableDataConsistencyCheckLoadingFailedException, QualifiedTable, StandardPipelineTableMetaDataLoader, TableCheckRangePosition, TableInventoryCheckParameter, TransmissionJobManager]. | 79 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 79 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 162 |
org/apache/shardingsphere/data/pipeline/scenario/migration/distsql/handler/update/MigrateTableExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 75 |
org/apache/shardingsphere/data/pipeline/scenario/migration/distsql/parser/core/MigrationDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AlgorithmSegment, AlterTransmissionRuleStatement, CheckMigrationStatement, CommitMigrationStatement, DropMigrationCheckStatement, HostnameAndPortBasedDataSourceSegment, IdentifierValue, MigrateTableStatement, MigrationSourceTargetSegment, Properties, ReadOrWriteSegment, RegisterMigrationSourceStorageUnitStatement, RollbackMigrationStatement, ShowMigrationCheckStatusStatement, ShowMigrationListStatement, ShowMigrationRuleStatement, ShowMigrationSourceStorageUnitsStatement, ShowMigrationStatusStatement, ShowPluginsStatement, StartMigrationCheckStatement, StartMigrationStatement, StopMigrationCheckStatement, StopMigrationStatement, TransmissionRuleSegment, URLBasedDataSourceSegment, UnregisterMigrationSourceStorageUnitStatement]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 65 (max allowed is 20). | 95 |
org/apache/shardingsphere/data/pipeline/scenario/migration/preparer/MigrationJobPreparer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [CreateIncrementalDumperParameter, IncrementalTask, IncrementalTaskPositionManager, InventoryDumperContext, InventoryTaskSplitter, JobOffsetInfo, MigrationJobType, MigrationPrepareOperation, PipelineDataSourceCheckEngine, PipelineJobCancelingException, PipelineJobDataSourcePreparer, PipelineJobItemManager, PrepareJobWithGetBinlogPositionException, PrepareTargetSchemasParameter, PrepareTargetTablesParameter, SingleChannelConsumerImporter, UnsupportedSQLOperationException]. | 80 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 80 |
org/apache/shardingsphere/data/pipeline/sharding/ShardingPipelineRuleConfigurationReviserTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlgorithmConfiguration, AtomicReference, Properties, ShardingAuditStrategyConfiguration, ShardingAutoTableRuleConfiguration, ShardingRuleConfiguration, ShardingSpherePipelineDataSourceConfiguration, ShardingTableRuleConfiguration, YamlAlgorithmConfiguration, YamlRootConfiguration, YamlShardingRuleConfiguration]. | 61 |
org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnection.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 46 |
org/apache/shardingsphere/database/connector/core/metadata/data/loader/MetaDataLoaderConnectionTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 55 |
org/apache/shardingsphere/database/connector/core/metadata/database/metadata/DialectDatabaseMetaData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [DefaultDataTypeOption, DefaultFunctionOption, DefaultSQLOption, DefaultSchemaOption, DialectColumnOption, DialectConnectionOption, DialectIndexOption, DialectJoinOption, DialectPaginationOption, DialectProtocolVersionOption, DialectSQLBatchOption, DialectTransactionOption]. | 53 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 53 |
org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 28 (max allowed is 10). | 61 |
org/apache/shardingsphere/database/connector/core/resultset/ResultSetMapperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 60 |
org/apache/shardingsphere/database/connector/mysql/metadata/identifier/MySQLIdentifierCasePolicyProviderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 142 |
org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 53 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 23 (max allowed is 10). | 55 | |
| metrics | NPathComplexity | NPath Complexity is 4,194,304 (max allowed is 200). | 55 |
org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 22 (max allowed is 10) classes [AccessDeniedException, BatchAlreadyOpenedException, BatchParametersRequiredException, BatchTooBigException, CannotUpdateOldBlobException, DatabaseCreateExistsException, DatabaseDropNotExistsException, DialectSQLParsingException, ExcessTransactionsException, InvalidBatchHandleException, InvalidBatchMessageFormatException, InvalidBatchParameterVersionException, InvalidBatchStatementTypeException, InvalidParameterValueException, InvalidSegstrHandleException, InvalidSegstrIdException, InvalidSegstrTypeException, InvalidStatementHandleException, InvalidTransactionHandleException, LoginErrorException, TableExistsException, UnknownDatabaseException]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 62 |
org/apache/shardingsphere/database/exception/mysql/mapper/MySQLDialectExceptionMapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 55 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 27 (max allowed is 10). | 57 | |
| metrics | JavaNCSS | NCSS for this method is 55 (max allowed is 50). | 57 | |
| metrics | NPathComplexity | NPath Complexity is 37,748,736 (max allowed is 200). | 57 |
org/apache/shardingsphere/database/exception/postgresql/mapper/PostgreSQLDialectExceptionMapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 53 | |
| metrics | NPathComplexity | NPath Complexity is 32,768 (max allowed is 200). | 53 |
org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 79 |
org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchType.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 24 (max allowed is 10). | 63 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 63 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [FirebirdAllocateStatementPacket, FirebirdBatchBlobSegmentsCommandPacket, FirebirdBatchCancelCommandPacket, FirebirdBatchCreateCommandPacket, FirebirdBatchExecuteCommandPacket, FirebirdBatchMessageCommandPacket, FirebirdBatchReleaseCommandPacket, FirebirdBatchSyncCommandPacket, FirebirdCancelBlobCommandPacket, FirebirdCloseBlobCommandPacket, FirebirdCommitTransactionPacket, FirebirdCreateBlobCommandPacket, FirebirdExecuteStatementPacket, FirebirdFetchStatementPacket, FirebirdFreeStatementPacket, FirebirdGetBlobSegmentCommandPacket, FirebirdOpenBlobCommandPacket, FirebirdPrepareStatementPacket, FirebirdPutBlobSegmentCommandPacket, FirebirdRollbackTransactionPacket, FirebirdSeekBlobCommandPacket, FirebirdStartTransactionPacket, FirebirdUnsupportedCommandPacket]. | 55 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 55 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 29 (max allowed is 10). | 67 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 67 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 29 (max allowed is 10). | 137 | |
| metrics | JavaNCSS | NCSS for this method is 55 (max allowed is 50). | 137 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/batch/FirebirdParseBatchBlr.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 141 | |
| metrics | NPathComplexity | NPath Complexity is 320 (max allowed is 200). | 141 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 170 | |
| metrics | NPathComplexity | NPath Complexity is 240 (max allowed is 200). | 170 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 177 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdBlrRowMetadata.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 70 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdBinaryProtocolValueFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [FirebirdBlobBinaryProtocolValue, FirebirdBooleanBinaryProtocolValue, FirebirdDateBinaryProtocolValue, FirebirdDoubleBinaryProtocolValue, FirebirdFloatBinaryProtocolValue, FirebirdInt16BinaryProtocolValue, FirebirdInt2BinaryProtocolValue, FirebirdInt4BinaryProtocolValue, FirebirdInt8BinaryProtocolValue, FirebirdNullBinaryProtocolValue, FirebirdStringBinaryProtocolValue, FirebirdTimeBinaryProtocolValue, FirebirdTimestampBinaryProtocolValue, FirebirdTimestampTZBinaryProtocolValue]. | 33 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdReturnColumnPacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 57 |
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 88 |
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 22 (max allowed is 10) classes [EnumMap, MySQLBitBinlogProtocolValue, MySQLBlobBinlogProtocolValue, MySQLDateBinlogProtocolValue, MySQLDatetime2BinlogProtocolValue, MySQLDatetimeBinlogProtocolValue, MySQLDecimalBinlogProtocolValue, MySQLDoubleBinlogProtocolValue, MySQLFloatBinlogProtocolValue, MySQLInt24BinlogProtocolValue, MySQLJsonBinlogProtocolValue, MySQLLongBinlogProtocolValue, MySQLLongLongBinlogProtocolValue, MySQLShortBinlogProtocolValue, MySQLStringBinlogProtocolValue, MySQLTime2BinlogProtocolValue, MySQLTimeBinlogProtocolValue, MySQLTimestamp2BinlogProtocolValue, MySQLTimestampBinlogProtocolValue, MySQLTinyBinlogProtocolValue, MySQLVarcharBinlogProtocolValue, MySQLYearBinlogProtocolValue]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 52 |
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 52 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 149 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 234 |
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 223 |
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 158 |
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 74 |
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 62 |
org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [OpenGaussComBatchBindPacket, PostgreSQLAggregatedCommandPacket, PostgreSQLComBindPacket, PostgreSQLComClosePacket, PostgreSQLComDescribePacket, PostgreSQLComExecutePacket, PostgreSQLComFlushPacket, PostgreSQLComParsePacket, PostgreSQLComQueryPacket, PostgreSQLComSyncPacket, PostgreSQLComTerminationPacket, PostgreSQLPacketPayload, PostgreSQLUnsupportedCommandPacket]. | 46 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 71 |
org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 91 |
org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 77 | |
| metrics | NPathComplexity | NPath Complexity is 8,192 (max allowed is 200). | 77 |
org/apache/shardingsphere/database/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [PostgreSQLAggregatedCommandPacket, PostgreSQLComBindPacket, PostgreSQLComClosePacket, PostgreSQLComDescribePacket, PostgreSQLComExecutePacket, PostgreSQLComFlushPacket, PostgreSQLComParsePacket, PostgreSQLComQueryPacket, PostgreSQLComSyncPacket, PostgreSQLComTerminationPacket, PostgreSQLPacketPayload, PostgreSQLUnsupportedCommandPacket]. | 41 |
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 41 | |
| metrics | NPathComplexity | NPath Complexity is 932 (max allowed is 200). | 41 |
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLBinaryColumnType.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [DatabaseProtocolException, PostgreSQLBitValueParser, PostgreSQLBoolValueParser, PostgreSQLDateValueParser, PostgreSQLDoubleValueParser, PostgreSQLFloatValueParser, PostgreSQLIntValueParser, PostgreSQLJsonValueParser, PostgreSQLLongValueParser, PostgreSQLNumericValueParser, PostgreSQLTextArrayValueParser, PostgreSQLTimeValueParser, PostgreSQLTimestampValueParser, PostgreSQLUnspecifiedValueParser, PostgreSQLVarcharArrayValueParser, PostgreSQLVarcharValueParser]. | 49 |
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [PostgreSQLBoolArrayBinaryProtocolValue, PostgreSQLBoolBinaryProtocolValue, PostgreSQLByteaBinaryProtocolValue, PostgreSQLDateBinaryProtocolValue, PostgreSQLDoubleBinaryProtocolValue, PostgreSQLFloat4ArrayBinaryProtocolValue, PostgreSQLFloat8ArrayBinaryProtocolValue, PostgreSQLFloatBinaryProtocolValue, PostgreSQLInt2ArrayBinaryProtocolValue, PostgreSQLInt2BinaryProtocolValue, PostgreSQLInt4ArrayBinaryProtocolValue, PostgreSQLInt4BinaryProtocolValue, PostgreSQLInt8ArrayBinaryProtocolValue, PostgreSQLInt8BinaryProtocolValue, PostgreSQLNumericBinaryProtocolValue, PostgreSQLStringArrayBinaryProtocolValue, PostgreSQLStringBinaryProtocolValue, PostgreSQLTextArrayBinaryProtocolValue, PostgreSQLTimeBinaryProtocolValue, PostgreSQLUUIDBinaryProtocolValue, PostgreSQLUnspecifiedBinaryProtocolValue]. | 32 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 32 |
org/apache/shardingsphere/distsql/handler/engine/update/DistSQLUpdateExecuteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 64 |
org/apache/shardingsphere/distsql/handler/executor/configuration/imports/YamlDatabaseConfigurationImportExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AtomicBoolean, ClusterMetaDataManagerPersistService, ConfigurationProperties, DataSourcePoolProperties, MetaDataContexts, MockedDataSource, Property, ReadwriteSplittingDataSourceGroupRuleConfiguration, ReadwriteSplittingRuleConfiguration, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, YamlDatabaseConfigurationImportExecutor]. | 84 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 84 |
org/apache/shardingsphere/distsql/parser/core/kernel/KernelDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 34 (max allowed is 10) classes [AlgorithmSegment, AlterComputeNodeStatement, AlterStorageUnitStatement, ConvertYamlConfigurationStatement, DatabaseSegment, ExportDatabaseConfigurationStatement, ExportMetaDataStatement, ExportStorageNodesStatement, FromDatabaseSegment, HostnameAndPortBasedDataSourceSegment, IdentifierValue, ImportDatabaseConfigurationStatement, ImportMetaDataStatement, LockClusterStatement, Properties, RefreshDatabaseMetaDataStatement, RefreshTableMetaDataStatement, RegisterStorageUnitStatement, SetComputeNodeStateStatement, SetDistVariableStatement, ShowComputeNodeInfoStatement, ShowComputeNodeModeStatement, ShowComputeNodesStatement, ShowDistVariableStatement, ShowDistVariablesStatement, ShowLogicalTablesStatement, ShowPluginsStatement, ShowRulesUsedStorageUnitStatement, ShowStorageUnitsStatement, ShowTableMetaDataStatement, StringLiteralValue, URLBasedDataSourceSegment, UnlockClusterStatement, UnregisterStorageUnitStatement]. | 112 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 79 (max allowed is 20). | 112 |
org/apache/shardingsphere/driver/executor/engine/DriverExecuteExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 55 |
org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/BatchPreparedStatementExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [BatchExecutionUnit, BatchPreparedStatementExecutor, ExecutionGroup, ExecutionGroupContext, ExecutionGroupReportContext, ExecutionUnit, JDBCExecutionUnit, JDBCExecutor, RuleAttributes, RuleMetaData, SQLException, SQLUnit, UUID]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 68 |
org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/DriverExecuteBatchExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 54 |
org/apache/shardingsphere/driver/executor/engine/facade/DriverExecutorFacade.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 54 |
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 69 |
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteQueryExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 56 |
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteUpdateExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 61 |
org/apache/shardingsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodCount | Number of public methods is 147 (max allowed is 100). | 29 | |
| sizes | MethodCount | Total number of methods is 147 (max allowed is 100). | 29 |
org/apache/shardingsphere/driver/jdbc/adapter/PreparedStatementAdapterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ByteArrayInputStream, ConfigurationProperties, Date, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, Properties, RuleMetaData, SQLFederationRule, SQLParserRule, ShardingSpherePreparedStatement, StringReader, Time, Timestamp]. | 59 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 59 |
org/apache/shardingsphere/driver/jdbc/adapter/StatementAdapterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CommitStatement, ConfigurationProperties, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, Properties, RollbackStatement, RuleMetaData, SQLFederationRule, SQLParserRule, SQLStatement, ShardingSphereStatement]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 65 |
org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConcurrentLinkedQueue, ConnectionClosedException, DatabaseTypeRegistry, DriverDatabaseConnectionManager, ForceExecuteTemplate, ProcessEngine, SQLException, SQLFeatureNotSupportedException, ShardingSphereDatabaseMetaData, ShardingSpherePreparedStatement, ShardingSphereStatement]. | 53 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 53 |
org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnectionTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 64 |
org/apache/shardingsphere/driver/jdbc/core/datasource/metadata/ShardingSphereDatabaseMetaDataTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 64 | |
| sizes | MethodCount | Number of package methods is 182 (max allowed is 100). | 64 | |
| sizes | MethodCount | Total number of methods is 184 (max allowed is 100). | 64 |
org/apache/shardingsphere/driver/jdbc/core/resultset/DistSQLResultSet.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 387 (max allowed is 200). | 98 |
org/apache/shardingsphere/driver/jdbc/core/resultset/MySQLResultSetValueConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 26 (max allowed is 10). | 39 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 91 | |
| metrics | NPathComplexity | NPath Complexity is 300 (max allowed is 200). | 91 |
org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSet.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 61 |
org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSetTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 82 | |
| sizes | MethodCount | Number of package methods is 104 (max allowed is 100). | 82 | |
| sizes | MethodCount | Total number of methods is 113 (max allowed is 100). | 82 |
org/apache/shardingsphere/driver/jdbc/core/statement/DistSQLStatementExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 71 |
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CommonSQLStatementContext, DatabaseTypeRegistry, DistSQLStatementExecutor, DriverExecuteBatchExecutor, DriverExecutorFacade, EmptySQLException, GeneratedKeysResultSet, QueryContext, SQLBindEngine, ShardingSphereParameterMetaData, StatementManager, StatementOption, UnknownDatabaseException]. | 74 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 74 |
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatementTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AtomicReference, CommitStatement, ConfigurationProperties, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, GeneratedKeysResultSet, ParseStatement, Properties, RollbackStatement, RuleMetaData, SQLException, SQLFederationRule, SQLParserRule, SQLStatement, ShardingSpherePreparedStatement, UnknownDatabaseException]. | 87 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 87 |
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [BatchStatementExecutor, CommonSQLStatementContext, DatabaseTypeRegistry, DistSQLStatementExecutor, DriverExecutorFacade, EmptySQLException, GeneratedKeysResultSet, QueryContext, SQLBindEngine, StatementManager, StatementOption, UnknownDatabaseException, UnknownSQLException]. | 71 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 71 |
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatementTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseProtocolException, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, NoDatabaseSelectedException, ParseStatement, Properties, RuleMetaData, SQLException, SQLFederationRule, SQLParserRule, ShardingSphereStatement, UnknownDatabaseException]. | 81 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 81 |
org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodCount | Number of public methods is 176 (max allowed is 100). | 28 | |
| sizes | MethodCount | Total number of methods is 176 (max allowed is 100). | 28 |
org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaDataTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | MethodCount | Number of package methods is 176 (max allowed is 100). | 29 | |
| sizes | MethodCount | Total number of methods is 176 (max allowed is 100). | 29 |
org/apache/shardingsphere/encrypt/checker/cryptographic/InsertSelectColumnsEncryptorCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlgorithmConfiguration, ColumnProjection, ColumnSegmentBoundInfo, EncryptColumnItemRuleConfiguration, EncryptColumnRuleConfiguration, EncryptRule, EncryptRuleConfiguration, EncryptTableRuleConfiguration, IdentifierValue, Properties, TableSegmentBoundInfo]. | 45 |
org/apache/shardingsphere/encrypt/checker/sql/openquery/EncryptOpenQuerySupportedChecker.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 45 (max allowed is 20). | 71 |
org/apache/shardingsphere/encrypt/checker/sql/openquery/EncryptOpenQuerySupportedCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 36 (max allowed is 10) classes [AliasSegment, BetweenExpression, BinaryOperationExpression, CaseWhenExpression, ColumnAssignmentSegment, ColumnSegment, CombineSegment, CommonTableExpressionSegment, DeleteMultiTableSegment, EncryptOpenQuerySupportedChecker, ExistsSubqueryExpression, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionSegment, FunctionTableSegment, HavingSegment, IdentifierValue, InExpression, InsertValuesSegment, JoinTableSegment, KeyValueSegment, LiteralExpressionSegment, MergeWhenAndThenSegment, NotExpression, OrderBySegment, ProjectionsSegment, QuantifySubqueryExpression, SetAssignmentSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubqueryTableSegment, TableNameSegment, WhereSegment, WithSegment]. | 80 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 80 |
org/apache/shardingsphere/encrypt/checker/sql/orderby/EncryptOrderByItemSupportedCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnSegment, ColumnSegmentBoundInfo, EncryptOrderByItemSupportedChecker, IdentifierValue, OrderByItem, OwnerSegment, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo, TablesContext]. | 56 |
org/apache/shardingsphere/encrypt/distsql/handler/update/AlterEncryptRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AlgorithmConfiguration, AlgorithmSegment, AlterEncryptRuleExecutor, AlterEncryptRuleStatement, ConfigurationProperties, DistSQLUpdateExecuteEngine, EncryptColumnItemRuleConfiguration, EncryptColumnItemSegment, EncryptColumnRuleConfiguration, EncryptColumnSegment, EncryptRuleConfiguration, EncryptRuleSegment, EncryptTableRuleConfiguration, Properties, RuleMetaData, ShardingSphereDatabase]. | 60 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 60 |
org/apache/shardingsphere/encrypt/distsql/handler/update/DropEncryptRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AlgorithmConfiguration, ConfigurationProperties, DistSQLUpdateExecuteEngine, DropEncryptRuleExecutor, DropEncryptRuleStatement, EncryptColumnItemRuleConfiguration, EncryptColumnRuleConfiguration, EncryptRuleConfiguration, EncryptTableRuleConfiguration, Properties, RuleMetaData, ShardingSphereDatabase]. | 56 |
org/apache/shardingsphere/encrypt/distsql/parser/core/EncryptDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AlgorithmSegment, AlterEncryptRuleStatement, CountRuleStatement, CreateEncryptRuleStatement, DatabaseSegment, DropEncryptRuleStatement, EncryptColumnItemSegment, EncryptColumnSegment, EncryptRuleSegment, FromDatabaseSegment, IdentifierValue, Properties, ShowEncryptRulesStatement, ShowPluginsStatement, TableNameSegment]. | 59 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 59 |
org/apache/shardingsphere/encrypt/merge/dal/show/EncryptShowCreateTableMergedResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AlgorithmConfiguration, CacheOption, CommonSQLStatementContext, EncryptAlgorithmMetaData, EncryptColumnItemRuleConfiguration, EncryptColumnRuleConfiguration, EncryptShowCreateTableMergedResult, EncryptTable, EncryptTableRuleConfiguration, IdentifierValue, MySQLShowCreateTableStatement, Properties, SQLParserRule, SQLParserRuleConfiguration, SimpleTableSegment, TableNameSegment]. | 67 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 67 |
org/apache/shardingsphere/encrypt/merge/dql/EncryptMergedResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AlgorithmConfiguration, AlgorithmSQLContext, CipherColumnItem, ColumnSegmentBoundInfo, ConfigurationProperties, Date, EncryptAlgorithmMetaData, EncryptColumn, EncryptMergedResult, IdentifierValue, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, TableSegmentBoundInfo]. | 66 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 66 |
org/apache/shardingsphere/encrypt/rewrite/context/EncryptSQLRewriteContextDecoratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlgorithmConfiguration, EncryptColumnItemRuleConfiguration, EncryptColumnRuleConfiguration, EncryptRule, EncryptRuleConfiguration, EncryptTableChangedProcessor, EncryptTableRuleConfiguration, IdentifierValue, Properties, SimpleTableSegment, TableNameSegment]. | 56 |
org/apache/shardingsphere/encrypt/rewrite/parameter/rewriter/EncryptAssignmentParameterRewriterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnSegment, ColumnSegmentBoundInfo, EncryptAssignmentParameterRewriter, EncryptColumn, IdentifierValue, ParameterMarkerExpressionSegment, SetAssignmentSegment, SimpleTableSegment, StandardParameterBuilder, TableNameSegment, TableSegmentBoundInfo, UpdateStatementContext]. | 50 |
org/apache/shardingsphere/encrypt/rewrite/token/EncryptTokenGenerateBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [EncryptAlterTableTokenGenerator, EncryptCreateTableTokenGenerator, EncryptGroupByItemTokenGenerator, EncryptIndexColumnTokenGenerator, EncryptInsertAssignmentTokenGenerator, EncryptInsertCipherNameTokenGenerator, EncryptInsertDefaultColumnsTokenGenerator, EncryptInsertDerivedColumnsTokenGenerator, EncryptInsertOnUpdateTokenGenerator, EncryptInsertPredicateColumnTokenGenerator, EncryptInsertPredicateValueTokenGenerator, EncryptInsertSelectProjectionTokenGenerator, EncryptInsertValuesTokenGenerator, EncryptPredicateColumnTokenGenerator, EncryptPredicateValueTokenGenerator, EncryptSelectProjectionTokenGenerator, EncryptUpdateAssignmentTokenGenerator]. | 53 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 53 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 56 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/assignment/EncryptAssignmentTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnSegment, ColumnSegmentBoundInfo, CommonExpressionSegment, EncryptAssignmentTokenGenerator, FunctionSegment, IdentifierValue, LiteralExpressionSegment, ParameterMarkerExpressionSegment, TableSegmentBoundInfo, TypeCastExpression, UnaryOperationExpression]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 75 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 66 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptAlterTableTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AddColumnDefinitionSegment, AlgorithmConfiguration, AssistedQueryColumnItem, ChangeColumnDefinitionSegment, CipherColumnItem, ColumnDefinitionSegment, ColumnSegment, CommonSQLStatementContext, DataTypeSegment, EncryptAlgorithmMetaData, EncryptAlterTableTokenGenerator, EncryptColumn, IdentifierValue, LikeQueryColumnItem, ModifyColumnDefinitionSegment, Properties, SimpleTableSegment, TableNameSegment]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 62 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/ddl/EncryptCreateTableTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AlgorithmConfiguration, AssistedQueryColumnItem, CipherColumnItem, ColumnDefinitionSegment, ColumnSegment, CommonSQLStatementContext, DataTypeSegment, EncryptAlgorithmMetaData, EncryptColumn, EncryptCreateTableTokenGenerator, IdentifierValue, LikeQueryColumnItem, Properties, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo]. | 60 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 60 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/fixture/EncryptGeneratorFixtureBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 32 (max allowed is 10) classes [AlgorithmConfiguration, BinaryOperationExpression, ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, ConfigurationProperties, EncryptColumnItemRuleConfiguration, EncryptColumnRuleConfiguration, EncryptInsertValuesToken, EncryptRule, EncryptRuleConfiguration, EncryptTableRuleConfiguration, IdentifierValue, InsertColumnsSegment, InsertStatementContext, InsertValue, InsertValuesSegment, LiteralExpressionSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, Properties, ResourceMetaData, RuleMetaData, SetAssignmentSegment, ShardingSphereMetaData, SimpleTableSegment, SubquerySegment, TableNameSegment, TableSegmentBoundInfo, UpdateStatementContext, WhereSegment]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 75 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 59 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertOnUpdateTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 63 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 65 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/insert/EncryptInsertValuesTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ColumnSegment, ConfigurationProperties, EncryptInsertValuesTokenGenerator, IdentifierValue, InsertColumnsSegment, InsertStatementContext, InsertValuesSegment, LiteralExpressionSegment, Properties, ResourceMetaData, RuleMetaData, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment, TemporalLiteralExpressionSegment]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 57 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateColumnTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 63 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/predicate/EncryptPredicateValueTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 54 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 74 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/projection/EncryptProjectionTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AlgorithmConfiguration, AliasSegment, AssistedQueryColumnItem, CipherColumnItem, ColumnProjection, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, DatabaseIdentifierContext, DatabaseTypeRegistry, EncryptAlgorithmMetaData, EncryptColumn, EncryptProjectionTokenGenerator, IdentifierValue, LikeQueryColumnItem, OwnerSegment, Properties, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo, TablesContext]. | 71 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 71 |
org/apache/shardingsphere/encrypt/rewrite/token/generator/select/EncryptGroupByItemTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnSegment, ColumnSegmentBoundInfo, DatabaseIdentifierContext, EncryptGroupByItemTokenGenerator, IdentifierValue, OrderByItem, OwnerSegment, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo, TablesContext]. | 54 |
org/apache/shardingsphere/infra/binder/context/SQLStatementContextFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlterViewStatementContext, CommonSQLStatementContext, CreateDatabaseObjectStatementContext, CreateViewStatementContext, CursorHeldSQLStatementContext, CursorStatementContext, DeleteStatementContext, ExplainStatementContext, InsertStatementContext, SelectStatementContext, UpdateStatementContext]. | 58 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 58 |
org/apache/shardingsphere/infra/binder/context/SQLStatementContextFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlterDatabaseStatement, CloseStatement, CursorStatement, FetchStatement, HintValueContext, IdentifierValue, LimitSegment, MoveStatement, ProjectionsSegment, SQLBindEngine, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment]. | 57 |
org/apache/shardingsphere/infra/binder/context/segment/insert/keygen/engine/GeneratedKeyContextEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [CaseInsensitiveMap, ColumnSegment, CommonExpressionSegment, GeneratedKeyContextEngine, IdentifierValue, InsertColumnsSegment, InsertValueContext, InsertValuesSegment, LiteralExpressionSegment, ParameterMarkerExpressionSegment, ShardingSphereColumn, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 55 |
org/apache/shardingsphere/infra/binder/context/segment/select/pagination/PaginationContextTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, GroupBySegment, IndexOrderByItemSegment, NumberLiteralLimitValueSegment, OrderBySegment, PaginationContext, ParameterMarkerLimitValueSegment, ProjectionsSegment, Properties, SelectStatementContext, ShardingSphereDatabase, ShardingSphereMetaData]. | 50 |
org/apache/shardingsphere/infra/binder/context/segment/select/pagination/engine/PaginationContextEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [BinaryOperationExpression, ColumnSegment, DialectPaginationOption, IdentifierValue, LimitSegment, LiteralExpressionSegment, NumberLiteralLimitValueSegment, NumberLiteralRowNumberValueSegment, PaginationContextEngine, ProjectionsContext, ProjectionsSegment, SubqueryProjectionSegment, SubquerySegment, TopProjectionSegment, WhereSegment]. | 50 |
org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, ColumnProjectionSegment, ColumnSegment, ExpressionProjectionSegment, IdentifierValue, OwnerSegment, ParameterMarkerExpressionSegment, ProjectionEngine, ShorthandProjectionSegment, WindowItemSegment]. | 51 |
org/apache/shardingsphere/infra/binder/context/segment/select/projection/engine/ProjectionsContextEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, GroupByContext, IdentifierValue, IndexOrderByItemSegment, OrderByContext, OrderByItem, OwnerSegment, ProjectionsContextEngine, ProjectionsSegment, ShorthandProjectionSegment, TableSegmentBoundInfo]. | 51 |
org/apache/shardingsphere/infra/binder/context/statement/type/ddl/CreateDatabaseObjectStatementContextTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CreateDatabaseObjectStatementContext, CreateProcedureStatement, CreateTriggerStatement, IdentifierValue, PackageSQLStatement, RoutineBodySegment, SQLStatementSegment, SimpleTableSegment, TableAwareSQLStatement, TableNameSegment, TableSQLStatementAttribute, ValidStatementSegment]. | 53 |
org/apache/shardingsphere/infra/binder/context/statement/type/dml/InsertStatementContextTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AliasSegment, BinaryOperationExpression, ColumnAssignmentSegment, ColumnSegment, CommonTableExpressionSegment, ConfigurationProperties, ExpressionProjectionSegment, IdentifierValue, InsertColumnsSegment, InsertStatementContext, InsertValuesSegment, LiteralExpressionSegment, OnDuplicateKeyColumnsSegment, OwnerSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, Properties, SetAssignmentSegment, ShardingSphereDatabase, ShardingSphereMetaData, SimpleTableSegment, SubquerySegment, TableNameSegment, TableSegmentBoundInfo, WhereSegment, WithSegment]. | 76 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 76 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 95 |
org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementBaseContext.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 43 (max allowed is 20). | 87 |
org/apache/shardingsphere/infra/binder/context/statement/type/dml/SelectStatementContextTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 37 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BinaryOperationExpression, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, CombineSegment, ConfigurationProperties, ExpressionOrderByItemSegment, GroupBySegment, HavingSegment, IdentifierValue, IndexOrderByItemSegment, JoinTableSegment, LimitSegment, LiteralExpressionSegment, NumberLiteralLimitValueSegment, OrderBySegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, PivotSegment, ProjectionsSegment, Properties, SelectStatementContext, ShardingSphereMetaData, ShorthandProjectionSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TableSegmentBoundInfo, WhereSegment]. | 94 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 48 (max allowed is 20). | 94 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/CommonTableExpressionDataModificationBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AliasSegment, AtomicReference, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, CommonTableExpressionSegment, HintValueContext, IdentifierValue, ProjectionsSegment, ReturningSegment, SQLStatementBinderContext, ShorthandProjectionSegment, TableSegmentBoundInfo]. | 66 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 66 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/assign/AssignmentSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AliasSegment, ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, HintValueContext, IdentifierValue, LiteralExpressionSegment, OnDuplicateKeyColumnsSegment, OwnerSegment, SQLStatementBinderContext, SetAssignmentSegment, SimpleTableSegment, SimpleTableSegmentBinderContext, TableNameSegment, TableSegmentBoundInfo]. | 61 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/expression/ExpressionSegmentBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 74 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 22 (max allowed is 10). | 87 | |
| metrics | JavaNCSS | NCSS for this method is 51 (max allowed is 50). | 87 | |
| metrics | NPathComplexity | NPath Complexity is 2,097,152 (max allowed is 200). | 87 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/expression/type/ColumnSegmentBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 64 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 233 | |
| metrics | NPathComplexity | NPath Complexity is 1,152 (max allowed is 200). | 233 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/expression/type/ColumnSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AliasSegment, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, HintValueContext, IdentifierValue, OwnerSegment, ParameterMarkerExpressionSegment, SQLStatementBinderContext, SimpleTableSegmentBinderContext, TableSegmentBoundInfo]. | 72 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 72 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/expression/type/SubquerySegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, HintValueContext, IdentifierValue, ProjectionsSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, SimpleTableSegmentBinderContext, SubquerySegment, TableNameSegment, TableSegmentBoundInfo, WhereSegment]. | 61 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 61 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/from/type/JoinTableSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AliasSegment, ColumnSegment, FunctionSegment, FunctionTableSegment, HintValueContext, IdentifierValue, JoinTableSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, TableNameSegment]. | 59 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/from/type/SimpleTableSegmentBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AliasSegment, ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, DatabaseTypeRegistry, DuplicateIndexException, IdentifierValue, IndexNotFoundException, NoDatabaseSelectedException, OwnerSegment, SchemaNotFoundException, SimpleTableSegment, SimpleTableSegmentBinderContext, SystemDatabase, TableExistsException, TableNameSegment, TableNotFoundException, TableSegmentBoundInfo, UnknownDatabaseException]. | 84 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 43 (max allowed is 20). | 84 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 166 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 38 (max allowed is 10). | 320 | |
| metrics | NPathComplexity | NPath Complexity is 186,624 (max allowed is 200). | 320 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/from/type/SimpleTableSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AliasSegment, ColumnProjectionSegment, ColumnSegment, HintValueContext, IdentifierValue, OwnerSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, SimpleTableSegmentBinderContext, TableNameSegment]. | 66 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 66 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/from/type/SubqueryTableSegmentBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ColumnProjectionSegment, ColumnSegment, ColumnSegmentBoundInfo, DifferenceInColumnCountOfSelectListAndColumnNameListException, IdentifierValue, OwnerSegment, SQLStatementBinderContext, SelectStatementBinder, SimpleTableSegmentBinderContext, SubquerySegment, SubqueryTableSegment, TableSegmentBoundInfo]. | 56 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/from/type/SubqueryTableSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AliasSegment, ColumnProjectionSegment, ColumnSegment, ConfigurationProperties, HintValueContext, IdentifierValue, ProjectionsSegment, Properties, ResourceMetaData, RuleMetaData, SQLStatementBinderContext, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShorthandProjectionSegment, SimpleTableSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 68 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/projection/ProjectionsSegmentBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 63 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 107 | |
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 107 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/projection/type/ShorthandProjectionSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AliasSegment, ColumnProjectionSegment, ColumnSegment, IdentifierValue, JoinTableSegment, OwnerSegment, PivotSegment, ShorthandProjectionSegment, SimpleTableSegment, SimpleTableSegmentBinderContext, SubquerySegment, SubqueryTableSegment, TableNameSegment]. | 50 |
org/apache/shardingsphere/infra/binder/engine/segment/dml/with/CommonTableExpressionSegmentBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 72 |
org/apache/shardingsphere/infra/binder/engine/statement/ddl/CreateTableStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CreateTableStatementBinder, ExecuteStatement, HintValueContext, IdentifierValue, LiteralExpressionSegment, OwnerSegment, ProjectionsSegment, SQLStatementBinderContext, ShardingSphereColumn, ShorthandProjectionSegment, SimpleTableSegment, TableNameSegment]. | 51 |
org/apache/shardingsphere/infra/binder/engine/statement/ddl/CreateViewStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ColumnProjectionSegment, ColumnSegment, CreateViewStatement, CreateViewStatementBinder, ExpressionProjectionSegment, HintValueContext, IdentifierValue, LiteralExpressionSegment, ProjectionsSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, TableNameSegment, ViewColumnSegment]. | 51 |
org/apache/shardingsphere/infra/binder/engine/statement/ddl/PrepareStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 53 |
org/apache/shardingsphere/infra/binder/engine/statement/dml/DeleteStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AliasSegment, BinaryOperationExpression, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CommonTableExpressionSegment, DeleteStatementBinder, ErrorLoggingSegment, HintValueContext, IdentifierValue, LiteralExpressionSegment, OrderBySegment, ProjectionsSegment, ReturningSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, SubquerySegment, TableNameSegment, WhereSegment, WithSegment]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 63 |
org/apache/shardingsphere/infra/binder/engine/statement/dml/InsertStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [BinaryOperationExpression, ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, CommentSegment, ErrorLoggingSegment, HintValueContext, IdentifierValue, InsertColumnsSegment, InsertStatementBinder, InsertValuesSegment, LiteralExpressionSegment, OnDuplicateKeyColumnsSegment, OwnerSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SQLStatementBinderContext, ShardingSphereColumn, SimpleTableSegment, SubqueryExpressionSegment, SubquerySegment, TableNameSegment, WhereSegment]. | 67 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 67 |
org/apache/shardingsphere/infra/binder/engine/statement/dml/SelectStatementBinder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 72 |
org/apache/shardingsphere/infra/binder/engine/statement/dml/SelectStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 36 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, BinaryOperationExpression, CaseWhenExpression, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommentSegment, CommonTableExpressionSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, HierarchicalQuerySegment, HintValueContext, IdentifierValue, JoinTableSegment, ListExpression, LiteralExpressionSegment, OrderBySegment, OwnerSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SQLStatementBinderContext, SelectStatementBinder, ShardingSphereColumn, ShorthandProjectionSegment, SimpleTableSegment, SubqueryExpressionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 95 |
org/apache/shardingsphere/infra/binder/engine/statement/dml/UpdateStatementBinderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 25 (max allowed is 10) classes [AliasSegment, BinaryOperationExpression, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CommonTableExpressionSegment, ErrorLoggingSegment, HintValueContext, IdentifierValue, LiteralExpressionSegment, OrderBySegment, OwnerSegment, ProjectionsSegment, ReturningSegment, SQLStatementBinderContext, SetAssignmentSegment, ShardingSphereColumn, ShorthandProjectionSegment, SimpleTableSegment, SubquerySegment, TableNameSegment, UpdateStatementBinder, WhereSegment, WithSegment]. | 74 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 74 |
org/apache/shardingsphere/infra/binder/engine/type/DDLStatementBindEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AlterIndexStatementBinder, AlterTableStatementBinder, AlterViewStatementBinder, CommentStatementBinder, CreateIndexStatementBinder, CreateTableStatementBinder, CreateViewStatementBinder, CursorStatementBinder, DropIndexStatementBinder, DropTableStatementBinder, DropViewStatementBinder, PrepareStatementBinder, RenameTableStatementBinder, TruncateStatementBinder]. | 54 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 54 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 63 | |
| metrics | NPathComplexity | NPath Complexity is 16,384 (max allowed is 200). | 63 |
org/apache/shardingsphere/infra/config/rule/validator/constraint/spi/SPITypeExistsValidatorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CyclicBarrier, DirectConfiguration, InvalidSPIClassConfiguration, MapConfiguration, MissingSPIClassConfiguration, MissingTypeGetterConfiguration, NestedConfiguration, ObjectSPIConfiguration, PrivateTypeGetterConfiguration, SPIConfiguration, SPITypeExistsValidator, ThrowingSPIConfiguration, UnhashableType]. | 69 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 |
org/apache/shardingsphere/infra/connection/kernel/KernelProcessorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, DropTableStatement, HintValueContext, IdentifierValue, KernelProcessor, Properties, Property, QueryContext, RuleAttributes, RuleMetaData, SQLTranslatorContext, ShardingSphereDatabase, SimpleTableSegment, TableNameSegment]. | 74 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 74 |
org/apache/shardingsphere/infra/datasource/pool/creator/DataSourcePoolReflection.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 133 |
org/apache/shardingsphere/infra/executor/sql/context/ExecutionContextBuilderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ConfigurationProperties, ExecutionUnit, GenericSQLRewriteResult, Properties, ResourceMetaData, RouteMapper, RouteSQLRewriteResult, RouteUnit, RuleMetaData, SQLRewriteUnit, SQLUnit, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable]. | 54 |
org/apache/shardingsphere/infra/executor/sql/execute/engine/driver/jdbc/JDBCExecutorCallbackTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 59 |
org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/memory/JDBCMemoryQueryResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 59 |
org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/stream/JDBCStreamQueryResult.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 91 | |
| metrics | NPathComplexity | NPath Complexity is 524,288 (max allowed is 200). | 91 |
org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/driver/jdbc/type/util/ResultSetUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 69 | |
| metrics | NPathComplexity | NPath Complexity is 18,435 (max allowed is 200). | 69 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 206 |
org/apache/shardingsphere/infra/executor/sql/execute/result/query/impl/raw/metadata/RawResultSetMetaData.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 26 (max allowed is 10). | 153 |
org/apache/shardingsphere/infra/executor/sql/process/ProcessEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 51 |
org/apache/shardingsphere/infra/hint/SQLHintUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 58 | |
| metrics | NPathComplexity | NPath Complexity is 640 (max allowed is 200). | 58 |
org/apache/shardingsphere/infra/merge/result/impl/local/LocalDataQueryResultRow.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 44 | |
| metrics | NPathComplexity | NPath Complexity is 4,860 (max allowed is 200). | 44 |
org/apache/shardingsphere/infra/metadata/database/ShardingSphereDatabaseTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [ConfigurationProperties, DataSourcePoolProperties, FixtureDataSource, IdentifierValue, MockedDataSource, Properties, Property, ResourceMetaData, RuleAttributes, RuleMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable, StorageNode, StorageUnit]. | 89 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 89 |
org/apache/shardingsphere/infra/metadata/database/schema/builder/GenericSchemaBuilderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConfigurationProperties, DataNode, GenericSchemaBuilderMaterial, MockedDataSource, Properties, Property, ResourceMetaData, RuleAttributes, SchemaMetaData, ShardingSphereSchema, TableMetaData]. | 79 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 79 |
org/apache/shardingsphere/infra/metadata/database/schema/reviser/schema/SchemaMetaDataReviseEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ColumnMetaData, ConfigurationProperties, ConstraintMetaData, FixtureGlobalRule, IndexMetaData, Properties, SchemaMetaData, SchemaMetaDataReviseEngine, ShardingSphereIndex, ShardingSphereSchema, ShardingSphereTable, TableMetaData]. | 57 |
org/apache/shardingsphere/infra/metadata/database/schema/util/SchemaMetaDataUtilsTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 68 |
org/apache/shardingsphere/infra/metadata/identifier/DatabaseIdentifierContextFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AssertionError, ConfigurationProperties, DataSourcePoolProperties, FixtureDataSource, IdentifierIndex, IdentifierValue, LowerCaseTableNamesDataSource, Properties, Property, ResourceMetaData, StorageNode, StorageUnit]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 65 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 818 |
org/apache/shardingsphere/infra/metadata/identifier/IdentifierIndex.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 210 | |
| metrics | NPathComplexity | NPath Complexity is 432 (max allowed is 200). | 210 |
org/apache/shardingsphere/infra/props/TypedPropertyValue.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 38 | |
| metrics | NPathComplexity | NPath Complexity is 1,328 (max allowed is 200). | 38 |
org/apache/shardingsphere/infra/rewrite/SQLRewriteEntryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, Properties, RouteContext, RouteMapper, RuleMetaData, SQLRewriteEntry, SQLStatementAttributes, SQLTranslatorContext, SQLTranslatorRule, ShardingSphereDatabase, ShardingSphereSchema]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 57 |
org/apache/shardingsphere/infra/rewrite/engine/RouteSQLRewriteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, DataNode, DefaultSQLTranslatorRuleConfigurationBuilder, HintValueContext, Properties, RouteContext, RouteMapper, RouteSQLRewriteEngine, RouteUnit, SQLRewriteContext, SQLTranslatorRule, ShardingSphereSchema]. | 55 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 55 |
org/apache/shardingsphere/infra/route/engine/tableless/TablelessRouteEngineFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 55 |
org/apache/shardingsphere/infra/route/engine/tableless/TablelessRouteEngineFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 65 |
org/apache/shardingsphere/infra/yaml/data/swapper/YamlRowStatisticsSwapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 74 | |
| metrics | NPathComplexity | NPath Complexity is 288 (max allowed is 200). | 74 |
org/apache/shardingsphere/mask/distsql/parser/core/MaskDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlgorithmSegment, AlterMaskRuleStatement, CountRuleStatement, CreateMaskRuleStatement, DatabaseSegment, DropMaskRuleStatement, FromDatabaseSegment, IdentifierValue, MaskColumnSegment, MaskRuleSegment, Properties, ShowMaskRulesStatement, ShowPluginsStatement]. | 56 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 56 |
org/apache/shardingsphere/mcp/bootstrap/config/yaml/validator/HttpTransportConfigurationValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 120 |
org/apache/shardingsphere/mcp/bootstrap/transport/HttpTransportOriginUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 49 |
org/apache/shardingsphere/mcp/bootstrap/transport/capability/completion/MCPCompletionSpecificationFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [DatabaseIdentifierContext, InMemoryWorkflowSessionStore, MCPCompletionResult, MCPCompletionSpecificationFactory, MCPSessionIdentity, MCPSessionManager, McpSchema.CompleteRequest, McpSchema.CompleteRequest.CompleteArgument, McpSchema.CompleteRequest.CompleteContext, McpSchema.PromptReference, McpSchema.ResourceReference, RuntimeDatabaseProfile, WorkflowContextSnapshot]. | 59 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 59 |
org/apache/shardingsphere/mcp/bootstrap/transport/capability/resource/MCPResourceSpecificationFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 71 |
org/apache/shardingsphere/mcp/bootstrap/transport/capability/tool/AbstractMCPToolSpecificationFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CallToolRequest, JsonTypeReference, MCPRuntimeContext, MCPSessionIdentity, MCPSessionManager, MCPToolDefinition, MCPToolDescriptor, MCPToolSpecificationFactory, McpSchema.ClientCapabilities, McpSchema.ClientCapabilities.Elicitation, McpSchema.ClientCapabilities.Elicitation.Form, McpSchema.ClientCapabilities.Elicitation.Url]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 64 |
org/apache/shardingsphere/mcp/bootstrap/transport/capability/tool/MCPCallToolResultFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlgorithmPropertyRequirement, CallToolRequest, ClarifiedIntent, DefaultJsonSchemaValidator, EncryptWorkflowRequest, InteractionPlan, MCPCallToolResultFactory, MCPErrorPayload, MCPMapPayload, RuleArtifact, SQLExecutionColumnDefinition, WorkflowContextSnapshot, WorkflowRequest]. | 87 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 87 |
org/apache/shardingsphere/mcp/bootstrap/transport/capability/tool/MCPToolElicitationHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 136 |
org/apache/shardingsphere/mcp/bootstrap/transport/server/MCPSyncServerFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [MCPSyncServerFactory, McpSchema.CompleteResult, McpSchema.CompleteResult.CompleteCompletion, McpSchema.GetPromptResult, McpSchema.JsonSchema, McpSchema.Prompt, McpSchema.PromptReference, McpSchema.ReadResourceResult, McpSchema.TextResourceContents, SyncCompletionSpecification, SyncPromptSpecification, SyncResourceSpecification, SyncResourceTemplateSpecification, SyncToolSpecification, TestServerTransportProvider, TestStreamableTransportProvider]. | 58 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 58 |
org/apache/shardingsphere/mcp/bootstrap/transport/server/http/StreamableHttpMCPServlet.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 61 |
org/apache/shardingsphere/mcp/bootstrap/transport/server/http/StreamableHttpMCPServletTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [CountDownLatch, HttpTransportConfiguration, IOException, InitializeResult, MCPSessionIdentity, MCPSessionManager, MCPTransportSecurityException, McpSchema.ClientCapabilities, McpSchema.Implementation, McpSchema.InitializeRequest, McpStreamableServerSession.McpStreamableServerSessionInit, PrintWriter, ServletException, SessionAttributionSourceConfiguration, StreamableHttpMCPServlet, StringWriter]. | 87 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 87 |
org/apache/shardingsphere/mcp/core/completion/MCPCompletionServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [BlockingCompletionHandler, DatabaseIdentifierContext, InferredContextCompletionHandler, MCPCompletionService, MCPCompletionTargetDescriptor, MCPSessionExecutionCoordinator, MCPSessionIdentity, MCPSessionManager, MetadataCompletionHandler, MissingContextCompletionHandler, RuntimeDatabaseProfile, SizedCompletionHandler, UnexpectedCompletionHandler, WorkflowContextSnapshot, WorkflowPlanIdCompletionHandler]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 75 |
org/apache/shardingsphere/mcp/core/completion/handler/MetadataCompletionHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 21 (max allowed is 10). | 208 |
org/apache/shardingsphere/mcp/core/performance/MCPPerformanceBudgetSmokeTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ClarifiedIntent, InMemoryWorkflowSessionStore, MCPCompletionRequest, MCPCompletionTargetDescriptor, MCPFeatureRuntimeRequestContext, MCPResourceURIVariables, MCPSessionIdentity, SearchMetadataToolHandler, ServerCapabilitiesHandler, WorkflowContextSnapshot, WorkflowPlanIdCompletionHandler, WorkflowRequest]. | 56 |
org/apache/shardingsphere/mcp/core/protocol/error/MCPErrorConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 33 (max allowed is 10) classes [DatabaseCapabilityNotFoundException, ExplainSQLSyntaxException, MCPBannedSQLStatementException, MCPDatabaseQueryFailedException, MCPDatabaseSQLSyntaxException, MCPExecutionModeRequiredException, MCPInvalidApprovedStepsException, MCPInvalidExecutionModeException, MCPInvalidMetadataObjectTypesException, MCPInvalidRequestException, MCPInvalidToolArgumentException, MCPMissingToolArgumentException, MCPMultipleSQLStatementsException, MCPQueryFailedException, MCPTimeoutException, MCPToolArgumentContractViolationException, MCPToolCallLimitExceededException, MCPTransactionStateException, MCPUnavailableException, MCPUnsupportedException, MCPUnsupportedSQLStatementException, MCPWorkflowStateException, MetadataIntrospectionSQLStatementException, RuleDistSQLExecutionException, RuntimeDatabaseConnectionException, SQLException, SQLFeatureNotSupportedException, SQLSyntaxErrorException, SQLTimeoutException, SQLToolMismatchException, SQLTransientConnectionException, UnsupportedResourceUriException, UnsupportedToolException]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 75 |
org/apache/shardingsphere/mcp/core/protocol/error/MCPRecoveryPayloadSupport.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 55 | |
| metrics | NPathComplexity | NPath Complexity is 3,456 (max allowed is 200). | 55 |
org/apache/shardingsphere/mcp/core/resource/ResourceTestDataFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AtomicInteger, DatabaseMetadataFixture, DefaultSchemaOption, MCPDatabaseCapabilityProvider, MCPFeatureRuntimeRequestContext, MCPRuntimeContext, MCPSessionIdentity, MCPSessionManager, MetadataSPIMocks, RequestContextFixture, SchemaMetadataFixture, TableMetadataFixture]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 65 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 350 |
org/apache/shardingsphere/mcp/core/tool/handler/MCPToolArgumentContract.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 146 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 151 |
org/apache/shardingsphere/mcp/core/tool/handler/ToolDefinitionRegistryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 71 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/MCPJdbcStatementExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 54 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/MCPJdbcStatementExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AtomicInteger, ClassificationResult, Error, MCPJdbcStatementExecutor, SQLException, SQLExecutionColumnDefinition, SQLExecutionRequest, SQLFeatureNotSupportedException, SQLSyntaxErrorException, SQLTimeoutException, SQLTransientConnectionException]. | 76 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 76 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/MCPSQLExecutionFacade.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 46 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/MCPSQLExecutionFacadeTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 93 (max allowed is 10) classes [AggregationProjectionSegment, AlterDatabaseStatement, AlterIndexStatement, AlterViewStatement, BetweenExpression, BinaryOperationExpression, CaseWhenExpression, ClassificationResult, CollateExpression, CollectionTableSegment, ColumnAssignmentSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CreateMaterializedViewStatement, DatabaseIdentifierContext, DatetimeExpression, DatetimeProjectionSegment, DeleteMultiTableSegment, DropDatabaseStatement, EmptyStatement, ExecSegment, ExpressionLimitValueSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionNameSegment, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, HierarchicalQuerySegment, IdentifierValue, InExpression, IndexNameSegment, IndexSegment, InsertValuesSegment, IntervalDayToSecondExpression, IntervalExpression, IntervalExpressionProjection, JoinTableSegment, KeyValueSegment, LimitSegment, ListExpression, LiteralExpressionSegment, MCPBannedSQLStatementException, MCPInvalidRequestException, MCPQueryFailedException, MCPSQLExecutionFacade, MCPSessionNotExistedException, MCPStatementAnalyzer, MatchAgainstExpression, MergeWhenAndThenSegment, ModelColumnSegment, ModelSegment, MultiTableConditionalIntoElseSegment, MultiTableConditionalIntoSegment, MultiTableConditionalIntoThenSegment, MultiTableConditionalIntoWhenThenSegment, MultiTableInsertIntoSegment, NotExpression, OnDuplicateKeyColumnsSegment, OrderBySegment, OutputSegment, OwnerSegment, ProjectionsSegment, QuantifySubqueryExpression, ReturningSegment, RowExpression, SQLException, SQLExecutionRequest, SQLSyntaxErrorException, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TypeCastExpression, UnaryOperationExpression, ValuesExpression, WhereSegment, WindowItemSegment, WindowSegment, XmlElementFunctionSegment, XmlPiFunctionSegment, XmlQueryAndExistsFunctionSegment, XmlSerializeFunctionSegment, XmlTableColumnSegment, XmlTableFunctionSegment, XmlTableOptionsSegment]. | 173 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 120 (max allowed is 20). | 173 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/MCPStatementAnalyzer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 55 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 124 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 177 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 199 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/SQLStatementObjectExtractor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 66 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/SQLStatementSafetyValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 56 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 126 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/SQLStatementScanner.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 115 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 260 | |
| metrics | NPathComplexity | NPath Complexity is 2,307 (max allowed is 200). | 260 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 348 |
org/apache/shardingsphere/mcp/core/tool/handler/execute/SQLStatementTreeWalker.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 78 (max allowed is 20). | 101 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 28 (max allowed is 10). | 336 |
org/apache/shardingsphere/mcp/feature/encrypt/tool/model/EncryptWorkflowOptions.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 124 |
org/apache/shardingsphere/mcp/feature/encrypt/tool/service/EncryptWorkflowPlanningServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AlgorithmPropertyRequirement, DatabaseIdentifierContext, EncryptAlgorithmPropertyTemplateService, EncryptAlgorithmRecommendationService, EncryptRuleDistSQLPlanningService, EncryptWorkflowPlanningService, EncryptWorkflowRequest, MCPColumnMetadata, RuleArtifact, RuntimeDatabaseProfile, ShardingSphereSchema, ShardingSphereTable, TestWorkflowSessionContext, WorkflowIssue]. | 70 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 70 |
org/apache/shardingsphere/mcp/feature/encrypt/tool/service/EncryptWorkflowValidationService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 64 |
org/apache/shardingsphere/mcp/feature/mask/tool/service/MaskWorkflowPlanningServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AlgorithmPropertyRequirement, DatabaseIdentifierContext, MCPColumnMetadata, MaskRuleDistSQLPlanningService, MaskWorkflowPlanningService, RuleArtifact, RuntimeDatabaseProfile, ShardingSphereSchema, ShardingSphereTable, TestWorkflowSessionContext, WorkflowIssue, WorkflowRequest]. | 70 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 70 |
org/apache/shardingsphere/mcp/feature/readwritesplitting/ReadwriteSplittingMCPHandlerProvider.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [LoadBalanceAlgorithmPluginsHandler, PlanReadwriteSplittingRuleToolHandler, PlanReadwriteSplittingStatusToolHandler, ReadwriteSplittingLoadBalanceAlgorithmCompletionHandler, ReadwriteSplittingRuleCountHandler, ReadwriteSplittingRuleHandler, ReadwriteSplittingRuleStatusHandler, ReadwriteSplittingRuleWorkflowValidationService, ReadwriteSplittingRulesHandler, ReadwriteSplittingStatusHandler, ReadwriteSplittingStatusWorkflowValidationService, WorkflowRuntimeDefinition]. | 43 |
org/apache/shardingsphere/mcp/feature/readwritesplitting/tool/service/ReadwriteSplittingRuleWorkflowValidationService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 146 |
org/apache/shardingsphere/mcp/feature/sharding/tool/service/ShardingWorkflowValidationService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 216 (max allowed is 200). | 172 |
org/apache/shardingsphere/mcp/support/database/metadata/jdbc/AbstractMCPJdbcMetadataLoaderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 77 |
org/apache/shardingsphere/mcp/support/database/metadata/jdbc/MCPJdbcMetadataLoaderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 58 |
org/apache/shardingsphere/mcp/support/database/metadata/query/MetadataQueryServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 78 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 496 |
org/apache/shardingsphere/mcp/support/database/tool/service/RuntimeDatabaseValidationServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ClassNotFoundException, DatabaseIdentifierContext, IdentifierCasePolicySet, MCPMetadataSnapshot, RuntimeDatabaseConfiguration, RuntimeDatabaseProfile, RuntimeDatabaseValidationRequest, RuntimeDatabaseValidationService, SQLException, SQLTimeoutException, ShardingSphereSchema]. | 69 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogLoaderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [IOException, MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceDescriptor, MCPShardingSphereDescriptorCatalog, MCPUriVariableDescriptor, ShardingSphereMCPResourceMetadata, URL, URLClassLoader]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 57 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogValidatorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceAnnotations, MCPResourceDescriptor, MCPShardingSphereDescriptorCatalog, MCPToolDescriptor, MCPToolRuntimeDescriptor]. | 43 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogYamlSwapper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceAnnotations, MCPResourceDescriptor, MCPResourceNavigationDescriptor, MCPShardingSphereDescriptorCatalog, MCPToolDescriptor, MCPToolRuntimeDescriptor, MCPUriVariableDescriptor, ShardingSphereMCPResourceMetadata]. | 50 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 50 |
org/apache/shardingsphere/mcp/support/descriptor/MCPToolDescriptorCatalogValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 81 |
org/apache/shardingsphere/mcp/support/descriptor/MCPToolInputSchemaValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 223 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowArtifactMaskUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 182 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 7 (max allowed is 3). | 189 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanPayloadBuilderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | JavaNCSS | NCSS for this method is 52 (max allowed is 50). | 61 | |
| sizes | ExecutableStatementCount | Executable statement count is 51 (max allowed is 50). | 61 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanningContextValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 84 | |
| metrics | NPathComplexity | NPath Complexity is 1,024 (max allowed is 200). | 84 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanningSupportTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ClarifiedIntent, DatabaseIdentifierContext, InteractionPlan, MCPColumnMetadata, RuntimeDatabaseProfile, ShardingSphereSchema, ShardingSphereTable, TestWorkflowSessionContext, WorkflowContextSnapshot, WorkflowIssue, WorkflowPlanningSupport, WorkflowRequest]. | 62 |
org/apache/shardingsphere/mode/manager/ContextManager.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, GenericSchemaBuilderMaterial, IdentifierValue, MetaDataContextManager, MetaDataContexts, MetaDataContextsFactory, NoDatabaseSelectedException, PersistServiceFacade, RuleMetaData, ShardingSphereMetaData, ShardingSphereSchema, StateContext, UnknownDatabaseException]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 65 |
org/apache/shardingsphere/mode/manager/ContextManagerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [ComputeNodeInstance, ConfigurationProperties, ContextManager, IdentifierValue, JDBCInstanceMetaData, MockedDataSource, ModeConfiguration, Properties, ProxyInstanceMetaData, ResourceMetaData, RuleAttributes, RuleMetaData, SQLException, SchemaMetaData, ShardingSphereDatabase, ShardingSphereSchema, SwitchingResource, TableMetaData, TemporaryConfigurationProperties]. | 109 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 43 (max allowed is 20). | 109 |
org/apache/shardingsphere/mode/manager/cluster/ClusterContextManagerBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ClusterExclusiveOperatorContext, ClusterWorkerIdGenerator, ComputeNodeInstance, ComputeNodeInstanceContext, ContextManager, DataChangedEventListenerRegistry, DeliverEventSubscriberRegistry, ExclusiveOperatorEngine, MetaDataContextsFactory, MetaDataPersistFacade, MissingRequiredClusterRepositoryConfigurationException]. | 53 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 53 |
org/apache/shardingsphere/mode/manager/cluster/dispatch/listener/type/DatabaseMetaDataChangedListener.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ActiveVersionChecker, NamedRuleItemConfigurationChangedHandler, NodePathSearchCriteria, RuleTypeConfigurationChangedHandler, SchemaChangedHandler, StorageNodeChangedHandler, StorageUnitChangedHandler, TableChangedHandler, UniqueRuleItemConfigurationChangedHandler, VersionNodePath, ViewChangedHandler]. | 48 |
org/apache/shardingsphere/mode/manager/cluster/persist/service/ClusterMetaDataManagerPersistServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ClusterMetaDataManagerPersistService, ConfigurationProperties, MetaDataContexts, Properties, ResourceMetaData, RuleAttributes, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, SingleRuleConfiguration]. | 89 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 89 |
org/apache/shardingsphere/mode/manager/standalone/persist/service/StandaloneMetaDataManagerPersistService.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 64 |
org/apache/shardingsphere/mode/manager/standalone/persist/service/StandaloneMetaDataManagerPersistServiceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseRuleItem, DatabaseRuleNodePath, MetaDataVersion, Properties, RuleAttributes, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, SingleRuleConfiguration, StandaloneMetaDataManagerPersistService]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 65 |
org/apache/shardingsphere/mode/metadata/factory/MetaDataContextsFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [ConfigurationProperties, ContextManagerBuilderParameter, DataSourcePoolProperties, DataSourceProvidedDatabaseConfiguration, MetaDataContexts, MetaDataContextsFactory, MockedDataSource, MockedRule, MockedRuleConfiguration, Properties, ResourceMetaData, RuleMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereStatistics, ShardingSphereTable, StorageNode, SwitchingResource]. | 86 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 86 |
org/apache/shardingsphere/mode/metadata/factory/init/type/LocalConfigurationMetaDataContextsInitFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConfigurationProperties, ContextManagerBuilderParameter, DatabaseStatistics, LocalConfigurationMetaDataContextsInitFactory, Properties, ResourceMetaData, RuleMetaData, SchemaStatistics, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereStatistics]. | 66 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 66 |
org/apache/shardingsphere/mode/metadata/factory/init/type/RegisterCenterMetaDataContextsInitFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 75 |
org/apache/shardingsphere/mode/metadata/manager/resource/StorageUnitManagerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 74 |
org/apache/shardingsphere/mode/metadata/manager/statistics/StatisticsManagerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [ConfigurationProperties, DatabaseStatistics, MetaDataContexts, Properties, ResourceMetaData, RowStatistics, RuleMetaData, SchemaStatistics, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereStatistics, ShardingSphereTable, StatisticsManager, TableStatistics, YamlRowStatistics]. | 52 |
org/apache/shardingsphere/mode/metadata/persist/metadata/DatabaseMetaDataPersistFacadeTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, DatabaseMetaDataPersistFacade, MetaDataContexts, Properties, ResourceMetaData, RuleMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShardingSphereView]. | 73 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 73 |
org/apache/shardingsphere/mode/metadata/refresher/federation/type/AlterViewFederationMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlterViewStatement, ConfigurationProperties, IdentifierValue, Properties, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereView, SimpleTableSegment, TableNameSegment]. | 53 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/PushDownMetaDataRefreshEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, DatabaseIdentifierContext, DropTablePushDownMetaDataRefresher, DropTableStatement, IdentifierValue, Properties, PushDownMetaDataManagerPersistServiceFixture, PushDownMetaDataRefreshEngine, RouteMapper, RouteUnit, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 65 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/index/AlterIndexPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AlterIndexStatement, ConfigurationProperties, IdentifierValue, IndexNameSegment, IndexSegment, OwnerSegment, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereSchema, ShardingSphereTable]. | 47 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/index/CreateIndexPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ColumnSegment, ConfigurationProperties, IdentifierValue, IndexNameSegment, IndexSegment, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 50 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/index/DropIndexPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ConfigurationProperties, IdentifierValue, IndexNameSegment, IndexSegment, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 50 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/AlterTablePushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlterTablePushDownMetaDataRefresher, ConfigurationProperties, IdentifierValue, JdbcDataSource, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 47 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/CreateTablePushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [ColumnSegment, ConfigurationProperties, ConstraintDefinitionSegment, CreateTableCandidateMetaDataReviseEntry, CreateTableCandidateRule, CreateTablePushDownMetaDataRefresher, DataNode, IdentifierValue, IndexNameSegment, IndexSegment, JdbcDataSource, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, SimpleTableSegment, TableNameSegment]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 75 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/DropTablePushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, DropTableStatement, IdentifierValue, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 44 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/table/RenameTablePushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, IdentifierValue, Properties, PushDownMetaDataManagerPersistServiceFixture, RenameTableDefinitionSegment, RenameTableStatement, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 43 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/view/AlterViewPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AlterViewPushDownMetaDataRefresher, AlterViewStatement, ConfigurationProperties, IdentifierValue, JdbcDataSource, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereView, SimpleTableSegment, TableNameSegment]. | 47 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/view/CreateViewPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [ConfigurationProperties, CreateViewPushDownMetaDataRefresher, CreateViewStatement, DataNode, DistributedTableRule, IdentifierValue, JdbcDataSource, Properties, PushDownMetaDataManagerPersistServiceFixture, RecordingMetaDataManagerPersistService, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, SimpleTableSegment, SingleTableRule, TableNameSegment]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 63 |
org/apache/shardingsphere/mode/metadata/refresher/pushdown/type/view/DropViewPushDownMetaDataRefresherTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, DropViewStatement, IdentifierValue, Properties, PushDownMetaDataManagerPersistServiceFixture, ResourceMetaData, RuleMetaData, ShardingSphereDatabase, ShardingSphereSchema, ShardingSphereView, SimpleTableSegment, TableNameSegment]. | 44 |
org/apache/shardingsphere/mode/metadata/refresher/util/TableRefreshUtilsTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ConfigurationProperties, DataNode, DatabaseIdentifierContext, IdentifierValue, Properties, ResourceMetaData, RuleAttributes, RuleMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereSchema, ShardingSphereTable, ShardingSphereView, SingleRuleConfiguration]. | 60 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 60 |
org/apache/shardingsphere/mode/repository/cluster/etcd/EtcdRepositoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 74 |
org/apache/shardingsphere/mode/repository/cluster/zookeeper/ZookeeperRepositoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 165 |
org/apache/shardingsphere/proxy/backend/connector/DatabaseProxyConnectorFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 63 |
org/apache/shardingsphere/proxy/backend/connector/ProxyDatabaseConnectionManagerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ContextManager, ExecutionUnit, JDBCBackendStatement, MetaDataContexts, PreparedStatementCacheContext, PreparedStatementCacheKey, ProxyDatabaseConnectionManager, RequiredSessionVariableRecorder, RuleMetaData, SQLException, SQLUnit, ShardingSphereStatistics, StatementOption, TransactionConnectionContext, TransactionStatus]. | 110 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 45 (max allowed is 20). | 110 |
org/apache/shardingsphere/proxy/backend/connector/ProxySQLExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [DatabaseTypeRegistry, DriverExecutionPrepareEngine, ExecutionGroupReportContext, JDBCExecutor, ProxyJDBCExecutor, RawExecutionPrepareEngine, RawExecutor, RawSQLExecutorCallback, SQLFederationEngine, StatementOption, TableModifyInTransactionException]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 50 (max allowed is 20). | 95 |
org/apache/shardingsphere/proxy/backend/connector/ProxySQLExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 28 (max allowed is 10) classes [CloseStatement, CommonExpressionSegment, CursorStatement, DialectTransactionOption, ExecutionGroup, ExecutionGroupContext, ExecutionUnit, FetchStatement, GeneratedKeyContext, IdentifierValue, JDBCExecutionUnit, LiteralExpressionSegment, MoveStatement, ParameterMarkerExpressionSegment, ProxySQLExecutor, RuleAttributes, RuleMetaData, SQLException, SQLFederationCacheOption, SQLFederationRule, SQLFederationRuleConfiguration, SQLStatement, SQLUnit, ShardingSphereRule, SimpleTableSegment, TableNameSegment, TablesContext, TruncateStatement]. | 137 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 68 (max allowed is 20). | 137 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 454 | |
| metrics | JavaNCSS | NCSS for this method is 103 (max allowed is 50). | 454 | |
| sizes | ExecutableStatementCount | Executable statement count is 81 (max allowed is 50). | 454 |
org/apache/shardingsphere/proxy/backend/connector/StandardDatabaseProxyConnector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [ConcurrentHashMap, DatabaseTypeRegistry, DriverExecutionPrepareEngine, EmptyRuleException, EmptyStorageUnitException, FederationMetaDataRefreshEngine, IteratorStreamMergedResult, JDBCStreamQueryResult, KernelProcessor, MergeEngine, ProxyBackendTransactionManager, ProxySQLExecutor, PushDownMetaDataRefreshEngine, PushDownSQLExecutionCheckEngine, QueryHeaderBuilderEngine, QueryResponseCell, QueryResponseHeader, QueryResponseRow, SQLException, SQLFederationContext, ShardingSphereResultSetMetaData, StatementOption, UpdateResponseHeader]. | 106 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 59 (max allowed is 20). | 106 |
org/apache/shardingsphere/proxy/backend/connector/StandardDatabaseProxyConnectorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 32 (max allowed is 10) classes [AnalyzeTableStatement, CloseStatement, ConfigurationProperties, CursorConnectionContext, CursorHeldSQLStatementContext, CursorNameSegment, CursorStatement, ExecutionContext, ExecutionUnit, GeneratedKeyContext, HintValueContext, IdentifierValue, MetaDataContexts, ProjectionsContext, Properties, QueryContext, QueryHeader, QueryHeaderBuilderFixture, RouteContext, RuleMetaData, SQLException, SQLParserRule, SQLParserRuleConfiguration, SQLStatement, SQLUnit, ShardingSphereMetaData, ShardingSphereStatistics, SimpleTableSegment, StandardDatabaseProxyConnector, TableNameSegment, UnsupportedSQLOperationException, UpdateResult]. | 150 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 79 (max allowed is 20). | 150 |
org/apache/shardingsphere/proxy/backend/connector/jdbc/datasource/JDBCBackendDataSourceTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 80 |
org/apache/shardingsphere/proxy/backend/connector/jdbc/executor/callback/ProxyJDBCExecutorCallbackTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 81 |
org/apache/shardingsphere/proxy/backend/connector/jdbc/transaction/ProxyBackendTransactionManagerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 82 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 132 | |
| metrics | NPathComplexity | NPath Complexity is 1,024 (max allowed is 200). | 132 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 192 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 249 | |
| metrics | NPathComplexity | NPath Complexity is 576 (max allowed is 200). | 249 |
org/apache/shardingsphere/proxy/backend/handler/ProxyBackendHandlerFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 76 |
org/apache/shardingsphere/proxy/backend/handler/ProxyBackendHandlerFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AuthorityRule, ConfigurationProperties, DefaultAuthorityRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, DefaultTransactionRuleConfigurationBuilder, EmptyStatement, Grantee, HintValueContext, Properties, RenameTableStatement, RuleMetaData, SQLParserRule, ShardingSphereDatabase, TransactionRule]. | 101 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 101 |
org/apache/shardingsphere/proxy/backend/handler/admin/executor/DatabaseMetaDataExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 71 |
org/apache/shardingsphere/proxy/backend/handler/data/type/UnicastDatabaseProxyBackendHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConfigurationProperties, HintValueContext, MetaDataContexts, Properties, QueryContext, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, UnicastDatabaseProxyBackendHandler, UpdateResponseHeader]. | 74 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 74 |
org/apache/shardingsphere/proxy/backend/handler/distsql/DistSQLExecutorSPITest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 51 |
org/apache/shardingsphere/proxy/backend/handler/distsql/DistSQLProxyBackendHandlerFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 86 |
org/apache/shardingsphere/proxy/backend/handler/distsql/DistSQLQueryProxyBackendHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 30 (max allowed is 10) classes [ConfigurationProperties, ConnectionContext, ContextManager, DatabaseSegment, DefaultSQLParserRuleConfigurationBuilder, DistSQLQueryProxyBackendHandler, DistSQLStatementContext, ExecutionContext, ExecutionUnit, FromDatabaseSegment, HintValueContext, IdentifierValue, LocalDataQueryResultRow, MetaDataContexts, PreviewStatement, Properties, QueryContext, ResourceMetaData, RuleMetaData, SQLParserRule, SQLStatementAttributes, SQLUnit, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereStatistics, ShardingSphereTable, ShowTableMetaDataStatement]. | 89 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 41 (max allowed is 20). | 89 |
org/apache/shardingsphere/proxy/backend/handler/distsql/DistSQLUpdateProxyBackendHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/export/ExportDatabaseConfigurationExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlgorithmConfiguration, ColumnKeyGenerateStrategiesRuleConfiguration, DatabaseSegment, ExportDatabaseConfigurationStatement, FromDatabaseSegment, IdentifierValue, MockedDataSource, NoneShardingStrategyConfiguration, Properties, Property, ShardingRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 68 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/export/ExportMetaDataExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AuthorityRule, ComputeNodeInstance, ComputeNodeInstanceContext, ConfigurationProperties, DefaultAuthorityRuleConfigurationBuilder, DefaultGlobalClockRuleConfigurationBuilder, EventBusContext, ExportMetaDataStatement, GlobalClockRule, MetaDataContexts, MockedDataSource, ModeConfiguration, Properties, Property, ResourceMetaData, RuleMetaData, ShardingSphereMetaData, ShardingSphereStatistics, StandaloneWorkerIdGenerator, TemporaryConfigurationProperties]. | 90 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 90 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/export/ExportStorageNodesExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AlgorithmConfiguration, AuthorityRule, ColumnKeyGenerateStrategiesRuleConfiguration, ConfigurationProperties, DefaultAuthorityRuleConfigurationBuilder, ExportStorageNodesStatement, MetaDataContexts, MockedDataSource, NoneShardingStrategyConfiguration, Properties, Property, ResourceMetaData, RuleMetaData, ShardingRuleConfiguration, ShardingSphereMetaData, ShardingSphereStatistics, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration]. | 82 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 82 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/queryable/export/ShowTableMetaDataExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseSegment, FromDatabaseSegment, IdentifierValue, Properties, ResourceMetaData, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereSchema, ShardingSphereTable, ShowTableMetaDataExecutor, ShowTableMetaDataStatement]. | 55 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/updatable/imports/ImportMetaDataExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AuthorityRule, ComputeNodeInstance, ComputeNodeInstanceContext, ConfigurationProperties, DefaultAuthorityRuleConfigurationBuilder, DefaultGlobalClockRuleConfigurationBuilder, EventBusContext, GlobalClockRule, ImportMetaDataStatement, MetaDataContexts, MockedDataSource, ModeConfiguration, Properties, Property, ResourceMetaData, RuleMetaData, ShardingSphereMetaData, ShardingSphereStatistics, StandaloneWorkerIdGenerator, TemporaryConfigurationProperties]. | 81 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 81 |
org/apache/shardingsphere/proxy/backend/handler/distsql/ral/updatable/variable/SetDistVariableExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ComputeNodeInstance, ComputeNodeInstanceContext, ConfigurationProperties, ContextManager, EventBusContext, MetaDataContexts, ModeConfiguration, Properties, SetDistVariableStatement, ShardingSphereMetaData, ShardingSphereStatistics]. | 55 |
org/apache/shardingsphere/proxy/backend/handler/distsql/rul/PreviewExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AtomicReference, ConfigurationProperties, ConnectionContext, CursorHeldSQLStatementContext, CursorNameSegment, CursorSQLStatementAttribute, DataSourcePoolProperties, DefaultSQLParserRuleConfigurationBuilder, DistSQLConnectionContext, ExecutionContext, ExecutionUnit, HintValueContext, IdentifierValue, JDBCExecutionUnit, PreviewStatement, Properties, ResourceMetaData, RuleMetaData, SQLException, SQLParserRule, SQLStatementAttributes, SQLUnit, ShardingSphereMetaData, ShardingSphereSchema, StorageNode, StorageUnit]. | 104 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 104 |
org/apache/shardingsphere/proxy/backend/handler/tcl/local/LocalTCLProxyBackendHandlerFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 48 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 58 | |
| metrics | NPathComplexity | NPath Complexity is 432 (max allowed is 200). | 58 |
org/apache/shardingsphere/proxy/backend/handler/tcl/local/LocalTCLProxyBackendHandlerFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [BeginTransactionStatement, CommitStatement, DefaultTransactionRuleConfigurationBuilder, ReleaseSavepointStatement, RollbackStatement, RuleMetaData, SavepointStatement, SetAutoCommitStatement, SetTransactionStatement, StartTransactionStatement, TCLStatement, TransactionConnectionContext, TransactionRule, TransactionStatus]. | 77 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 77 |
org/apache/shardingsphere/proxy/backend/mysql/connector/sane/MySQLDialectSaneQueryResultEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ExpressionProjectionSegment, IdentifierValue, MySQLDialectSaneQueryResultEngine, MySQLShowOtherStatement, ProjectionsSegment, SQLException, SetStatement, ShorthandProjectionSegment, SimpleTableSegment, TableNameSegment, VariableSegment]. | 50 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/MySQLAdminExecutorCreatorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, ExpressionProjectionSegment, IdentifierValue, MetaDataContexts, MockedDataSource, MySQLAdminExecutorCreator, MySQLShowCreateDatabaseStatement, MySQLShowDatabasesStatement, MySQLShowFunctionStatusStatement, MySQLShowProcedureStatusStatement, MySQLShowProcessListStatement, MySQLShowTablesStatement, MySQLUseStatement, OwnerSegment, Properties, ResourceMetaData, SetStatement, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics, SimpleTableSegment, TableNameSegment, VariableSegment]. | 92 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 92 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 60 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/MySQLSetVariableAdminExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 71 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/SelectInformationSchemataExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ConfigurationProperties, DatabasePermittedPrivileges, DefaultSQLParserRuleConfigurationBuilder, Grantee, MetaDataContexts, MockedDataSource, Properties, ResourceMetaData, RuleMetaData, SQLParserRule, SelectInformationSchemataExecutor, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereStatistics]. | 77 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 77 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 62 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/select/UnicastResourceShowExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 65 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowDatabasesExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConcurrentHashMap, ConfigurationProperties, Grantee, MySQLShowDatabasesExecutor, MySQLShowDatabasesStatement, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShowFilterSegment, ShowLikeSegment]. | 57 |
org/apache/shardingsphere/proxy/backend/mysql/handler/admin/executor/show/MySQLShowTablesExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseSegment, FromDatabaseSegment, IdentifierValue, MySQLShowTablesExecutor, MySQLShowTablesStatement, Properties, RuleMetaData, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShowLikeSegment]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 65 |
org/apache/shardingsphere/proxy/backend/util/YamlDatabaseConfigurationImportExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 84 |
org/apache/shardingsphere/proxy/frontend/command/CommandExecutorTaskTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 74 |
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 37 (max allowed is 20). | 84 |
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 16 (max allowed is 10) classes [ColumnProjection, ColumnSegmentBoundInfo, DatabaseProtocolException, DropDatabaseStatement, FirebirdGenericResponsePacket, FirebirdPrepareStatementReturnPacket, FirebirdReturnColumnPacket, FirebirdServerPreparedStatement, IdentifierValue, NoDatabaseSelectedException, ProjectionEngine, SQLBindEngine, ShardingSphereColumn, ShardingSphereTable, TableNotFoundException, UnsupportedSQLOperationException]. | 113 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 66 (max allowed is 20). | 113 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 184 | |
| metrics | NPathComplexity | NPath Complexity is 1,728 (max allowed is 200). | 184 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 265 |
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]. | 100 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 45 (max allowed is 20). | 100 |
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). | 77 | |
| metrics | NPathComplexity | NPath Complexity is 288 (max allowed is 200). | 77 |
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 |
org/apache/shardingsphere/proxy/frontend/netty/CDCChannelInboundHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 66 |
org/apache/shardingsphere/proxy/frontend/netty/CDCChannelInboundHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [AccessDeniedException, CDCChannelInboundHandler, CDCConnectionContext, CDCExceptionWrapper, CDCLoginFailedException, EmbeddedChannel, EmptyCDCLoginRequestBodyException, InetSocketAddress, LoggingHandler, MissingRequiredRuleException, PipelineInternalException, PipelineInvalidParameterException, RuleMetaData, SchemaNotFoundException, ShardingSphereUser, SocketAddress, UnknownDatabaseException]. | 105 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 54 (max allowed is 20). | 105 |
org/apache/shardingsphere/proxy/frontend/netty/FrontendChannelInboundHandlerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 91 |
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 |
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 |
org/apache/shardingsphere/proxy/initializer/BootstrapInitializerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 84 |
org/apache/shardingsphere/readwritesplitting/distsql/parser/core/ReadwriteSplittingDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AlgorithmSegment, AlterReadwriteSplittingRuleStatement, AlterReadwriteSplittingStorageUnitStatusStatement, CountRuleStatement, CreateReadwriteSplittingRuleStatement, DatabaseSegment, DropReadwriteSplittingRuleStatement, FromDatabaseSegment, IdentifierValue, Properties, ReadwriteSplittingRuleSegment, ShowReadwriteSplittingRulesStatement, ShowStatusFromReadwriteSplittingRulesStatement]. | 56 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 56 |
org/apache/shardingsphere/readwritesplitting/route/ReadwriteSplittingSQLRouterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ConfigurationProperties, HintValueContext, Properties, QueryContext, ReadwriteSplittingDataSourceGroupRuleConfiguration, ReadwriteSplittingRule, ReadwriteSplittingRuleConfiguration, RouteContext, RouteMapper, RouteUnit, RuleMetaData, ShardingSphereDatabase]. | 62 |
org/apache/shardingsphere/schedule/core/job/statistics/collect/StatisticsCollectJobWorkerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 74 |
org/apache/shardingsphere/shadow/distsql/handler/update/AlterShadowRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 69 |
org/apache/shardingsphere/shadow/distsql/parser/core/ShadowDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AlgorithmSegment, AlterDefaultShadowAlgorithmStatement, AlterShadowRuleStatement, CountRuleStatement, CreateDefaultShadowAlgorithmStatement, CreateShadowRuleStatement, DatabaseSegment, DropDefaultShadowAlgorithmStatement, DropShadowAlgorithmStatement, DropShadowRuleStatement, FromDatabaseSegment, IdentifierValue, Properties, ShadowAlgorithmSegment, ShadowRuleSegment, ShowDefaultShadowAlgorithmStatement, ShowPluginsStatement, ShowShadowAlgorithmsStatement, ShowShadowRulesStatement, ShowShadowTableRulesStatement]. | 76 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 43 (max allowed is 20). | 76 |
org/apache/shardingsphere/sharding/api/config/ShardingRuleConfigurationTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AlgorithmConfiguration, ColumnKeyGenerateStrategiesRuleConfiguration, ComplexShardingStrategyConfiguration, HintShardingStrategyConfiguration, KeyGenerateStrategyConfiguration, NoneShardingStrategyConfiguration, Properties, SequenceKeyGenerateStrategiesRuleConfiguration, ShardingAuditStrategyConfiguration, ShardingAutoTableRuleConfiguration, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration, UnsupportedKeyGenerateStrategiesConfiguration]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 57 |
org/apache/shardingsphere/sharding/api/config/validator/ShardingRuleConfigurationValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 39 |
org/apache/shardingsphere/sharding/checker/config/ShardingRuleConfigurationEmptyChecker.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 28 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 12 (max allowed is 3). | 30 |
org/apache/shardingsphere/sharding/checker/sql/ShardingSupportedSQLCheckersBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ShardingAlterIndexSupportedChecker, ShardingAlterTableSupportedChecker, ShardingAlterViewSupportedChecker, ShardingCreateFunctionSupportedChecker, ShardingCreateIndexSupportedChecker, ShardingCreateProcedureSupportedChecker, ShardingCreateTableSupportedChecker, ShardingCreateViewSupportedChecker, ShardingDropIndexSupportedChecker, ShardingDropTableSupportedChecker, ShardingInsertSupportedChecker, ShardingMultipleTablesSupportedChecker, ShardingRenameTableSupportedChecker, ShardingTableSupportedChecker]. | 46 |
org/apache/shardingsphere/sharding/checker/sql/dml/ShardingInsertSupportedCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnSegment, IdentifierValue, InsertStatementContext, OnDuplicateKeyColumnsSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, ShardingInsertSupportedChecker, ShardingSphereMetaData, SimpleTableSegment, SubquerySegment, TableNameSegment, TablesContext]. | 60 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 60 |
org/apache/shardingsphere/sharding/decider/ShardingSQLFederationDecider.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 55 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 70 | |
| metrics | NPathComplexity | NPath Complexity is 540 (max allowed is 200). | 70 |
org/apache/shardingsphere/sharding/distsql/handler/checker/ShardingTableRuleStatementChecker.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AlgorithmInitializationException, BindingTableCheckedConfiguration, CaseInsensitiveSet, DataNode, DataNodeInfo, DuplicateRuleException, DuplicateShardingActualDataNodeException, InvalidAlgorithmDefinitionException, InvalidRuleConfigurationException, InvalidShardingStrategyConfigurationException, KeyGenerateStrategyConfiguration, MissingRequiredRuleException, MissingRequiredStorageUnitsException, NoneShardingStrategyConfiguration, PreciseShardingValue, ShardingAlgorithmClassImplementationException, ShardingRuleConfiguration, ShardingTable, ShardingTableRuleNotFoundException]. | 91 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 91 |
org/apache/shardingsphere/sharding/distsql/handler/checker/ShardingTableRuleStatementCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AlgorithmConfiguration, AlgorithmSegment, AuditStrategySegment, AutoTableRuleSegment, ColumnKeyGenerateStrategiesRuleConfiguration, KeyGenerateStrategySegment, MockedDataSource, Properties, Property, ResourceMetaData, RuleMetaData, ShardingAuditorSegment, ShardingAutoTableRuleConfiguration, ShardingRuleConfiguration, ShardingStrategySegment, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration, TableRuleSegment]. | 72 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 72 |
org/apache/shardingsphere/sharding/distsql/handler/converter/ShardingTableRuleStatementConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 61 |
org/apache/shardingsphere/sharding/distsql/handler/update/AlterShardingTableRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AlgorithmConfiguration, AlgorithmSegment, AlterShardingTableRuleExecutor, AlterShardingTableRuleStatement, AutoTableRuleSegment, ColumnKeyGenerateStrategiesRuleConfiguration, KeyGenerateStrategySegment, MockedDataSource, Properties, Property, ResourceMetaData, RuleMetaData, ShardingAutoTableRuleConfiguration, ShardingDistSQLParserFacade, ShardingRuleChecker, ShardingRuleConfiguration, ShardingStrategySegment, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration, TableRuleSegment]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 68 |
org/apache/shardingsphere/sharding/distsql/handler/update/CreateShardingTableRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AlgorithmConfiguration, AlgorithmSegment, AutoTableRuleSegment, ColumnKeyGenerateStrategiesRuleConfiguration, CreateShardingTableRuleExecutor, CreateShardingTableRuleStatement, KeyGenerateStrategySegment, MockedDataSource, Properties, Property, ResourceMetaData, RuleAttributes, RuleMetaData, ShardingAutoTableRuleConfiguration, ShardingDistSQLParserFacade, ShardingRuleChecker, ShardingRuleConfiguration, ShardingStrategySegment, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration, TableRuleSegment]. | 77 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 77 |
org/apache/shardingsphere/sharding/distsql/handler/update/DropShardingTableRuleExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ColumnKeyGenerateStrategiesRuleConfiguration, DropShardingTableRuleExecutor, DropShardingTableRuleStatement, IdentifierValue, ShardingAuditStrategyConfiguration, ShardingAutoTableRuleConfiguration, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration, TableNameSegment]. | 55 |
org/apache/shardingsphere/sharding/distsql/parser/core/ShardingDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 48 (max allowed is 10) classes [AlgorithmSegment, AlterDefaultShardingStrategyStatement, AlterShardingKeyGenerateStrategyStatement, AlterShardingKeyGeneratorStatement, AlterShardingTableReferenceRuleStatement, AlterShardingTableRuleStatement, AuditStrategySegment, AutoTableRuleSegment, ColumnKeyGenerateStrategyDefinitionSegment, CountRuleStatement, CreateDefaultShardingStrategyStatement, CreateShardingKeyGenerateStrategyStatement, CreateShardingKeyGeneratorStatement, CreateShardingTableReferenceRuleStatement, CreateShardingTableRuleStatement, DatabaseSegment, DropDefaultShardingStrategyStatement, DropShardingAlgorithmStatement, DropShardingAuditorStatement, DropShardingKeyGenerateStrategyStatement, DropShardingKeyGeneratorStatement, DropShardingTableReferenceRuleStatement, DropShardingTableRuleStatement, FromDatabaseSegment, IdentifierValue, KeyGenerateStrategySegment, Properties, SequenceKeyGenerateStrategyDefinitionSegment, ShardingAuditorSegment, ShardingStrategySegment, ShowDefaultShardingStrategyStatement, ShowPluginsStatement, ShowShardingAlgorithmsStatement, ShowShardingAuditorsStatement, ShowShardingKeyGenerateStrategiesStatement, ShowShardingKeyGeneratorsStatement, ShowShardingTableNodesStatement, ShowShardingTableReferenceRulesStatement, ShowShardingTableRulesStatement, ShowShardingTableRulesUsedAlgorithmStatement, ShowShardingTableRulesUsedAuditorStatement, ShowShardingTableRulesUsedKeyGeneratorStatement, ShowUnusedShardingAlgorithmsStatement, ShowUnusedShardingAuditorsStatement, ShowUnusedShardingKeyGeneratorsStatement, TableNameSegment, TableReferenceRuleSegment, TableRuleSegment]. | 139 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 106 (max allowed is 20). | 139 |
org/apache/shardingsphere/sharding/merge/ShardingResultMergerEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ColumnSegment, CommonSQLStatementContext, ConfigurationProperties, FetchStatement, IdentifierValue, InsertColumnsSegment, InsertStatementContext, ProjectionsSegment, Properties, SQLStatementAttributes, SelectStatementContext, ShardingResultMergerEngine, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment]. | 56 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 56 |
org/apache/shardingsphere/sharding/merge/ddl/ShardingDDLResultMergerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CursorConnectionContext, CursorHeldSQLStatementContext, CursorNameSegment, FetchStatement, IdentifierValue, ProjectionsSegment, SelectStatementContext, ShardingDDLResultMerger, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment]. | 58 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 58 |
org/apache/shardingsphere/sharding/merge/ddl/fetch/FetchStreamMergedResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CursorConnectionContext, CursorHeldSQLStatementContext, CursorNameSegment, CursorStatement, CursorStatementContext, DirectionSegment, FetchStatement, IdentifierValue, ProjectionsSegment, ShardingDDLResultMerger, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 68 |
org/apache/shardingsphere/sharding/merge/dql/ShardingDQLResultMerger.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 53 |
org/apache/shardingsphere/sharding/merge/dql/ShardingDQLResultMergerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 27 (max allowed is 10) classes [AggregationProjectionSegment, AtomicReference, ColumnProjectionSegment, ColumnSegment, ConfigurationProperties, DatabaseTypeRegistry, ExpressionProjectionSegment, GroupBySegment, IdentifierValue, IndexOrderByItemSegment, LimitSegment, LiteralExpressionSegment, NumberLiteralLimitValueSegment, NumberLiteralRowNumberValueSegment, OrderBySegment, ProjectionsSegment, Properties, SelectStatementContext, ShardingDQLResultMerger, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShorthandProjectionSegment, SimpleTableSegment, TableNameSegment]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 45 (max allowed is 20). | 95 |
org/apache/shardingsphere/sharding/merge/dql/groupby/GroupByMemoryMergedResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, BigDecimal, ColumnProjectionSegment, ColumnSegment, GroupBySegment, IdentifierValue, IndexOrderByItemSegment, OrderBySegment, ProjectionsSegment, SelectStatementContext, ShardingDQLResultMerger, ShardingSphereMetaData, ShorthandProjectionSegment, SimpleTableSegment, TableNameSegment, WindowItemSegment]. | 70 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 70 |
org/apache/shardingsphere/sharding/merge/dql/groupby/aggregation/AggregationUnitFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 40 |
org/apache/shardingsphere/sharding/merge/dql/orderby/CompareUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 41 | |
| metrics | NPathComplexity | NPath Complexity is 216 (max allowed is 200). | 41 |
org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByStreamMergedResultTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ConfigurationProperties, IdentifierValue, IndexOrderByItemSegment, OrderBySegment, ProjectionsSegment, Properties, SelectStatementContext, ShardingDQLResultMerger, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 62 |
org/apache/shardingsphere/sharding/merge/dql/orderby/OrderByValueTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ColumnOrderByItemSegment, ColumnSegment, IdentifierValue, IndexOrderByItemSegment, OrderByItem, OrderBySegment, OrderByValue, ProjectionsSegment, SelectStatementContext, ShardingSphereMetaData, ShardingSphereTable]. | 58 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 58 |
org/apache/shardingsphere/sharding/rewrite/token/ShardingTokenGenerateBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [GeneratedKeyAssignmentTokenGenerator, GeneratedKeyForUseDefaultInsertColumnsTokenGenerator, GeneratedKeyInsertColumnTokenGenerator, GeneratedKeyInsertValuesTokenGenerator, ShardingAggregationDistinctTokenGenerator, ShardingConstraintTokenGenerator, ShardingCursorTokenGenerator, ShardingDistinctProjectionPrefixTokenGenerator, ShardingFetchDirectionTokenGenerator, ShardingIndexTokenGenerator, ShardingInsertValuesTokenGenerator, ShardingOffsetTokenGenerator, ShardingOrderByTokenGenerator, ShardingProjectionsTokenGenerator, ShardingRemoveTokenGenerator, ShardingRowCountTokenGenerator, ShardingTableTokenGenerator]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 52 |
org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingOrderByTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnSegment, ExpressionOrderByItemSegment, GroupBySegment, HavingSegment, IdentifierValue, IndexOrderByItemSegment, OrderByItem, OwnerSegment, RouteContext, RouteMapper, RouteUnit, SQLBuilderEngine, ShardingOrderByTokenGenerator, SimpleTableSegment, TableNameSegment, WhereSegment, WindowSegment]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 63 |
org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 55 |
org/apache/shardingsphere/sharding/rewrite/token/generator/impl/ShardingProjectionsTokenGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AggregationDistinctProjection, AggregationProjectionSegment, ColumnOrderByItemSegment, ColumnSegment, DerivedProjection, IdentifierValue, OwnerSegment, RouteContext, RouteMapper, RouteUnit, ShardingProjectionsTokenGenerator]. | 56 |
org/apache/shardingsphere/sharding/route/checker/ShardingRuleCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AlgorithmConfiguration, BindingTableCheckedConfiguration, MockedDataSource, NoneShardingStrategyConfiguration, Property, ShardingRule, ShardingRuleChecker, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration]. | 44 |
org/apache/shardingsphere/sharding/route/engine/checker/ShardingRouteContextCheckerFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ShardingAlterTableRouteContextChecker, ShardingCreateTableRouteContextChecker, ShardingCreateViewRouteContextChecker, ShardingDeleteRouteContextChecker, ShardingDropIndexRouteContextChecker, ShardingDropTableRouteContextChecker, ShardingInsertRouteContextChecker, ShardingPrepareRouteContextChecker, ShardingRenameTableRouteContextChecker, ShardingSelectRouteContextChecker, ShardingUpdateRouteContextChecker]. | 54 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 54 |
org/apache/shardingsphere/sharding/route/engine/checker/ddl/ShardingDropTableRouteContextCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 60 |
org/apache/shardingsphere/sharding/route/engine/checker/dml/ShardingInsertRouteContextCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnSegment, DataNode, IdentifierValue, InsertColumnsSegment, InsertStatementContext, OnDuplicateKeyColumnsSegment, ParameterMarkerExpressionSegment, Property, RouteContext, RouteMapper, RouteUnit, ShardingInsertRouteContextChecker, ShardingSphereMetaData, SimpleTableSegment, TableNameSegment]. | 69 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 69 |
org/apache/shardingsphere/sharding/route/engine/checker/dml/ShardingSelectRouteContextCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AggregationProjectionSegment, ExpressionOrderByItemSegment, GroupBySegment, HavingSegment, IdentifierValue, ProjectionsSegment, RouteContext, RouteMapper, RouteUnit, ShardingSelectRouteContextChecker, WindowItemSegment]. | 59 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 59 |
org/apache/shardingsphere/sharding/route/engine/checker/dml/ShardingUpdateRouteContextCheckerTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnSegment, IdentifierValue, LiteralExpressionSegment, Property, RouteContext, RouteMapper, RouteUnit, SetAssignmentSegment, ShardingUpdateRouteContextChecker, SimpleTableSegment, TableNameSegment, UpdateStatementContext]. | 61 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 61 |
org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 58 |
org/apache/shardingsphere/sharding/route/engine/condition/engine/InsertClauseShardingConditionEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 77 |
org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 69 |
org/apache/shardingsphere/sharding/route/engine/condition/engine/WhereClauseShardingConditionEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BetweenExpression, BigDecimal, BinaryOperationExpression, ColumnSegment, IdentifierValue, InExpression, ListExpression, LiteralExpressionSegment, ParameterMarkerExpressionSegment, UnaryOperationExpression, WhereClauseShardingConditionEngine]. | 67 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 67 |
org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [BetweenExpression, BinaryOperationExpression, ColumnSegment, ConditionValueBetweenOperatorGenerator, ConditionValueCompareOperatorGenerator, ConditionValueInOperatorGenerator, HashColumn, IdentifierValue, InExpression, ListExpression, LiteralExpressionSegment, ParameterMarkerExpressionSegment]. | 46 |
org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BetweenExpression, ColumnSegment, CommonExpressionSegment, ConditionValueBetweenOperatorGenerator, HashColumn, IdentifierValue, LiteralExpressionSegment, ParameterMarkerExpressionSegment, Properties, TimestampServiceRule, TimestampServiceRuleConfiguration]. | 55 |
org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueCompareOperatorGenerator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 61 | |
| metrics | NPathComplexity | NPath Complexity is 480 (max allowed is 200). | 61 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 100 |
org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueInOperatorGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [BinaryOperationExpression, ColumnSegment, CommonExpressionSegment, ConditionValueInOperatorGenerator, HashColumn, IdentifierValue, InExpression, ListExpression, LiteralExpressionSegment, ParameterMarkerExpressionSegment, Properties, TimestampServiceRule, TimestampServiceRuleConfiguration]. | 48 |
org/apache/shardingsphere/sharding/route/engine/fixture/ShardingRouteEngineFixtureBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AlgorithmConfiguration, HintShardingStrategyConfiguration, ListShardingConditionValue, MockedDataSource, Properties, Property, ShardingAutoTableRuleConfiguration, ShardingCondition, ShardingConditions, ShardingRule, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, SingleRule, SingleRuleConfiguration, StandardShardingStrategyConfiguration, TimestampServiceRule, TimestampServiceRuleConfiguration]. | 69 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 69 |
org/apache/shardingsphere/sharding/route/engine/type/ShardingRouteEngineFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 54 |
org/apache/shardingsphere/sharding/route/engine/type/ShardingRouteEngineFactoryTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, CursorStatement, GrantStatement, HintValueContext, IdentifierValue, ListShardingConditionValue, Properties, QueryContext, SQLStatementAttributes, ShardingCondition, SimpleTableSegment, TableNameSegment]. | 79 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 79 |
org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRouteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, IdentifierValue, IndexNameSegment, IndexSegment, MockedDataSource, Properties, RouteMapper, SQLStatementAttributes, ShardingRule, ShardingRuleConfiguration, ShardingSphereDatabase, ShardingTableBroadcastRouteEngine, ShardingTableRuleConfiguration]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 57 |
org/apache/shardingsphere/sharding/route/engine/type/standard/ShardingStandardRouteEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 59 |
org/apache/shardingsphere/sharding/rule/ShardingRule.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AggregatedDataSourceRuleAttribute, AlgorithmInitializationException, BindingTableRule, CaseInsensitiveMap, CaseInsensitiveSet, DataNode, KeyGenerateStrategyConfiguration, NoneShardingStrategyConfiguration, RuleAttributes, RuleMetaData, ShardingAuditStrategyConfiguration, ShardingDataNodeRuleAttribute, ShardingRuleChecker, ShardingTable, ShardingTableNamesRuleAttribute, ShardingTableRuleNotFoundException]. | 86 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 86 |
org/apache/shardingsphere/sharding/rule/ShardingRuleTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 25 (max allowed is 10) classes [AlgorithmConfiguration, ColumnKeyGenerateStrategiesRuleConfiguration, ColumnSegment, ColumnSegmentBoundInfo, ComplexShardingStrategyConfiguration, DataNode, IdentifierValue, KeyGenerateStrategyConfiguration, MockedDataSource, NoneShardingStrategyConfiguration, OwnerSegment, Properties, Property, ShardingAuditStrategyConfiguration, ShardingAutoTableRuleConfiguration, ShardingRule, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, SimpleTableSegment, StandardShardingStrategyConfiguration, TableNameSegment, TableSegmentBoundInfo, TablesContext, WhereSegment]. | 92 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 92 |
org/apache/shardingsphere/sharding/util/ShardingValueTypeConvertUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 45 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 26 (max allowed is 10). | 72 | |
| metrics | JavaNCSS | NCSS for this method is 74 (max allowed is 50). | 72 |
org/apache/shardingsphere/sharding/yaml/ShardingRuleConfigurationYamlIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AlgorithmConfiguration, ColumnKeyGenerateStrategiesRuleConfiguration, ComplexShardingStrategyConfiguration, HintShardingStrategyConfiguration, KeyGenerateStrategyConfiguration, NoneShardingStrategyConfiguration, Properties, Property, SequenceKeyGenerateStrategiesRuleConfiguration, ShardingAuditStrategyConfiguration, ShardingRuleConfiguration, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration]. | 46 |
org/apache/shardingsphere/single/datanode/SingleTableDataNodeLoaderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 78 |
org/apache/shardingsphere/single/distsql/handler/query/ShowUnloadedSingleTablesExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 78 |
org/apache/shardingsphere/single/distsql/handler/update/UnloadSingleTableExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 82 |
org/apache/shardingsphere/single/distsql/parser/core/SingleDistSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CountRuleStatement, DatabaseSegment, FromDatabaseSegment, IdentifierValue, LoadSingleTableStatement, SetDefaultSingleTableStorageUnitStatement, ShowDefaultSingleTableStorageUnitStatement, ShowSingleTablesStatement, ShowUnloadedSingleTablesStatement, SingleTableSegment, UnloadSingleTableStatement]. | 60 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 60 |
org/apache/shardingsphere/single/route/SingleSQLRouterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [CommonSQLStatementContext, ConfigurationProperties, DataNode, HintValueContext, IdentifierValue, MockedDataSource, Properties, QualifiedTable, QueryContext, RouteContext, RouteMapper, RouteUnit, RuleMetaData, SQLRouteEngine, SQLStatement, ShardingSphereDatabase, SimpleTableSegment, SingleDataNodeRuleAttribute, SingleRule, SingleRuleConfiguration, SingleSQLRouter, StorageUnit, TableNameSegment, TableSegmentBoundInfo]. | 83 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 83 |
org/apache/shardingsphere/single/route/engine/SingleRouteEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [DataNode, DatabaseIdentifierContext, IdentifierCasePolicy, IdentifierCasePolicySet, IdentifierValue, MockedDataSource, QualifiedTable, RouteContext, RouteMapper, RuleAttributes, SimpleTableSegment, SingleRouteEngine, SingleRule, SingleRuleConfiguration, TableNameSegment]. | 77 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 77 |
org/apache/shardingsphere/single/rule/SingleRule.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AggregatedDataSourceRuleAttribute, CaseInsensitiveSet, IdentifierValue, QualifiedTable, RuleAttributes, RuleMetaData, SingleDataNodeRuleAttribute, SingleExportableRuleAttribute, SingleMutableDataNodeRuleAttribute, SingleRuleConfiguration, SingleTableMapperRuleAttribute, SingleUnregisterStorageUnitRuleAttribute]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 62 |
org/apache/shardingsphere/single/rule/SingleRuleTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 17 (max allowed is 10) classes [ConfigurationProperties, CountDownLatch, DataNode, DatabaseIdentifierContext, IdentifierCasePolicy, IdentifierCasePolicySet, IdentifierValue, IndexNameSegment, IndexSegment, MockedDataSource, Properties, QualifiedTable, RuleAttributes, RuleMetaData, ShardingSphereDatabase, SingleRule, SingleRuleConfiguration]. | 87 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 87 |
org/apache/shardingsphere/sql/parser/engine/clickhouse/visitor/statement/ClickHouseStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 35 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CollectionValue, ColumnOrderByItemSegment, ColumnSegment, CommonExpressionSegment, DataTypeLengthSegment, DataTypeSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexOrderByItemSegment, Interval, IntervalExpression, KeywordValue, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment, WindowItemSegment]. | 88 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 84 (max allowed is 20). | 88 |
org/apache/shardingsphere/sql/parser/engine/clickhouse/visitor/statement/type/ClickHouseDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [AliasSegment, BooleanLiteralValue, CollectionValue, ColumnAssignmentSegment, ColumnProjectionSegment, CommonExpressionSegment, ExpressionProjectionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, OwnerSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SetAssignmentSegment, ShorthandProjectionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, WhereSegment]. | 88 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 85 (max allowed is 20). | 88 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 320 | |
| metrics | JavaNCSS | NCSS for this method is 53 (max allowed is 50). | 320 | |
| metrics | NPathComplexity | NPath Complexity is 3,072 (max allowed is 200). | 320 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/DorisStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 77 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BetweenExpression, BigDecimal, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollateExpression, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DatabaseSegment, DeleteMultiTableSegment, EngineSegment, ExistsSubqueryExpression, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, LimitSegment, ListExpression, LiteralExpressionSegment, LockSegment, MatchAgainstExpression, NotExpression, NullLiteralValue, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OutfileColumnsSegment, OutfileLinesSegment, OutfileSegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ParameterMarkerValue, ParenthesesSegment, ProjectionsSegment, RowExpression, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, UnaryOperationExpression, ValuesExpression, VariableSegment, ViewColumnSegment, WhereSegment, WindowItemSegment, WithSegment]. | 272 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 237 (max allowed is 20). | 272 | |
| sizes | MethodCount | Number of public methods is 117 (max allowed is 100). | 272 | |
| sizes | MethodCount | Total number of methods is 151 (max allowed is 100). | 272 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 478 | |
| metrics | NPathComplexity | NPath Complexity is 396 (max allowed is 200). | 478 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 21 (max allowed is 10). | 636 | |
| metrics | JavaNCSS | NCSS for this method is 52 (max allowed is 50). | 636 | |
| metrics | NPathComplexity | NPath Complexity is 124,416 (max allowed is 200). | 636 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 929 | |
| metrics | NPathComplexity | NPath Complexity is 320 (max allowed is 200). | 929 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 1142 | |
| metrics | NPathComplexity | NPath Complexity is 65,536 (max allowed is 200). | 1142 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 1410 | |
| metrics | NPathComplexity | NPath Complexity is 768 (max allowed is 200). | 1410 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 1951 | |
| metrics | NPathComplexity | NPath Complexity is 5,376 (max allowed is 200). | 1951 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 1997 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 163 (max allowed is 10) classes [AnalyzeTableStatement, BackupTableSegment, CacheTableIndexSegment, CloneActionSegment, CloneInstanceSegment, CollectionValue, DatabaseSegment, DorisAdminCancelRebalanceDiskStatement, DorisAdminCancelRepairStatement, DorisAdminCheckTabletStatement, DorisAdminCleanTrashStatement, DorisAdminCopyTabletStatement, DorisAdminRebalanceDiskStatement, DorisAdminRepairStatement, DorisAdminSetPartitionVersionStatement, DorisAdminSetReplicaStatusStatement, DorisAdminSetReplicaVersionStatement, DorisAdminSetTableStatusStatement, DorisAlterResourceStatement, DorisAlterSqlBlockRuleStatement, DorisAlterSystemStatement, DorisBackupStatement, DorisCancelBackupStatement, DorisCancelLoadStatement, DorisCleanAllProfileStatement, DorisCreateRepositoryStatement, DorisCreateResourceStatement, DorisCreateSqlBlockRuleStatement, DorisCreateWorkloadGroupStatement, DorisDescFunctionStatement, DorisDropRepositoryStatement, DorisDropSqlBlockRuleStatement, DorisPlanReplayerPlayStatement, DorisRecoverStatement, DorisShowCreateLoadStatement, DorisShowCreateRoutineLoadStatement, DorisShowDataSkewStatement, DorisShowDataStatement, DorisShowDataTypesStatement, DorisShowDatabaseStatement, DorisShowEncryptKeysStatement, DorisShowFileStatement, DorisShowFunctionsStatement, DorisShowLoadStatement, DorisShowLoadWarningsStatement, DorisShowProcStatement, DorisShowQueryStatsStatement, DorisShowResourcesStatement, DorisShowRoutineLoadStatement, DorisShowRoutineLoadTaskStatement, DorisShowSqlBlockRuleStatement, DorisShowStreamLoadStatement, DorisShowSyncJobStatement, DorisShowTableStatement, DorisShowTransactionStatement, DorisShowTrashStatement, DorisSwitchStatement, DorisSyncStatement, ExplainStatement, FromDatabaseSegment, FromTableSegment, FunctionNameSegment, IdentifierValue, JobNameSegment, LoadNameSegment, LoadTableIndexSegment, MySQLAlterResourceGroupStatement, MySQLBinlogStatement, MySQLCacheIndexStatement, MySQLChangeMasterStatement, MySQLChangeReplicationSourceToStatement, MySQLCheckTableStatement, MySQLChecksumTableStatement, MySQLCloneStatement, MySQLCreateLoadableFunctionStatement, MySQLCreateResourceGroupStatement, MySQLDelimiterStatement, MySQLDescribeStatement, MySQLDropResourceGroupStatement, MySQLFlushStatement, MySQLHelpStatement, MySQLInstallComponentStatement, MySQLInstallPluginStatement, MySQLKillStatement, MySQLLoadIndexInfoStatement, MySQLOptimizeTableStatement, MySQLRepairTableStatement, MySQLResetPersistStatement, MySQLResetStatement, MySQLRestartStatement, MySQLSetResourceGroupStatement, MySQLShowBinaryLogsStatement, MySQLShowBinlogEventsStatement, MySQLShowCharacterSetStatement, MySQLShowCollationStatement, MySQLShowColumnsStatement, MySQLShowCreateDatabaseStatement, MySQLShowCreateEventStatement, MySQLShowCreateFunctionStatement, MySQLShowCreateProcedureStatement, MySQLShowCreateTableStatement, MySQLShowCreateTriggerStatement, MySQLShowCreateUserStatement, MySQLShowCreateViewStatement, MySQLShowDatabasesStatement, MySQLShowEngineStatement, MySQLShowErrorsStatement, MySQLShowEventsStatement, MySQLShowFunctionCodeStatement, MySQLShowFunctionStatusStatement, MySQLShowGrantsStatement, MySQLShowIndexStatement, MySQLShowMasterStatusStatement, MySQLShowOpenTablesStatement, MySQLShowOtherStatement, MySQLShowPluginsStatement, MySQLShowPrivilegesStatement, MySQLShowProcedureCodeStatement, MySQLShowProcedureStatusStatement, MySQLShowProcessListStatement, MySQLShowProfileStatement, MySQLShowProfilesStatement, MySQLShowRelayLogEventsStatement, MySQLShowReplicaStatusStatement, MySQLShowReplicasStatement, MySQLShowSlaveHostsStatement, MySQLShowSlaveStatusStatement, MySQLShowStatusStatement, MySQLShowTableStatusStatement, MySQLShowTablesStatement, MySQLShowTriggersStatement, MySQLShowVariablesStatement, MySQLShowWarningsStatement, MySQLShutdownStatement, MySQLStartReplicaStatement, MySQLStartSlaveStatement, MySQLStopSlaveStatement, MySQLUninstallComponentStatement, MySQLUninstallPluginStatement, MySQLUseStatement, NumberLiteralValue, PartitionDefinitionSegment, PartitionSegment, Properties, PropertiesSegment, PropertySegment, RefreshStatement, RepositoryNameSegment, ResetMasterOptionSegment, ResetSlaveOptionSegment, RuleNameSegment, SQLParsingException, SetStatement, ShowAlterTableStatement, ShowBuildIndexStatement, ShowFilterSegment, ShowLikeSegment, ShowResourcesNameConditionSegment, ShowResourcesResourceTypeConditionSegment, UnsetVariableStatement, VariableAssignSegment, VariableSegment, WhereSegment]. | 396 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 363 (max allowed is 20). | 396 | |
| sizes | MethodCount | Number of public methods is 152 (max allowed is 100). | 396 | |
| sizes | MethodCount | Total number of methods is 175 (max allowed is 100). | 396 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AlterUserStatement, CreateRoleStatement, DropRoleStatement, DropUserStatement, GrantLevelSegment, IdentifierValue, MySQLCreateUserStatement, MySQLGrantStatement, MySQLRenameUserStatement, MySQLRevokeStatement, MySQLSetDefaultRoleStatement, MySQLSetPasswordStatement, NumberLiteralValue, PasswordOrLockOptionSegment, PrivilegeSegment, RoleOrPrivilegeSegment, SetRoleStatement, TLSOptionSegment, UserResourceSegment, UserSegment]. | 124 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 94 (max allowed is 20). | 124 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 607 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 122 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AddPartitionDefinitionSegment, AddPartitionsSegment, AddRollupDefinitionSegment, AlgorithmTypeSegment, AlterCatalogStatement, AlterDatabaseStatement, AlterFunctionStatement, AlterProcedureStatement, AlterServerStatement, AlterTablespaceStatement, AlterViewStatement, BinlogDescriptionSegment, BuildIndexStatement, CancelAlterTableStatement, CancelBuildIndexStatement, ChangeColumnDefinitionSegment, ChannelDescriptionSegment, CharsetNameSegment, CollectionValue, ColocateGroupSegment, ColumnAfterPositionSegment, ColumnDefinitionSegment, ColumnFirstPositionSegment, ColumnSegment, CommentSegment, ConstraintDefinitionSegment, ConstraintSegment, ConvertTableDefinitionSegment, CreateDatabaseStatement, CreateEncryptKeyStatement, CreateFileStatement, CreateMaterializedViewStatement, CreateProcedureStatement, CreateServerStatement, CreateTableOptionSegment, CreateTablespaceStatement, CreateTriggerStatement, CreateViewStatement, DeallocateStatement, DorisAlterColocateGroupStatement, DorisAlterJobStatement, DorisAlterStoragePolicyStatement, DorisAlterWorkloadGroupStatement, DorisCancelMaterializedViewTaskStatement, DorisCancelTaskStatement, DorisCreateFunctionStatement, DorisCreateJobStatement, DorisCreateStreamingJobStatement, DorisCreateSyncJobStatement, DorisDropFunctionStatement, DorisDropJobStatement, DorisPauseJobStatement, DorisPauseSyncJobStatement, DorisRefreshMaterializedViewStatement, DorisResumeJobStatement, DorisResumeSyncJobStatement, DorisStopSyncJobStatement, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropEncryptKeyStatement, DropFileStatement, DropIndexDefinitionSegment, DropProcedureStatement, DropRollupDefinitionSegment, DropServerStatement, DropTableStatement, DropTablespaceStatement, DropTriggerStatement, DropViewStatement, EnableFeatureSegment, EncryptKeyNameSegment, ExecuteStatement, FunctionNameSegment, IdentifierValue, IndexNameSegment, IndexSegment, Interval, IntervalUnitSegment, JobCommentSegment, JobNameSegment, JobScheduleIntervalSegment, JobScheduleSegment, JobScheduleTimestampSegment, LockTableSegment, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, ModifyDistributionSegment, ModifyEngineSegment, ModifyPartitionDefinitionSegment, ModifyTableCommentSegment, MySQLAlterEventStatement, MySQLAlterInstanceStatement, MySQLAlterLogfileGroupStatement, MySQLCreateEventStatement, MySQLCreateLogfileGroupStatement, MySQLDropEventStatement, MySQLDropLogfileGroupStatement, OrderByColumnDefinitionSegment, OwnerSegment, PartitionSegment, PartitionValuesSegment, PolicyNameSegment, PropertiesSegment, PropertySegment, RenameColumnSegment, RenameIndexDefinitionSegment, RenamePartitionDefinitionSegment, RenameRollupDefinitionSegment, RenameTableDefinitionSegment, RenameTableStatement, ReplaceTableDefinitionSegment, RollupSegment, RoutineBodySegment, SQLParsingException, TablespaceSegment, TruncateStatement, ValidStatementSegment, ViewColumnSegment, WorkloadGroupNameSegment]. | 314 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 281 (max allowed is 20). | 314 | |
| sizes | MethodCount | Number of public methods is 109 (max allowed is 100). | 314 | |
| sizes | MethodCount | Total number of methods is 136 (max allowed is 100). | 314 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 376 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 430 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 21 (max allowed is 10). | 811 | |
| metrics | NPathComplexity | NPath Complexity is 5,472 (max allowed is 200). | 811 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 23 (max allowed is 10). | 885 | |
| metrics | JavaNCSS | NCSS for this method is 66 (max allowed is 50). | 885 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 988 | |
| metrics | NPathComplexity | NPath Complexity is 24,576 (max allowed is 200). | 988 | |
| metrics | NPathComplexity | NPath Complexity is 216 (max allowed is 200). | 1268 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 1490 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 1495 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 1533 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 1687 | |
| metrics | NPathComplexity | NPath Complexity is 6,154 (max allowed is 200). | 1687 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 31 (max allowed is 10) classes [BrokerLoadDataDescSegment, CallStatement, ColNameOrUserVarSegment, ColumnAssignmentSegment, ColumnMappingSegment, DatabaseSegment, DoStatement, DorisAlterRoutineLoadStatement, DorisBrokerLoadStatement, DorisCreateRoutineLoadStatement, DorisPauseRoutineLoadStatement, DorisResumeRoutineLoadStatement, DorisStopRoutineLoadStatement, FunctionSegment, IdentifierValue, IgnoreLinesSegment, IndexHintSegment, JobNameSegment, LiteralExpressionSegment, LiteralValueSegment, MySQLHandlerStatement, MySQLImportStatement, MySQLLoadDataStatement, MySQLLoadXMLStatement, NumberLiteralValue, ParameterMarkerExpressionSegment, PartitionSegment, PropertiesSegment, PropertySegment, SetAssignmentSegment, WindowItemSegment]. | 109 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 78 (max allowed is 20). | 109 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 184 | |
| metrics | NPathComplexity | NPath Complexity is 1,728 (max allowed is 200). | 184 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 275 | |
| metrics | NPathComplexity | NPath Complexity is 2,160 (max allowed is 200). | 275 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 22 (max allowed is 10). | 333 | |
| metrics | JavaNCSS | NCSS for this method is 56 (max allowed is 50). | 333 | |
| metrics | NPathComplexity | NPath Complexity is 111,744 (max allowed is 200). | 333 |
org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisTCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AutoCommitSegment, BeginTransactionStatement, CommitStatement, ReleaseSavepointStatement, RollbackStatement, SavepointStatement, SetAutoCommitStatement, SetTransactionStatement, XABeginStatement, XACommitStatement, XAEndStatement, XAPrepareStatement, XARecoveryStatement, XARollbackStatement]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 63 |
org/apache/shardingsphere/sql/parser/engine/firebird/visitor/statement/FirebirdStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 39 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CollectionValue, ColumnOrderByItemSegment, ColumnSegment, CommonExpressionSegment, CommonTableExpressionSegment, DataTypeLengthSegment, DataTypeSegment, ExistsSubqueryExpression, ExpressionOrderByItemSegment, FunctionSegment, IdentifierValue, InExpression, IndexOrderByItemSegment, Interval, IntervalExpression, KeywordValue, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, ParenthesesSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment, VariableSegment, WithSegment]. | 128 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 92 (max allowed is 20). | 128 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 385 | |
| metrics | NPathComplexity | NPath Complexity is 1,536 (max allowed is 200). | 385 |
org/apache/shardingsphere/sql/parser/engine/firebird/visitor/statement/type/FirebirdDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AlterDomainStatement, AlterProcedureStatement, AlterSequenceStatement, AlterTriggerStatement, CollectionValue, ColumnDefinitionSegment, ConstraintDefinitionSegment, ConstraintSegment, CreateCollationStatement, CreateDatabaseStatement, CreateDomainStatement, CreateFunctionStatement, CreateProcedureStatement, CreateSequenceStatement, CreateTriggerStatement, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropTableStatement, ExecuteStatement, ModifyColumnDefinitionSegment, ParameterMarkerExpressionSegment]. | 97 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 68 (max allowed is 20). | 97 |
org/apache/shardingsphere/sql/parser/engine/firebird/visitor/statement/type/FirebirdDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 27 (max allowed is 10) classes [AliasSegment, BooleanLiteralValue, ColumnAssignmentSegment, ColumnProjectionSegment, CombineSegment, CommonExpressionSegment, ExpressionProjectionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, LimitSegment, NumberLiteralLimitValueSegment, OwnerSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, ReturningSegment, SetAssignmentSegment, ShorthandProjectionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, WhereSegment]. | 130 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 100 (max allowed is 20). | 130 | |
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 298 | |
| metrics | NPathComplexity | NPath Complexity is 288 (max allowed is 200). | 441 |
org/apache/shardingsphere/sql/parser/engine/hive/visitor/statement/HiveStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 32 (max allowed is 10) classes [BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CollateExpression, CollectionValue, ColumnSegment, CommonExpressionSegment, DatabaseSegment, ExistsSubqueryExpression, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexNameSegment, IndexSegment, Interval, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, ParenthesesSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment, UnaryOperationExpression]. | 101 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 69 (max allowed is 20). | 101 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 291 | |
| metrics | NPathComplexity | NPath Complexity is 396 (max allowed is 200). | 291 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 22 (max allowed is 10). | 458 | |
| metrics | NPathComplexity | NPath Complexity is 138,240 (max allowed is 200). | 458 |
org/apache/shardingsphere/sql/parser/engine/hive/visitor/statement/type/HiveDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 25 (max allowed is 10) classes [FromDatabaseSegment, HiveDescribeStatement, HiveShowCompactionsStatement, HiveShowConfStatement, HiveShowConnectorsStatement, HiveShowFunctionsStatement, HiveShowLocksStatement, HiveShowMaterializedViewsStatement, HiveShowPartitionsStatement, HiveShowTablesExtendedStatement, HiveShowTblpropertiesStatement, HiveShowTransactionsStatement, HiveShowViewsStatement, IdentifierValue, MySQLDescribeStatement, MySQLOptimizeTableStatement, MySQLShowColumnsStatement, MySQLShowCreateTableStatement, MySQLShowDatabasesStatement, MySQLShowGrantsStatement, MySQLShowIndexStatement, MySQLShowTablesStatement, MySQLUseStatement, ShowFilterSegment, ShowLikeSegment]. | 83 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 57 (max allowed is 20). | 83 |
org/apache/shardingsphere/sql/parser/engine/hive/visitor/statement/type/HiveDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 40 (max allowed is 10) classes [AddColumnDefinitionSegment, AlterDatabaseStatement, AlterIndexStatement, AlterMaterializedViewStatement, AlterViewStatement, ChangeColumnDefinitionSegment, CherryPickDefinitionSegment, CollectionValue, ColumnAfterPositionSegment, ColumnDefinitionSegment, ColumnFirstPositionSegment, ColumnSegment, ConstraintDefinitionSegment, CreateDatabaseStatement, CreateFunctionStatement, CreateMacroStatement, CreateMaterializedViewStatement, CreateViewStatement, DataTypeSegment, DropDatabaseStatement, DropFunctionStatement, DropMacroStatement, DropMaterializedViewStatement, DropTableStatement, DropViewStatement, HiveDMLStatementVisitor, IdentifierValue, IndexNameSegment, IndexSegment, Interval, LiteralExpressionSegment, NumberLiteralValue, OwnerSegment, ReloadFunctionStatement, ReplaceColumnDefinitionSegment, SimpleTableSegment, StringLiteralValue, TableNameSegment, TableRollbackDefinitionSegment, TruncateStatement]. | 110 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 80 (max allowed is 20). | 110 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 131 | |
| metrics | NPathComplexity | NPath Complexity is 432 (max allowed is 200). | 131 |
org/apache/shardingsphere/sql/parser/engine/hive/visitor/statement/type/HiveDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 60 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BigDecimal, BooleanLiteralValue, CaseWhenExpression, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DeleteMultiTableSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, IndexOrderByItemSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, LimitSegment, LiteralExpressionSegment, LockSegment, MergeWhenAndThenSegment, MultiTableInsertIntoSegment, MySQLLoadDataStatement, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, PartitionSegment, ProjectionsSegment, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, ValuesExpression, VariableSegment, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 250 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 217 (max allowed is 20). | 250 | |
| sizes | MethodCount | Total number of methods is 137 (max allowed is 100). | 250 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 391 | |
| metrics | NPathComplexity | NPath Complexity is 640 (max allowed is 200). | 391 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 643 | |
| metrics | NPathComplexity | NPath Complexity is 4,096 (max allowed is 200). | 643 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 1616 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 1616 | |
| metrics | NPathComplexity | NPath Complexity is 12,288 (max allowed is 200). | 1616 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/MySQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 83 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BetweenExpression, BigDecimal, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollateExpression, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DatabaseSegment, DeleteMultiTableSegment, EngineSegment, ExistsSubqueryExpression, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, InsertColumnsSegment, InsertValuesSegment, Interval, IntervalExpression, IntervalUnitExpression, JoinTableSegment, LimitSegment, ListExpression, LiteralExpressionSegment, LockSegment, MatchAgainstExpression, NotExpression, NullLiteralValue, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OutfileColumnsSegment, OutfileLinesSegment, OutfileSegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ParameterMarkerValue, ParenthesesSegment, ProjectionsSegment, QuantifySubqueryExpression, RowAliasSegment, RowExpression, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TemporalLiteralValue, UnaryOperationExpression, ValueReferenceSegment, ValuesExpression, VariableSegment, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 288 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 254 (max allowed is 20). | 288 | |
| sizes | MethodCount | Number of public methods is 124 (max allowed is 100). | 288 | |
| sizes | MethodCount | Total number of methods is 165 (max allowed is 100). | 288 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 492 | |
| metrics | NPathComplexity | NPath Complexity is 780 (max allowed is 200). | 492 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 18 (max allowed is 10). | 664 | |
| metrics | NPathComplexity | NPath Complexity is 20,736 (max allowed is 200). | 664 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 915 | |
| metrics | NPathComplexity | NPath Complexity is 960 (max allowed is 200). | 915 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 1200 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 1247 | |
| metrics | NPathComplexity | NPath Complexity is 32,768 (max allowed is 200). | 1247 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 1523 | |
| metrics | NPathComplexity | NPath Complexity is 3,072 (max allowed is 200). | 1523 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 18 (max allowed is 10). | 2137 | |
| metrics | NPathComplexity | NPath Complexity is 6,144 (max allowed is 200). | 2137 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 2183 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/type/MySQLDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 96 (max allowed is 10) classes [AnalyzeTableStatement, CacheTableIndexSegment, CloneActionSegment, CloneInstanceSegment, CollectionValue, ExplainStatement, FromDatabaseSegment, FromTableSegment, IdentifierValue, LoadTableIndexSegment, MySQLAlterResourceGroupStatement, MySQLBinlogStatement, MySQLCacheIndexStatement, MySQLChangeMasterStatement, MySQLChangeReplicationSourceToStatement, MySQLCheckTableStatement, MySQLChecksumTableStatement, MySQLCloneStatement, MySQLCreateLoadableFunctionStatement, MySQLCreateResourceGroupStatement, MySQLDelimiterStatement, MySQLDescribeStatement, MySQLDropResourceGroupStatement, MySQLFlushStatement, MySQLHelpStatement, MySQLInstallComponentStatement, MySQLInstallPluginStatement, MySQLKillStatement, MySQLLoadIndexInfoStatement, MySQLOptimizeTableStatement, MySQLRepairTableStatement, MySQLResetPersistStatement, MySQLResetStatement, MySQLRestartStatement, MySQLSetResourceGroupStatement, MySQLShowBinaryLogsStatement, MySQLShowBinlogEventsStatement, MySQLShowCharacterSetStatement, MySQLShowCollationStatement, MySQLShowColumnsStatement, MySQLShowCreateDatabaseStatement, MySQLShowCreateEventStatement, MySQLShowCreateFunctionStatement, MySQLShowCreateProcedureStatement, MySQLShowCreateTableStatement, MySQLShowCreateTriggerStatement, MySQLShowCreateUserStatement, MySQLShowCreateViewStatement, MySQLShowDatabasesStatement, MySQLShowEngineStatement, MySQLShowErrorsStatement, MySQLShowEventsStatement, MySQLShowFunctionCodeStatement, MySQLShowFunctionStatusStatement, MySQLShowGrantsStatement, MySQLShowIndexStatement, MySQLShowMasterStatusStatement, MySQLShowOpenTablesStatement, MySQLShowOtherStatement, MySQLShowPluginsStatement, MySQLShowPrivilegesStatement, MySQLShowProcedureCodeStatement, MySQLShowProcedureStatusStatement, MySQLShowProcessListStatement, MySQLShowProfileStatement, MySQLShowProfilesStatement, MySQLShowRelayLogEventsStatement, MySQLShowReplicaStatusStatement, MySQLShowReplicasStatement, MySQLShowSlaveHostsStatement, MySQLShowSlaveStatusStatement, MySQLShowStatusStatement, MySQLShowTableStatusStatement, MySQLShowTablesStatement, MySQLShowTriggersStatement, MySQLShowVariablesStatement, MySQLShowWarningsStatement, MySQLShutdownStatement, MySQLStartReplicaStatement, MySQLStartSlaveStatement, MySQLStopSlaveStatement, MySQLUninstallComponentStatement, MySQLUninstallPluginStatement, MySQLUseStatement, NumberLiteralValue, PartitionDefinitionSegment, PartitionSegment, ResetMasterOptionSegment, ResetSlaveOptionSegment, SQLStatement, SetStatement, ShowFilterSegment, ShowLikeSegment, VariableAssignSegment, VariableSegment, WhereSegment]. | 241 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 209 (max allowed is 20). | 241 | |
| sizes | MethodCount | Total number of methods is 104 (max allowed is 100). | 241 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/type/MySQLDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AlterUserStatement, CreateRoleStatement, DropRoleStatement, DropUserStatement, GrantLevelSegment, IdentifierValue, MySQLCreateUserStatement, MySQLGrantStatement, MySQLRenameUserStatement, MySQLRevokeStatement, MySQLSetDefaultRoleStatement, MySQLSetPasswordStatement, NumberLiteralValue, PasswordOrLockOptionSegment, PrivilegeObjectSegment, PrivilegeSegment, RoleOrPrivilegeSegment, SetRoleStatement, TLSOptionSegment, UserResourceSegment, UserSegment]. | 126 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 94 (max allowed is 20). | 126 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 633 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/type/MySQLDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 72 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AlgorithmTypeSegment, AlterDatabaseStatement, AlterFunctionStatement, AlterProcedureStatement, AlterServerStatement, AlterTablespaceStatement, AlterViewStatement, AnalyzeTableStatement, ChangeColumnDefinitionSegment, CharsetNameSegment, CollectionValue, ColumnAfterPositionSegment, ColumnDefinitionSegment, ColumnFirstPositionSegment, ColumnSegment, CommentSegment, ConstraintDefinitionSegment, ConstraintSegment, ConvertTableDefinitionSegment, CreateDatabaseStatement, CreateFunctionStatement, CreateProcedureStatement, CreateServerStatement, CreateTableOptionSegment, CreateTablespaceStatement, CreateTriggerStatement, CreateViewStatement, DeallocateStatement, DoStatement, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropFunctionStatement, DropIndexDefinitionSegment, DropPrimaryKeyDefinitionSegment, DropProcedureStatement, DropServerStatement, DropTableStatement, DropTablespaceStatement, DropTriggerStatement, DropViewStatement, ExecuteStatement, ExplainStatement, FunctionNameSegment, IdentifierValue, IndexNameSegment, IndexSegment, Interval, LockTableSegment, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, MySQLAlterEventStatement, MySQLAlterInstanceStatement, MySQLAlterLogfileGroupStatement, MySQLCreateEventStatement, MySQLCreateLogfileGroupStatement, MySQLDALStatementVisitor, MySQLDescribeStatement, MySQLDropEventStatement, MySQLDropLogfileGroupStatement, MySQLTCLStatementVisitor, RenameColumnSegment, RenameIndexDefinitionSegment, RenameTableDefinitionSegment, RenameTableStatement, RoutineBodySegment, StartTransactionStatement, TablespaceSegment, TruncateStatement, ValidStatementSegment]. | 216 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 183 (max allowed is 20). | 216 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 352 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 428 | |
| metrics | NPathComplexity | NPath Complexity is 1,536 (max allowed is 200). | 428 | |
| metrics | NPathComplexity | NPath Complexity is 216 (max allowed is 200). | 636 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 859 | |
| metrics | JavaNCSS | NCSS for this method is 52 (max allowed is 50). | 859 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/type/MySQLDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [CallStatement, CommonExpressionSegment, DoStatement, FunctionSegment, IdentifierValue, IndexHintSegment, LiteralExpressionSegment, MySQLHandlerStatement, MySQLImportStatement, MySQLLoadDataStatement, MySQLLoadXMLStatement, NumberLiteralValue, ParameterMarkerExpressionSegment, PartitionDefinitionSegment, PartitionSegment, ProjectionsSegment, ReturningSegment, WindowItemSegment, WindowSegment]. | 76 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 46 (max allowed is 20). | 76 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 224 |
org/apache/shardingsphere/sql/parser/engine/mysql/visitor/statement/type/MySQLTCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AutoCommitSegment, BeginTransactionStatement, CommitStatement, ReleaseSavepointStatement, RollbackStatement, SavepointStatement, SetAutoCommitStatement, SetTransactionStatement, XABeginStatement, XACommitStatement, XAEndStatement, XAPrepareStatement, XARecoveryStatement, XARollbackStatement]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 63 |
org/apache/shardingsphere/sql/parser/engine/opengauss/visitor/statement/OpenGaussStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 69 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, ExecuteStatement, ExistsSubqueryExpression, ExpressionLimitValueSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExtractArgExpression, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, KeywordValue, LimitSegment, ListExpression, LiteralExpressionSegment, LockSegment, NameSegment, NullLiteralValue, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ParameterMarkerValue, ParenthesesSegment, ProjectionsSegment, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TypeCastExpression, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 225 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 188 (max allowed is 20). | 225 | |
| sizes | MethodCount | Total number of methods is 120 (max allowed is 100). | 225 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 338 | |
| metrics | NPathComplexity | NPath Complexity is 1,024 (max allowed is 200). | 338 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 1194 |
org/apache/shardingsphere/sql/parser/engine/opengauss/visitor/statement/type/OpenGaussDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AnalyzeTableStatement, CollectionValue, EmptyStatement, ExplainStatement, IdentifierValue, PostgreSQLCheckpointStatement, PostgreSQLLoadStatement, PostgreSQLResetParameterStatement, PostgreSQLVacuumStatement, SetStatement, ShowStatement, SimpleTableSegment, TableNameSegment, VariableAssignSegment, VariableSegment]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 62 |
org/apache/shardingsphere/sql/parser/engine/opengauss/visitor/statement/type/OpenGaussDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 68 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 97 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 124 | |
| metrics | NPathComplexity | NPath Complexity is 36,864 (max allowed is 200). | 124 |
org/apache/shardingsphere/sql/parser/engine/opengauss/visitor/statement/type/OpenGaussDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 93 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AlterDirectoryStatement, AlterDomainStatement, AlterFunctionStatement, AlterIndexStatement, AlterMaterializedViewStatement, AlterPackageStatement, AlterProcedureStatement, AlterSchemaStatement, AlterSequenceStatement, AlterSynonymStatement, AlterTablespaceStatement, AlterTypeStatement, AlterViewStatement, CloseStatement, CollectionValue, ColumnDefinitionSegment, ColumnSegment, ConstraintDefinitionSegment, CreateDatabaseStatement, CreateDirectoryStatement, CreateDomainStatement, CreateFunctionStatement, CreateProcedureStatement, CreateSchemaStatement, CreateSequenceStatement, CreateSynonymStatement, CreateTablespaceStatement, CreateTypeStatement, CreateViewStatement, CursorNameSegment, CursorStatement, DeallocateStatement, DirectionSegment, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropDirectoryStatement, DropDomainStatement, DropFunctionStatement, DropProcedureStatement, DropSchemaStatement, DropSequenceStatement, DropServerStatement, DropSynonymStatement, DropTableStatement, DropTablespaceStatement, DropTypeStatement, DropViewStatement, FetchStatement, FunctionSegment, IdentifierValue, IndexNameSegment, IndexSegment, Interval, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, MoveStatement, OwnerSegment, PostgreSQLAlterAggregateStatement, PostgreSQLAlterConversionStatement, PostgreSQLAlterDefaultPrivilegesStatement, PostgreSQLAlterExtensionStatement, PostgreSQLAlterForeignTableStatement, PostgreSQLAlterGroupStatement, PostgreSQLAlterLanguageStatement, PostgreSQLAlterRuleStatement, PostgreSQLAlterTextSearchStatement, PostgreSQLCreateAggregateStatement, PostgreSQLCreateCastStatement, PostgreSQLCreateConversionStatement, PostgreSQLCreateExtensionStatement, PostgreSQLCreateForeignTableStatement, PostgreSQLCreateLanguageStatement, PostgreSQLCreatePublicationStatement, PostgreSQLCreateRuleStatement, PostgreSQLCreateTextSearchStatement, PostgreSQLDeclareStatement, PostgreSQLDropCastStatement, PostgreSQLDropConversionStatement, PostgreSQLDropExtensionStatement, PostgreSQLDropForeignTableStatement, PostgreSQLDropLanguageStatement, PostgreSQLDropPublicationStatement, PostgreSQLDropRuleStatement, RenameColumnSegment, RenameTableDefinitionSegment, SetSchemaDefinitionSegment, SimpleTableSegment, TableNameSegment, TruncateStatement, ValidateConstraintDefinitionSegment]. | 268 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 233 (max allowed is 20). | 268 | |
| sizes | MethodCount | Number of public methods is 112 (max allowed is 100). | 268 | |
| sizes | MethodCount | Total number of methods is 120 (max allowed is 100). | 268 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 312 |
org/apache/shardingsphere/sql/parser/engine/opengauss/visitor/statement/type/OpenGaussTCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 51 |
org/apache/shardingsphere/sql/parser/engine/oracle/visitor/statement/OracleStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 63 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollectionValue, ColumnOrderByItemSegment, ColumnSegment, CommonExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DateTimeLiteralValue, DatetimeExpression, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, IndexTypeSegment, Interval, IntervalDayToSecondExpression, IntervalExpressionProjection, IntervalYearToMonthExpression, KeywordValue, ListExpression, LiteralExpressionSegment, MultisetExpression, NotExpression, NullLiteralValue, NumberLiteralValue, OrderBySegment, OtherLiteralValue, OuterJoinExpression, OwnerSegment, PackageSegment, ParameterMarkerExpressionSegment, ParameterMarkerScanState, ParameterMarkerValue, ParenthesesSegment, ProcedureCallNameSegment, RowExpression, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment, TypeSegment, UnaryOperationExpression, WindowItemSegment, XmlElementFunctionSegment, XmlNamespaceStringAsIdentifierSegment, XmlNamespacesClauseSegment, XmlPiFunctionSegment, XmlQueryAndExistsFunctionSegment, XmlSerializeFunctionSegment, XmlTableColumnSegment, XmlTableFunctionSegment, XmlTableOptionsSegment]. | 214 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 170 (max allowed is 20). | 214 | |
| sizes | MethodCount | Total number of methods is 135 (max allowed is 100). | 214 | |
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 388 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 845 | |
| metrics | NPathComplexity | NPath Complexity is 1,728 (max allowed is 200). | 845 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 1156 | |
| metrics | NPathComplexity | NPath Complexity is 4,096 (max allowed is 200). | 1156 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 1397 | |
| metrics | NPathComplexity | NPath Complexity is 32,768 (max allowed is 200). | 1397 |
org/apache/shardingsphere/sql/parser/engine/oracle/visitor/statement/type/OracleDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ExplainStatement, OracleAlterResourceCostStatement, OracleChangeStatement, OracleDMLStatementVisitor, OracleListStatement, OracleReportStatement, OracleSpoolStatement, SetStatement, ShowStatement, VariableAssignSegment, VariableSegment]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 52 |
org/apache/shardingsphere/sql/parser/engine/oracle/visitor/statement/type/OracleDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 49 |
org/apache/shardingsphere/sql/parser/engine/oracle/visitor/statement/type/OracleDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 155 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AlterDatabaseStatement, AlterFunctionStatement, AlterIndexStatement, AlterMaterializedViewStatement, AlterOperatorStatement, AlterPackageStatement, AlterProcedureStatement, AlterSequenceStatement, AlterSynonymStatement, AlterTablespaceStatement, AlterTriggerStatement, AlterTypeStatement, AlterViewStatement, CollectionValue, ColumnDefinitionSegment, ColumnSegment, ConstraintDefinitionSegment, CreateDatabaseStatement, CreateDirectoryStatement, CreateMaterializedViewStatement, CreateOperatorStatement, CreateSchemaStatement, CreateSequenceStatement, CreateSynonymStatement, CreateTablespaceStatement, CreateTriggerStatement, CreateViewStatement, CursorForLoopStatementSegment, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropDirectoryStatement, DropFunctionStatement, DropMaterializedViewStatement, DropOperatorStatement, DropPackageStatement, DropProcedureStatement, DropSequenceStatement, DropSynonymStatement, DropTableStatement, DropTablespaceStatement, DropTriggerStatement, DropViewStatement, ExchangePartitionDefinitionSegment, FunctionNameSegment, IdentifierValue, Interval, ModifyCollectionRetrievalSegment, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, OracleAlterAnalyticViewStatement, OracleAlterAttributeDimensionStatement, OracleAlterAuditPolicyStatement, OracleAlterClusterStatement, OracleAlterDatabaseDictionaryStatement, OracleAlterDatabaseLinkStatement, OracleAlterDimensionStatement, OracleAlterDiskgroupStatement, OracleAlterFlashbackArchiveStatement, OracleAlterHierarchyStatement, OracleAlterInMemoryJoinGroupStatement, OracleAlterIndexTypeStatement, OracleAlterJavaStatement, OracleAlterLibraryStatement, OracleAlterLockdownProfileStatement, OracleAlterMaterializedViewLogStatement, OracleAlterMaterializedZoneMapStatement, OracleAlterOutlineStatement, OracleAlterPluggableDatabaseStatement, OracleAlterProfileStatement, OracleAlterRollbackSegmentStatement, OracleAlterSessionStatement, OracleAlterSystemStatement, OracleAnalyzeStatement, OracleAssociateStatisticsStatement, OracleAuditStatement, OracleCreateClusterStatement, OracleCreateContextStatement, OracleCreateControlFileStatement, OracleCreateDatabaseLinkStatement, OracleCreateDimensionStatement, OracleCreateDiskgroupStatement, OracleCreateEditionStatement, OracleCreateFlashbackArchiveStatement, OracleCreateFunctionStatement, OracleCreateInMemoryJoinGroupStatement, OracleCreateIndexTypeStatement, OracleCreateJavaStatement, OracleCreateLibraryStatement, OracleCreateLockdownProfileStatement, OracleCreateMaterializedViewLogStatement, OracleCreateNestedTableTypeStatement, OracleCreateObjectTypeStatement, OracleCreateOutlineStatement, OracleCreatePFileStatement, OracleCreatePackageStatement, OracleCreateProcedureStatement, OracleCreateProfileStatement, OracleCreateRestorePointStatement, OracleCreateRollbackSegmentStatement, OracleCreateSPFileStatement, OracleCreateSubTypeStatement, OracleCreateTypeBodyStatement, OracleCreateVarrayTypeStatement, OracleDMLStatementVisitor, OracleDisassociateStatisticsStatement, OracleDropClusterStatement, OracleDropContextStatement, OracleDropDatabaseLinkStatement, OracleDropDimensionStatement, OracleDropDiskgroupStatement, OracleDropEditionStatement, OracleDropFlashbackArchiveStatement, OracleDropInMemoryJoinGroupStatement, OracleDropIndexTypeStatement, OracleDropJavaStatement, OracleDropLibraryStatement, OracleDropLockdownProfileStatement, OracleDropMaterializedViewLogStatement, OracleDropMaterializedZoneMapStatement, OracleDropOutlineStatement, OracleDropPluggableDatabaseStatement, OracleDropProfileStatement, OracleDropRestorePointStatement, OracleDropRollbackSegmentStatement, OracleFlashbackDatabaseStatement, OracleFlashbackTableStatement, OracleNoAuditStatement, OraclePLSQLBlockStatement, OraclePurgeStatement, OracleRenameStatement, OracleSwitchStatement, OracleSystemActionStatement, OracleTCLStatementVisitor, OwnerSegment, PackageSegment, PartitionSegment, ProcedureBodyEndNameSegment, ProcedureCallNameSegment, RoutineBodySegment, SQLStatementSegment, SimpleTableSegment, StringLiteralValue, TableNameSegment, TablespaceSegment, TriggerPseudoColumnExtractor, TruncateStatement, TypeAttributeExtractor, TypeAttributeSegments, TypeDefinitionSegment, ValidStatementSegment, VariableSegment, ViewColumnSegment]. | 434 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 387 (max allowed is 20). | 434 | |
| sizes | MethodCount | Number of public methods is 163 (max allowed is 100). | 434 | |
| sizes | MethodCount | Total number of methods is 215 (max allowed is 100). | 434 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 539 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 689 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 1421 | |
| metrics | NPathComplexity | NPath Complexity is 1,215 (max allowed is 200). | 1421 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 1907 | |
| metrics | NPathComplexity | NPath Complexity is 972 (max allowed is 200). | 1907 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 2104 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 2387 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 2417 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 11 (max allowed is 3). | 2418 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 2462 | |
| metrics | NPathComplexity | NPath Complexity is 3,072 (max allowed is 200). | 2462 |
org/apache/shardingsphere/sql/parser/engine/oracle/visitor/statement/type/OracleDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 54 (max allowed is 10) classes [AliasSegment, BooleanLiteralValue, CallStatement, CollectionTableSegment, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, DatetimeProjectionSegment, ErrorLoggingSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionNameSegment, FunctionTableSegment, GroupBySegment, HavingSegment, HierarchicalQuerySegment, IdentifierValue, IndexOrderByItemSegment, InsertColumnsSegment, InsertValuesSegment, Interval, IntervalExpressionProjection, JoinTableSegment, LiteralExpressionSegment, LockSegment, ModelColumnSegment, ModelSegment, MultiTableConditionalIntoElseSegment, MultiTableConditionalIntoSegment, MultiTableConditionalIntoThenSegment, MultiTableConditionalIntoWhenThenSegment, MultiTableInsertIntoSegment, OwnerSegment, PivotSegment, ProjectionsSegment, ReturningSegment, SQLParsingException, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableExtractor, TableNameSegment, WhereSegment, WithSegment]. | 227 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 192 (max allowed is 20). | 227 | |
| sizes | MethodCount | Total number of methods is 122 (max allowed is 100). | 227 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 821 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 1225 | |
| metrics | NPathComplexity | NPath Complexity is 224 (max allowed is 200). | 1225 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 1242 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/PostgreSQLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 85 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, ArrayDeque, BetweenExpression, BigInteger, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollateExpression, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DeleteMultiTableSegment, ExecuteStatement, ExistsSubqueryExpression, ExpressionLimitValueSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, ExtractArgExpression, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, KeywordValue, LimitSegment, ListExpression, LiteralExpressionSegment, LockSegment, MergeWhenAndThenSegment, NameSegment, NotExpression, NullLiteralValue, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ParameterMarkerValue, ParenthesesSegment, ProjectionsSegment, ReturningSegment, RowExpression, SQLParsingException, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TypeCastExpression, UnaryOperationExpression, WhereSegment, WindowItemSegment, WindowSegment, WithSegment, XmlNamespaceStringAsIdentifierSegment, XmlNamespacesClauseSegment, XmlTableColumnSegment, XmlTableFunctionSegment, XmlTableOptionsSegment]. | 276 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 239 (max allowed is 20). | 276 | |
| sizes | MethodCount | Total number of methods is 163 (max allowed is 100). | 276 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 19 (max allowed is 10). | 474 | |
| metrics | NPathComplexity | NPath Complexity is 10,240 (max allowed is 200). | 474 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 19 (max allowed is 10). | 535 | |
| metrics | NPathComplexity | NPath Complexity is 14,336 (max allowed is 200). | 535 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 569 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 608 | |
| metrics | NPathComplexity | NPath Complexity is 1,920 (max allowed is 200). | 608 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 710 | |
| metrics | NPathComplexity | NPath Complexity is 448 (max allowed is 200). | 710 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 828 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 7 (max allowed is 3). | 844 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 921 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 19 (max allowed is 10). | 1057 | |
| metrics | NPathComplexity | NPath Complexity is 2,880 (max allowed is 200). | 1057 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 1068 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 1283 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 1586 | |
| metrics | NPathComplexity | NPath Complexity is 720 (max allowed is 200). | 1586 | |
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 1666 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 1884 | |
| metrics | NPathComplexity | NPath Complexity is 576 (max allowed is 200). | 1884 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/type/PostgreSQLDALStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AnalyzeTableStatement, CollectionValue, EmptyStatement, ExplainStatement, PostgreSQLCheckpointStatement, PostgreSQLDDLStatementVisitor, PostgreSQLLoadStatement, PostgreSQLResetParameterStatement, PostgreSQLVacuumStatement, SetStatement, ShowStatement, SimpleTableSegment, TableExtractor, TableNameSegment, VariableAssignSegment, VariableSegment]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 64 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 172 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/type/PostgreSQLDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [AlterRoleStatement, AlterUserStatement, CreateRoleStatement, CreateUserStatement, DropRoleStatement, DropUserStatement, GrantStatement, IdentifierValue, PostgreSQLCreateGroupStatement, PostgreSQLReassignOwnedStatement, PrivilegeObjectSegment, RevokeStatement]. | 72 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 43 (max allowed is 20). | 72 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 101 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 128 | |
| metrics | NPathComplexity | NPath Complexity is 9,216 (max allowed is 200). | 128 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/type/PostgreSQLDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 149 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, AlterCollationStatement, AlterDatabaseStatement, AlterDomainStatement, AlterFunctionStatement, AlterIndexStatement, AlterMaterializedViewStatement, AlterOperatorStatement, AlterProcedureStatement, AlterSchemaStatement, AlterSequenceStatement, AlterServerStatement, AlterTablespaceStatement, AlterTriggerStatement, AlterTypeStatement, AlterViewStatement, CloseStatement, CollectionValue, ColumnDefinitionSegment, ColumnSegment, ConstraintDefinitionSegment, CreateCollationStatement, CreateDatabaseStatement, CreateDomainStatement, CreateFunctionStatement, CreateMaterializedViewStatement, CreateOperatorStatement, CreateProcedureStatement, CreateSchemaStatement, CreateSequenceStatement, CreateServerStatement, CreateTablespaceStatement, CreateTriggerStatement, CreateTypeStatement, CreateViewStatement, CursorNameSegment, DeallocateStatement, DirectionSegment, DropCollationStatement, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropDomainStatement, DropFunctionStatement, DropMaterializedViewStatement, DropOperatorStatement, DropProcedureStatement, DropSchemaStatement, DropSequenceStatement, DropServerStatement, DropTableStatement, DropTablespaceStatement, DropTriggerStatement, DropTypeStatement, DropViewStatement, FetchStatement, FunctionNameSegment, FunctionSegment, IdentifierValue, IndexNameSegment, IndexSegment, Interval, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, MoveStatement, OwnerSegment, PostgreSQLAlterAggregateStatement, PostgreSQLAlterConversionStatement, PostgreSQLAlterDefaultPrivilegesStatement, PostgreSQLAlterEventTriggerStatement, PostgreSQLAlterExtensionStatement, PostgreSQLAlterForeignDataWrapperStatement, PostgreSQLAlterForeignTableStatement, PostgreSQLAlterGroupStatement, PostgreSQLAlterLanguageStatement, PostgreSQLAlterLargeObjectStatement, PostgreSQLAlterOperatorClassStatement, PostgreSQLAlterOperatorFamilyStatement, PostgreSQLAlterPolicyStatement, PostgreSQLAlterPublicationStatement, PostgreSQLAlterRoutineStatement, PostgreSQLAlterRuleStatement, PostgreSQLAlterStatisticsStatement, PostgreSQLAlterSubscriptionStatement, PostgreSQLAlterSystemStatement, PostgreSQLAlterTextSearchStatement, PostgreSQLAlterUserMappingStatement, PostgreSQLClusterStatement, PostgreSQLCreateAccessMethodStatement, PostgreSQLCreateAggregateStatement, PostgreSQLCreateCastStatement, PostgreSQLCreateConversionStatement, PostgreSQLCreateEventTriggerStatement, PostgreSQLCreateExtensionStatement, PostgreSQLCreateForeignDataWrapperStatement, PostgreSQLCreateForeignTableStatement, PostgreSQLCreateLanguageStatement, PostgreSQLCreateOperatorClassStatement, PostgreSQLCreateOperatorFamilyStatement, PostgreSQLCreatePolicyStatement, PostgreSQLCreatePublicationStatement, PostgreSQLCreateRuleStatement, PostgreSQLCreateStatisticsStatement, PostgreSQLCreateSubscriptionStatement, PostgreSQLCreateTextSearchStatement, PostgreSQLCreateTransformStatement, PostgreSQLCreateUserMappingStatement, PostgreSQLDeclareStatement, PostgreSQLDiscardStatement, PostgreSQLDropAccessMethodStatement, PostgreSQLDropAggregateStatement, PostgreSQLDropCastStatement, PostgreSQLDropConversionStatement, PostgreSQLDropEventTriggerStatement, PostgreSQLDropExtensionStatement, PostgreSQLDropForeignDataWrapperStatement, PostgreSQLDropForeignTableStatement, PostgreSQLDropGroupStatement, PostgreSQLDropLanguageStatement, PostgreSQLDropOperatorClassStatement, PostgreSQLDropOperatorFamilyStatement, PostgreSQLDropOwnedStatement, PostgreSQLDropPolicyStatement, PostgreSQLDropPublicationStatement, PostgreSQLDropRoutineStatement, PostgreSQLDropRuleStatement, PostgreSQLDropStatisticsStatement, PostgreSQLDropSubscriptionStatement, PostgreSQLDropTextSearchStatement, PostgreSQLDropUserMappingStatement, PostgreSQLImportForeignSchemaStatement, PostgreSQLListenStatement, PostgreSQLNotifyStmtStatement, PostgreSQLOpenStatement, PostgreSQLReindexStatement, PostgreSQLRepackStatement, PostgreSQLSecurityLabelStmtStatement, PostgreSQLUnlistenStatement, PropertiesSegment, PropertySegment, RefreshMatViewStmtStatement, RenameColumnSegment, RenameTableDefinitionSegment, SetSchemaDefinitionSegment, SimpleTableSegment, TableNameSegment, TruncateStatement, ValidateConstraintDefinitionSegment]. | 396 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 360 (max allowed is 20). | 396 | |
| sizes | MethodCount | Number of public methods is 168 (max allowed is 100). | 396 | |
| sizes | MethodCount | Total number of methods is 182 (max allowed is 100). | 396 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 402 | |
| metrics | NPathComplexity | NPath Complexity is 240 (max allowed is 200). | 402 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 491 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/type/PostgreSQLDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 56 |
org/apache/shardingsphere/sql/parser/engine/postgresql/visitor/statement/type/PostgreSQLTCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BeginTransactionStatement, CommitStatement, ReleaseSavepointStatement, RollbackStatement, SavepointStatement, SetConstraintsStatement, SetTransactionStatement, StartTransactionStatement, XACommitStatement, XAPrepareStatement, XARollbackStatement]. | 57 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 33 (max allowed is 20). | 57 |
org/apache/shardingsphere/sql/parser/engine/presto/visitor/statement/PrestoStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 33 (max allowed is 10) classes [BetweenExpression, BigDecimal, BinaryOperationExpression, BooleanLiteralValue, CollateExpression, CollectionValue, ColumnSegment, CommonExpressionSegment, DataTypeLengthSegment, DataTypeSegment, DatabaseSegment, ExistsSubqueryExpression, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexNameSegment, IndexSegment, Interval, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment]. | 108 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 74 (max allowed is 20). | 108 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 305 | |
| metrics | NPathComplexity | NPath Complexity is 396 (max allowed is 200). | 305 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 468 | |
| metrics | NPathComplexity | NPath Complexity is 3,456 (max allowed is 200). | 468 |
org/apache/shardingsphere/sql/parser/engine/presto/visitor/statement/type/PrestoDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 32 (max allowed is 20). | 59 |
org/apache/shardingsphere/sql/parser/engine/presto/visitor/statement/type/PrestoDMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 50 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BooleanLiteralValue, CaseWhenExpression, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, CombineSegment, CommonExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DeleteMultiTableSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, GroupBySegment, HavingSegment, IdentifierValue, IndexOrderByItemSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, LimitSegment, LiteralExpressionSegment, LockSegment, NumberLiteralLimitValueSegment, NumberLiteralValue, OnDuplicateKeyColumnsSegment, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StringLiteralValue, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, ValuesExpression, VariableSegment, WhereSegment, WindowItemSegment, WindowSegment]. | 198 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 168 (max allowed is 20). | 198 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 497 | |
| metrics | NPathComplexity | NPath Complexity is 4,096 (max allowed is 200). | 497 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 1106 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 1106 | |
| metrics | NPathComplexity | NPath Complexity is 12,288 (max allowed is 200). | 1106 |
org/apache/shardingsphere/sql/parser/engine/sql92/visitor/statement/SQL92StatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 34 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CollectionValue, ColumnOrderByItemSegment, ColumnSegment, CommonExpressionSegment, DataTypeLengthSegment, DataTypeSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexOrderByItemSegment, Interval, IntervalExpression, KeywordValue, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment]. | 114 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 79 (max allowed is 20). | 114 |
org/apache/shardingsphere/sql/parser/engine/sql92/visitor/statement/type/SQL92DDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, CollectionValue, ColumnDefinitionSegment, ConstraintDefinitionSegment, ConstraintSegment, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropTableStatement, Interval, ModifyColumnDefinitionSegment]. | 68 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 68 |
org/apache/shardingsphere/sql/parser/engine/sql92/visitor/statement/type/SQL92DMLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AliasSegment, BooleanLiteralValue, ColumnAssignmentSegment, ColumnProjectionSegment, CommonExpressionSegment, ExpressionProjectionSegment, GroupBySegment, HavingSegment, IdentifierValue, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, OwnerSegment, ProjectionsSegment, SetAssignmentSegment, ShorthandProjectionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, WhereSegment]. | 105 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 77 (max allowed is 20). | 105 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 318 | |
| metrics | NPathComplexity | NPath Complexity is 768 (max allowed is 200). | 318 |
org/apache/shardingsphere/sql/parser/engine/sqlserver/visitor/statement/SQLServerStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 78 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, AliasSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CaseWhenExpression, CollectionValue, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CommonExpressionSegment, CommonTableExpressionSegment, ConstraintSegment, DataTypeLengthSegment, DataTypeSegment, DeleteMultiTableSegment, ExecSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionNameSegment, FunctionSegment, FunctionTableSegment, GroupBySegment, HavingSegment, IdentifierValue, InExpression, IndexNameSegment, IndexOrderByItemSegment, IndexSegment, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, JsonNullClauseSegment, KeyValueSegment, KeywordValue, LimitSegment, ListExpression, LiteralExpressionSegment, MergeWhenAndThenSegment, NotExpression, NullLiteralValue, NumberLiteralLimitValueSegment, NumberLiteralRowNumberValueSegment, NumberLiteralValue, OptionHintSegment, OrderBySegment, OtherLiteralValue, OutputSegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ParameterMarkerRowNumberValueSegment, ParameterMarkerValue, ParenthesesSegment, ProjectionsSegment, SQLServerUpdateStatisticsStatement, SampleOptionSegment, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, StatisticsOptionSegment, StatisticsStrategySegment, StringLiteralValue, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableHintLimitedSegment, TableNameSegment, TopProjectionSegment, VariableSegment, WhereSegment, WithSegment, WithTableHintSegment]. | 281 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 248 (max allowed is 20). | 281 | |
| sizes | MethodCount | Number of public methods is 118 (max allowed is 100). | 281 | |
| sizes | MethodCount | Total number of methods is 161 (max allowed is 100). | 281 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 646 | |
| metrics | NPathComplexity | NPath Complexity is 512 (max allowed is 200). | 646 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 778 | |
| metrics | NPathComplexity | NPath Complexity is 16,384 (max allowed is 200). | 778 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 1009 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 1239 | |
| metrics | NPathComplexity | NPath Complexity is 768 (max allowed is 200). | 1239 | |
| metrics | NPathComplexity | NPath Complexity is 256 (max allowed is 200). | 1980 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 2066 | |
| metrics | NPathComplexity | NPath Complexity is 810 (max allowed is 200). | 2066 |
org/apache/shardingsphere/sql/parser/engine/sqlserver/visitor/statement/type/SQLServerDCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 20 (max allowed is 10) classes [AlterRoleStatement, AlterUserStatement, CreateRoleStatement, CreateUserStatement, DropRoleStatement, DropUserStatement, IdentifierValue, LoginSegment, OwnerSegment, SQLServerAlterLoginStatement, SQLServerCreateLoginStatement, SQLServerDenyUserStatement, SQLServerDropLoginStatement, SQLServerGrantStatement, SQLServerRevertStatement, SQLServerRevokeStatement, SQLServerSetUserStatement, SimpleTableSegment, TableNameSegment, UserSegment]. | 80 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 50 (max allowed is 20). | 80 |
org/apache/shardingsphere/sql/parser/engine/sqlserver/visitor/statement/type/SQLServerDDLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 37 (max allowed is 10) classes [AddColumnDefinitionSegment, AlterDatabaseStatement, AlterFunctionStatement, AlterIndexStatement, AlterProcedureStatement, AlterSchemaStatement, AlterSequenceStatement, AlterTriggerStatement, AlterViewStatement, CollectionValue, ColumnDefinitionSegment, ConstraintDefinitionSegment, CreateDatabaseStatement, CreateFunctionStatement, CreateProcedureStatement, CreateSchemaStatement, CreateSequenceStatement, CreateTriggerStatement, CreateViewStatement, DeclareVariableStatement, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, DropDatabaseStatement, DropFunctionStatement, DropProcedureStatement, DropSchemaStatement, DropSequenceStatement, DropTableStatement, DropTriggerStatement, DropViewStatement, Interval, ModifyColumnDefinitionSegment, ModifyConstraintDefinitionSegment, SQLServerAlterServiceStatement, SQLServerCreateServiceStatement, SQLServerDropServiceStatement, TruncateStatement]. | 137 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 105 (max allowed is 20). | 137 |
org/apache/shardingsphere/sql/parser/engine/sqlserver/visitor/statement/type/SQLServerTCLStatementVisitor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 46 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/ColumnExtractor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 41 (max allowed is 20). | 70 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 17 (max allowed is 10). | 85 | |
| metrics | NPathComplexity | NPath Complexity is 65,536 (max allowed is 200). | 85 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 386 | |
| metrics | NPathComplexity | NPath Complexity is 433 (max allowed is 200). | 386 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/ColumnExtractorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 38 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, BetweenExpression, BinaryOperationExpression, CollectionTableSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, DatetimeProjectionSegment, ExpressionOrderByItemSegment, ExpressionProjectionSegment, FunctionSegment, GroupBySegment, HavingSegment, HierarchicalQuerySegment, IdentifierValue, InExpression, IntervalExpressionProjection, JoinTableSegment, ListExpression, LiteralExpressionSegment, OrderBySegment, OuterJoinExpression, ProjectionsSegment, RowExpression, SimpleTableSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, TypeCastExpression, WhereSegment, WindowItemSegment, XmlElementFunctionSegment, XmlSerializeFunctionSegment]. | 86 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 44 (max allowed is 20). | 86 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/ExpressionExtractor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 72 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 162 | |
| metrics | NPathComplexity | NPath Complexity is 8,193 (max allowed is 200). | 162 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 33 (max allowed is 10). | 267 | |
| metrics | JavaNCSS | NCSS for this method is 68 (max allowed is 50). | 267 | |
| metrics | NPathComplexity | NPath Complexity is 322,486,272 (max allowed is 200). | 267 | |
| sizes | ExecutableStatementCount | Executable statement count is 55 (max allowed is 50). | 267 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 445 | |
| metrics | NPathComplexity | NPath Complexity is 3,888 (max allowed is 200). | 445 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/ExpressionExtractorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [BinaryOperationExpression, CollateExpression, ColumnProjectionSegment, ColumnSegment, CommonExpressionSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, ListExpression, LiteralExpressionSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, RowExpression, SubqueryExpressionSegment, SubquerySegment, TypeCastExpression, UnaryOperationExpression, WhereSegment]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 63 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/SubqueryExtractor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 67 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 18 (max allowed is 10). | 228 | |
| metrics | NPathComplexity | NPath Complexity is 131,072 (max allowed is 200). | 228 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/SubqueryExtractorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 32 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, BinaryOperationExpression, CollateExpression, ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, InsertValuesSegment, JoinTableSegment, LiteralExpressionSegment, NotExpression, OnDuplicateKeyColumnsSegment, ProjectionsSegment, ReturningSegment, RowExpression, SetAssignmentSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, UnaryOperationExpression, WhereSegment, WithSegment]. | 82 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 82 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/TableExtractor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 62 (max allowed is 20). | 93 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 116 | |
| metrics | NPathComplexity | NPath Complexity is 576 (max allowed is 200). | 116 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 291 | |
| metrics | NPathComplexity | NPath Complexity is 524,288 (max allowed is 200). | 291 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 371 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 576 | |
| metrics | NPathComplexity | NPath Complexity is 300 (max allowed is 200). | 576 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 684 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/TableExtractorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 39 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, BinaryOperationExpression, ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, CommonExpressionSegment, CommonTableExpressionSegment, ExistsSubqueryExpression, ExpressionProjectionSegment, ExpressionWithParamsSegment, FunctionSegment, FunctionTableSegment, IdentifierValue, InsertValuesSegment, JoinTableSegment, LiteralExpressionSegment, LockSegment, MergeWhenAndThenSegment, MockedDatabaseType, OnDuplicateKeyColumnsSegment, OwnerSegment, ProjectionsSegment, ReturningSegment, RoutineBodySegment, SetAssignmentSegment, ShorthandProjectionSegment, SimpleTableSegment, SubqueryExpressionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableExtractor, TableNameSegment, UnaryOperationExpression, ValidStatementSegment, WhereSegment, WithSegment]. | 97 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 57 (max allowed is 20). | 97 | |
| metrics | JavaNCSS | NCSS for this method is 56 (max allowed is 50). | 214 | |
| sizes | ExecutableStatementCount | Executable statement count is 55 (max allowed is 50). | 214 | |
| metrics | JavaNCSS | NCSS for this method is 79 (max allowed is 50). | 554 | |
| sizes | ExecutableStatementCount | Executable statement count is 78 (max allowed is 50). | 554 |
org/apache/shardingsphere/sql/parser/statement/core/extractor/WhereExtractorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [BinaryOperationExpression, ColumnSegment, HierarchicalQuerySegment, IdentifierValue, JoinTableSegment, ProjectionsSegment, SimpleTableSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, TableNameSegment, WhereSegment]. | 47 |
org/apache/shardingsphere/sql/parser/statement/core/statement/type/ddl/table/AlterTableStatement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 78 | |
| metrics | NPathComplexity | NPath Complexity is 216 (max allowed is 200). | 230 |
org/apache/shardingsphere/sql/parser/statement/core/statement/type/dml/InsertStatement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 53 |
org/apache/shardingsphere/sql/parser/statement/core/statement/type/dml/SelectStatement.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 51 |
org/apache/shardingsphere/sql/parser/statement/core/util/MultiSQLSplitter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 23 (max allowed is 10). | 135 | |
| metrics | JavaNCSS | NCSS for this method is 71 (max allowed is 50). | 135 | |
| metrics | NPathComplexity | NPath Complexity is 399 (max allowed is 200). | 135 | |
| sizes | ExecutableStatementCount | Executable statement count is 57 (max allowed is 50). | 135 |
org/apache/shardingsphere/sql/parser/statement/core/util/SQLUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 51 |
org/apache/shardingsphere/sqlfederation/compiler/compiler/it/SQLStatementCompilerIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CalciteConnectionConfigImpl, CompilerContext, DefaultSQLParserRuleConfigurationBuilder, MySQLOperatorTable, Properties, SQLFederationRelConverter, SQLFederationSchema, SQLParserRule, SQLStatementCompiler, ShardingSphereColumn, ShardingSphereSchema, ShardingSphereTable]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 63 |
org/apache/shardingsphere/sqlfederation/compiler/metadata/schema/SQLFederationTable.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 62 |
org/apache/shardingsphere/sqlfederation/compiler/rel/converter/SQLFederationRelConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 70 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/logical/LogicalScan.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 91 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/logical/LogicalScanTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 67 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/physical/EnumerableScanTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 68 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/SQLNodeConverterEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 54 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/ExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 80 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 27 (max allowed is 10). | 90 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 90 | |
| metrics | NPathComplexity | NPath Complexity is 67,108,864 (max allowed is 200). | 90 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/ExpressionConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, CaseWhenExpression, CollateExpression, ColumnSegment, CommonExpressionSegment, DataTypeSegment, ExistsSubqueryExpression, ExtractArgExpression, FunctionSegment, IdentifierValue, InExpression, IntervalExpression, ListExpression, LiteralExpressionSegment, MatchAgainstExpression, NotExpression, ParameterMarkerExpressionSegment, QuantifySubqueryExpression, RowExpression, SubqueryExpressionSegment, SubquerySegment, TypeCastExpression, UnaryOperationExpression, VariableSegment]. | 100 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 100 | |
| metrics | JavaNCSS | NCSS for this method is 102 (max allowed is 50). | 113 | |
| sizes | ExecutableStatementCount | Executable statement count is 101 (max allowed is 50). | 113 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/BinaryOperationExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 158 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 175 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/FunctionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 92 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/LiteralExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 60 | |
| metrics | NPathComplexity | NPath Complexity is 16,384 (max allowed is 200). | 60 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/DeleteStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CommonTableExpressionSegment, DeleteMultiTableSegment, DeleteStatementConverter, IdentifierValue, JoinTableSegment, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, SimpleTableSegment, SubquerySegment, TableNameSegment, WhereSegment, WithSegment]. | 71 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 71 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/ExplainStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, ExplainStatement, ExplainStatementConverter, IdentifierValue, InsertValuesSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 52 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/InsertStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, IdentifierValue, InsertColumnsSegment, InsertStatementConverter, InsertValuesSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SetAssignmentSegment, SimpleTableSegment, SubquerySegment, TableNameSegment]. | 48 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/MergeStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AliasSegment, ColumnAssignmentSegment, ColumnSegment, ExpressionWithParamsSegment, IdentifierValue, MergeStatementConverter, ParameterMarkerExpressionSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment, WhereSegment]. | 48 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/SelectStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, ExpressionOrderByItemSegment, GroupBySegment, IdentifierValue, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, SelectStatementConverter, SimpleTableSegment, SubquerySegment, TableNameSegment, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 64 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/UpdateStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AliasSegment, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnSegment, IdentifierValue, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment, UpdateStatementConverter, WhereSegment]. | 54 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 54 |
org/apache/shardingsphere/sqlfederation/engine/SQLFederationEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 57 |
org/apache/shardingsphere/sqlfederation/engine/SQLFederationEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 63 |
org/apache/shardingsphere/sqlfederation/executor/enumerable/implementor/EnumerableScanImplementor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [AbstractEnumerable, DatabaseTypeRegistry, EmptyDataRowEnumerator, ExecutionGroupReportContext, HintValueContext, JDBCDataRowEnumerator, KernelProcessor, MemoryDataRowEnumerator, MergeEngine, ProcessEngine, QueryContext, SQLBindEngine, SQLExecutionInterruptedException, SystemDatabase]. | 76 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 76 |
org/apache/shardingsphere/sqlfederation/executor/enumerable/implementor/EnumerableScanImplementorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [EnumerableScanImplementor, ExecutionGroup, ExecutionGroupContext, ExecutionGroupReportContext, ExecutionUnit, JDBCExecutionUnit, Process, RowStatistics, SQLUnit, ScanImplementorContext, ShardingSphereColumn]. | 102 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 102 |
org/apache/shardingsphere/sqlfederation/provider/calcite/CalciteSQLFederationExecutor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [DatabaseTypeRegistry, ExecutionGroupContext, ExecutionGroupReportContext, ExecutionPlanCacheKey, IdentifierValue, NoSuchTableException, SQLException, SQLFederationCompilerEngine, SQLFederationProcessor, SQLFederationRelConverter, SQLFederationUnsupportedSQLException, SQLStatementCompiler]. | 78 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 36 (max allowed is 20). | 78 |
org/apache/shardingsphere/sqlfederation/provider/calcite/CalciteSQLFederationExecutorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [AtomicReference, CalciteSQLFederationExecutor, ConfigurationProperties, ConnectionContext, Grantee, IdentifierValue, OwnerSegment, ProcessEngine, Properties, Property, ResourceMetaData, RuleMetaData, SQLFederationCacheOption, SQLFederationContext, SQLFederationRule, SQLFederationRuleConfiguration, SQLIntegrityConstraintViolationException, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, SimpleTableSegment, TableNameSegment, TableSegmentBoundInfo]. | 106 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 46 (max allowed is 20). | 106 |
org/apache/shardingsphere/sqlfederation/provider/calcite/processor/SQLFederationProcessor.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 69 |
org/apache/shardingsphere/sqlfederation/provider/calcite/processor/SQLFederationProcessorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnProjectionSegment, ColumnSegment, IdentifierValue, LimitSegment, PaginationContext, ParameterMarkerLimitValueSegment, ProjectionsSegment, SQLFederationContext, SQLFederationProcessor, SelectStatementContext, SubquerySegment, SubqueryTableSegment, TableSegmentBoundInfo]. | 106 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 106 |
org/apache/shardingsphere/sqlfederation/provider/calcite/resultset/SQLFederationResultSet.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 59 |
org/apache/shardingsphere/test/e2e/driver/statement/ShardingPreparedStatementTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| sizes | ExecutableStatementCount | Executable statement count is 52 (max allowed is 50). | 162 | |
| sizes | ExecutableStatementCount | Executable statement count is 51 (max allowed is 50). | 443 |
org/apache/shardingsphere/test/e2e/env/container/adapter/impl/ShardingSphereProxyEmbeddedContainer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 77 |
org/apache/shardingsphere/test/e2e/env/runtime/E2ETestEnvironment.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 66 |
org/apache/shardingsphere/test/e2e/mcp/llm/LLMHttpE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 73 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 279 | |
| metrics | NPathComplexity | NPath Complexity is 287 (max allowed is 200). | 279 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 8 (max allowed is 3). | 294 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 313 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 9 (max allowed is 3). | 322 | |
| metrics | NPathComplexity | NPath Complexity is 276 (max allowed is 200). | 331 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 429 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 435 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 442 |
org/apache/shardingsphere/test/e2e/mcp/llm/conversation/LLMMCPSafetyValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 45 |
org/apache/shardingsphere/test/e2e/operation/pipeline/cases/PipelineContainerComposer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [DatabaseTypeRegistry, IdentifierValue, JdbcUrlAppender, PipelineDataSource, PipelineDockerContainerComposer, PipelineNativeContainerComposer, Property, QualifiedTable, ShardingSpherePipelineDataSourceConfiguration, Thread, YamlSingleRuleConfiguration]. | 85 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 37 (max allowed is 20). | 85 |
org/apache/shardingsphere/test/e2e/operation/pipeline/cases/cdc/CDCE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [CDCClient, CDCClientConfiguration, CDCJobType, CDCLoginParameter, ConsistencyCheckJobItemProgressContext, DataSourceRecordConsumer, E2EIncrementalTask, IntPkLargeOrderDAO, PipelineContainerComposer, PipelineDataSource, PipelineE2EDistSQLFacade, Properties, QualifiedTable, RetryStreamingExceptionHandler, SnowflakeKeyGenerateAlgorithm, StandardPipelineTableMetaDataLoader, StartStreamingParameter, TableCheckRangePosition, TableInventoryCheckParameter]. | 75 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 75 |
org/apache/shardingsphere/test/e2e/operation/pipeline/cases/cdc/DataSourceRecordConsumer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 114 |
org/apache/shardingsphere/test/e2e/operation/pipeline/cases/migration/general/PostgreSQLMigrationGeneralE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 53 |
org/apache/shardingsphere/test/e2e/operation/pipeline/cases/migration/primarykey/IndexesMigrationE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 62 |
org/apache/shardingsphere/test/e2e/operation/transaction/engine/base/TransactionBaseE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 77 |
org/apache/shardingsphere/test/e2e/sql/cases/value/SQLValue.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 52 (max allowed is 10). | 50 | |
| metrics | JavaNCSS | NCSS for this method is 69 (max allowed is 50). | 50 | |
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 50 |
org/apache/shardingsphere/test/e2e/sql/env/DataSetEnvironmentManager.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 72 |
org/apache/shardingsphere/test/e2e/sql/env/DataSetResetScopeCalculator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 54 (max allowed is 20). | 87 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 458 |
org/apache/shardingsphere/test/e2e/sql/it/distsql/ral/RALE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 |
org/apache/shardingsphere/test/e2e/sql/it/distsql/rql/RQLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 64 |
org/apache/shardingsphere/test/e2e/sql/it/sql/ddl/DDLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 195 | |
| metrics | NPathComplexity | NPath Complexity is 243 (max allowed is 200). | 195 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dml/BaseDMLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 81 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 25 (max allowed is 10). | 273 | |
| metrics | JavaNCSS | NCSS for this method is 59 (max allowed is 50). | 273 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dql/BaseDQLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 66 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 183 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 224 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dql/DQLExclusiveExecutionDetector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 61 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 67 |
org/apache/shardingsphere/test/it/data/pipeline/core/util/PipelineContextUtils.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [ContextManager, CreateTableConfiguration, DatabaseTypeRegistry, ImporterConfiguration, MetaDataContexts, MetaDataPersistFacade, MigrationIncrementalDumperContextCreator, MigrationJobItemContext, MigrationTaskConfiguration, PipelineColumnMetaData, PipelineContextKey, PipelineDataSourceManager, QualifiedTable, ShardingSphereColumn, ShardingSphereIdentifier, ShardingSpherePipelineDataSourceConfiguration, ShardingSphereTable, TransmissionProcessContext, YamlDataSourceConfigurationSwapper, YamlModeConfigurationSwapper, YamlPipelineProcessConfiguration, YamlPipelineProcessConfigurationSwapper, YamlPipelineReadConfiguration, YamlRuleConfigurationSwapperEngine]. | 95 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 42 (max allowed is 20). | 95 |
org/apache/shardingsphere/test/it/optimizer/sqlnode/converter/SQLNodeConverterEngineIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 105 |
org/apache/shardingsphere/test/it/optimizer/sqlnode/converter/cases/jaxb/RootSQLNodeConverterTestCases.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 55 |
org/apache/shardingsphere/test/it/rewriter/engine/SQLRewriterIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [ConcurrentHashMap, ConfigurationProperties, ConnectionContext, ConnectionProperties, DataSourceProvidedDatabaseConfiguration, DefaultSQLParserRuleConfigurationBuilder, File, HintValueContext, Properties, QueryContext, ResourceMetaData, RewriteScenarioContext, RuleMetaData, SQLBindEngine, SQLParserRule, SQLRewriteEntry, SQLRouteEngine, ShardingSphereDatabase, ShardingSphereMetaData, YamlDataSourceConfigurationSwapper, YamlRuleConfigurationSwapperEngine]. | 102 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 102 |
org/apache/shardingsphere/test/it/rewriter/engine/parameter/SQLRewriteEngineTestParametersBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 228 | |
| metrics | NPathComplexity | NPath Complexity is 1,920 (max allowed is 200). | 228 |
org/apache/shardingsphere/test/it/router/ShardingSQLRouterIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 24 (max allowed is 10) classes [AlgorithmConfiguration, ConfigurationProperties, ConnectionContext, DefaultSQLParserRuleConfigurationBuilder, HintShardingStrategyConfiguration, HintValueContext, MockedDataSource, Properties, Property, QueryContext, RuleMetaData, SQLBindEngine, SQLParserRule, SQLRouteEngine, ShardingRule, ShardingRuleConfiguration, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, ShardingTableReferenceRuleConfiguration, ShardingTableRuleConfiguration, StandardShardingStrategyConfiguration]. | 84 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 34 (max allowed is 20). | 84 |
org/apache/shardingsphere/test/it/router/SingleSQLRouterIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [ConfigurationProperties, ConnectionContext, DefaultSQLParserRuleConfigurationBuilder, HintValueContext, MockedDataSource, Properties, QueryContext, ResourceMetaData, RuleMetaData, SQLBindEngine, SQLParserRule, SQLRouteEngine, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable, SingleRule, SingleRuleConfiguration]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 62 |
org/apache/shardingsphere/test/it/sql/binder/HavingCorrelatedSubqueryBinderIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CacheOption, ConfigurationProperties, HintValueContext, Properties, SQLBindEngine, SQLParserEngine, SQLStatementVisitorEngine, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable]. | 51 |
org/apache/shardingsphere/test/it/sql/binder/SQLBinderIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CacheOption, ConfigurationProperties, Property, SQLBindEngine, SQLCaseAssertContext, SQLParserEngine, SQLStatementVisitorEngine, ShardingSphereColumn, ShardingSphereDatabase, ShardingSphereIndex, ShardingSphereMetaData, ShardingSphereSchema, ShardingSphereTable]. | 70 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 70 |
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/MySQLExternalExternalTestParameterLoadTemplate.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 30 (max allowed is 10). | 70 | |
| metrics | JavaNCSS | NCSS for this method is 72 (max allowed is 50). | 70 | |
| metrics | NPathComplexity | NPath Complexity is 1,866,601 (max allowed is 200). | 70 | |
| sizes | ExecutableStatementCount | Executable statement count is 62 (max allowed is 50). | 70 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 144 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 205 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 21 (max allowed is 10). | 214 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 224 |
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/PostgreSQLExternalTestParameterLoadTemplate.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 153 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 160 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 26 (max allowed is 10). | 271 | |
| metrics | NPathComplexity | NPath Complexity is 81,002 (max allowed is 200). | 271 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 23 (max allowed is 10). | 370 | |
| metrics | JavaNCSS | NCSS for this method is 67 (max allowed is 50). | 370 | |
| metrics | NPathComplexity | NPath Complexity is 72,900 (max allowed is 200). | 370 | |
| sizes | ExecutableStatementCount | Executable statement count is 54 (max allowed is 50). | 370 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 39 (max allowed is 10). | 453 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 453 | |
| metrics | NPathComplexity | NPath Complexity is 8,064 (max allowed is 200). | 453 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 462 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 478 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 522 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 524 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 527 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 568 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 664 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/assignment/AssignmentValueAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 53 | |
| metrics | NPathComplexity | NPath Complexity is 1,024 (max allowed is 200). | 53 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 76 (max allowed is 20). | 119 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 37 (max allowed is 10). | 734 | |
| metrics | JavaNCSS | NCSS for this method is 111 (max allowed is 50). | 734 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 70 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/table/TableAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/SQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 69 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/doris/DorisDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 96 (max allowed is 20). | 167 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 47 (max allowed is 10). | 177 | |
| metrics | JavaNCSS | NCSS for this method is 138 (max allowed is 50). | 177 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/mysql/MySQLDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 100 (max allowed is 20). | 173 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 49 (max allowed is 10). | 183 | |
| metrics | JavaNCSS | NCSS for this method is 144 (max allowed is 50). | 183 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/standard/StandardDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 62 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 72 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 69 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 19 (max allowed is 10). | 79 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 79 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/oracle/OracleDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 67 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 77 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/postgresql/PostgreSQLDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 59 (max allowed is 20). | 135 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 145 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 36 (max allowed is 10). | 194 | |
| metrics | JavaNCSS | NCSS for this method is 108 (max allowed is 50). | 194 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/StandardDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 85 (max allowed is 20). | 151 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 50 (max allowed is 10). | 161 | |
| metrics | JavaNCSS | NCSS for this method is 121 (max allowed is 50). | 161 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 58 (max allowed is 20). | 112 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/plsql/PLSQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 59 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/QueryableRALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 59 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/pipeline/UpdatablePipelineRALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 64 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/RDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 65 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/alter/AlterRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 58 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 68 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/create/CreateRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 64 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/drop/DropRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 68 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 78 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/RQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 57 |
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 42 |
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/dml/standard/InsertStatementTestCase.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 47 |
org/apache/shardingsphere/test/it/sql/parser/postgresql/InternalPostgreSQLParserIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 48 (max allowed is 20). | 93 |
org/apache/shardingsphere/transaction/base/seata/at/fixture/MockMessageHandler.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AbstractResultMessage, AtomicLong, BranchCommitResponse, BranchRegisterResponse, BranchReportResponse, BranchRollbackResponse, ConcurrentLinkedQueue, GlobalBeginResponse, GlobalCommitResponse, GlobalRollbackResponse, GlobalStatusResponse, MergeResultMessage, RegisterRMResponse, RegisterTMResponse, RpcMessage]. | 62 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 62 |
org/apache/shardingsphere/transaction/xa/jta/datasource/XATransactionDataSource.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 22 (max allowed is 20). | 53 |
