Preparing report...

Report for github.com/tencentcloudstack/terraform-provider-tencentcloud

(v1.81.10)

A    Great!    Found 1252 issues across 2487 files

Tweet

go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gofmt50%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo77%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • tencentcloud/resource_tc_dayu_l7_rule.go
    • Line 598: warning: cyclomatic complexity 30 of function checkL7RuleStatus() is high (> 15) (gocyclo)
    • Line 308: warning: cyclomatic complexity 29 of function resourceTencentCloudDayuL7RuleUpdate() is high (> 15) (gocyclo)
    • Line 171: warning: cyclomatic complexity 19 of function resourceTencentCloudDayuL7RuleCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_eks_cluster.go
    • Line 306: warning: cyclomatic complexity 37 of function resourceTencentcloudEKSClusterCreate() is high (> 15) (gocyclo)
    • Line 487: warning: cyclomatic complexity 32 of function resourceTencentcloudEKSClusterUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cynosdb_proxy.go
    • Line 397: warning: cyclomatic complexity 35 of function resourceTencentCloudCynosdbProxyUpdate() is high (> 15) (gocyclo)
    • Line 139: warning: cyclomatic complexity 28 of function resourceTencentCloudCynosdbProxyCreate() is high (> 15) (gocyclo)
    • Line 285: warning: cyclomatic complexity 24 of function resourceTencentCloudCynosdbProxyRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_alarm.go
    • Line 587: warning: cyclomatic complexity 40 of function resourceTencentCloudClsAlarmUpdate() is high (> 15) (gocyclo)
    • Line 262: warning: cyclomatic complexity 37 of function resourceTencentCloudClsAlarmCreate() is high (> 15) (gocyclo)
    • Line 418: warning: cyclomatic complexity 34 of function resourceTencentCloudClsAlarmRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_teo_origin_group.go
    • Line 345: warning: cyclomatic complexity 22 of function resourceTencentCloudTeoOriginGroupUpdate() is high (> 15) (gocyclo)
    • Line 253: warning: cyclomatic complexity 20 of function resourceTencentCloudTeoOriginGroupRead() is high (> 15) (gocyclo)
    • Line 156: warning: cyclomatic complexity 19 of function resourceTencentCloudTeoOriginGroupCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_eip.go
    • Line 132: warning: cyclomatic complexity 22 of function resourceTencentCloudEipCreate() is high (> 15) (gocyclo)
    • Line 306: warning: cyclomatic complexity 19 of function resourceTencentCloudEipUpdate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_dayu.go
    • Line 1525: warning: cyclomatic complexity 19 of function (*DayuService).DescribeL4Rules() is high (> 15) (gocyclo)
    • Line 23: warning: cyclomatic complexity 18 of function (*DayuService).DescribeCCSelfdefinePolicies() is high (> 15) (gocyclo)
    • Line 968: warning: cyclomatic complexity 17 of function (*DayuService).DescribeL7Rules() is high (> 15) (gocyclo)
    • Line 1261: warning: cyclomatic complexity 16 of function (*DayuService).SetRuleSwitch() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cdn_domain.go
    • Line 3174: warning: cyclomatic complexity 266 of function resourceTencentCloudCdnDomainUpdate() is high (> 15) (gocyclo)
    • Line 1699: warning: cyclomatic complexity 254 of function resourceTencentCloudCdnDomainCreate() is high (> 15) (gocyclo)
    • Line 2585: warning: cyclomatic complexity 100 of function resourceTencentCloudCdnDomainRead() is high (> 15) (gocyclo)
    • Line 4078: warning: cyclomatic complexity 17 of function resourceTencentCloudCdnDomainDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tem_workload.go
    • Line 948: warning: cyclomatic complexity 86 of function resourceTencentCloudTemWorkloadUpdate() is high (> 15) (gocyclo)
    • Line 447: warning: cyclomatic complexity 68 of function resourceTencentCloudTemWorkloadCreate() is high (> 15) (gocyclo)
    • Line 708: warning: cyclomatic complexity 62 of function resourceTencentCloudTemWorkloadRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_clb_listener_rule.go
    • Line 469: warning: cyclomatic complexity 34 of function resourceTencentCloudClbListenerRuleUpdate() is high (> 15) (gocyclo)
    • Line 212: warning: cyclomatic complexity 30 of function resourceTencentCloudClbListenerRuleCreate() is high (> 15) (gocyclo)
    • Line 374: warning: cyclomatic complexity 17 of function resourceTencentCloudClbListenerRuleRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cos_bucket.go
    • Line 812: warning: cyclomatic complexity 42 of function resourceTencentCloudCosBucketRead() is high (> 15) (gocyclo)
    • Line 997: warning: cyclomatic complexity 40 of function resourceTencentCloudCosBucketUpdate() is high (> 15) (gocyclo)
    • Line 1394: warning: cyclomatic complexity 32 of function resourceTencentCloudCosBucketLifecycleUpdate() is high (> 15) (gocyclo)
    • Line 1662: warning: cyclomatic complexity 20 of function resourceTencentCloudCosBucketOriginPullUpdate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_vpc.go
    • Line 2065: warning: cyclomatic complexity 61 of function comparePolicyAndSecurityGroupInfo() is high (> 15) (gocyclo)
    • Line 5848: warning: cyclomatic complexity 26 of function (*VpcService).DescribeCcnCrossBorderComplianceByFilter() is high (> 15) (gocyclo)
    • Line 2162: warning: cyclomatic complexity 24 of function parseRule() is high (> 15) (gocyclo)
    • Line 275: warning: cyclomatic complexity 23 of function (*VpcService).DescribeVpcs() is high (> 15) (gocyclo)
    • Line 2639: warning: cyclomatic complexity 20 of function (*VpcService).CreateEni() is high (> 15) (gocyclo)
    • Line 422: warning: cyclomatic complexity 20 of function (*VpcService).DescribeSubnets() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 19 of function (*VpcService).DeleteSecurityGroupPolicy() is high (> 15) (gocyclo)
    • Line 3413: warning: cyclomatic complexity 19 of function waitEniReady() is high (> 15) (gocyclo)
    • Line 2563: warning: cyclomatic complexity 18 of function (*VpcService).UnattachEip() is high (> 15) (gocyclo)
    • Line 1334: warning: cyclomatic complexity 18 of function (*VpcService).CreateSecurityGroupPolicy() is high (> 15) (gocyclo)
    • Line 773: warning: cyclomatic complexity 18 of function (*VpcService).DescribeRouteTables() is high (> 15) (gocyclo)
    • Line 1831: warning: cyclomatic complexity 17 of function (*VpcService).DescribeSecurityGroupPolices() is high (> 15) (gocyclo)
    • Line 2770: warning: cyclomatic complexity 16 of function (*VpcService).describeEnis() is high (> 15) (gocyclo)
    • Line 2960: warning: cyclomatic complexity 16 of function (*VpcService).AssignIpv4ToEni() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dayu_cc_policy_v2.go
    • Line 620: warning: cyclomatic complexity 60 of function resourceTencentCloudDayuCCPolicyV2Update() is high (> 15) (gocyclo)
    • Line 346: warning: cyclomatic complexity 24 of function resourceTencentCloudDayuCCPolicyV2Create() is high (> 15) (gocyclo)
    • Line 973: warning: cyclomatic complexity 21 of function resourceTencentCloudDayuCCPolicyV2Delete() is high (> 15) (gocyclo)
    • Line 488: warning: cyclomatic complexity 16 of function resourceTencentCloudDayuCCPolicyV2Read() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_api_gateway_service.go
    • Line 356: warning: cyclomatic complexity 21 of function resourceTencentCloudAPIGatewayServiceRead() is high (> 15) (gocyclo)
    • Line 242: warning: cyclomatic complexity 20 of function resourceTencentCloudAPIGatewayServiceCreate() is high (> 15) (gocyclo)
    • Line 515: warning: cyclomatic complexity 17 of function resourceTencentCloudAPIGatewayServiceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tem_application_service.go
    • Line 130: warning: cyclomatic complexity 21 of function resourceTencentCloudTemApplicationServiceCreate() is high (> 15) (gocyclo)
    • Line 325: warning: cyclomatic complexity 20 of function resourceTencentCloudTemApplicationServiceUpdate() is high (> 15) (gocyclo)
    • Line 227: warning: cyclomatic complexity 20 of function resourceTencentCloudTemApplicationServiceRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_scf_function_alias.go
    • Line 166: warning: cyclomatic complexity 19 of function resourceTencentCloudScfFunctionAliasCreate() is high (> 15) (gocyclo)
    • Line 355: warning: cyclomatic complexity 19 of function resourceTencentCloudScfFunctionAliasUpdate() is high (> 15) (gocyclo)
    • Line 257: warning: cyclomatic complexity 17 of function resourceTencentCloudScfFunctionAliasRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_transcode_pro_template.go
    • Line 588: warning: cyclomatic complexity 38 of function resourceTencentCloudCiMediaTranscodeProTemplateUpdate() is high (> 15) (gocyclo)
    • Line 425: warning: cyclomatic complexity 34 of function resourceTencentCloudCiMediaTranscodeProTemplateRead() is high (> 15) (gocyclo)
    • Line 280: warning: cyclomatic complexity 34 of function resourceTencentCloudCiMediaTranscodeProTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tcr_instance.go
    • Line 238: warning: cyclomatic complexity 33 of function resourceTencentCloudTcrInstanceCreate() is high (> 15) (gocyclo)
    • Line 533: warning: cyclomatic complexity 32 of function resourceTencentCloudTcrInstanceUpdate() is high (> 15) (gocyclo)
    • Line 387: warning: cyclomatic complexity 28 of function resourceTencentCloudTcrInstanceRead() is high (> 15) (gocyclo)
    • Line 839: warning: cyclomatic complexity 18 of function resourceTencentCloudTcrReplicationSet() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mongodb_sharding_instance.go
    • Line 452: warning: cyclomatic complexity 25 of function resourceMongodbShardingInstanceUpdate() is high (> 15) (gocyclo)
    • Line 107: warning: cyclomatic complexity 20 of function mongodbAllShardingInstanceReqSet() is high (> 15) (gocyclo)
    • Line 331: warning: cyclomatic complexity 17 of function resourceMongodbShardingInstanceRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_ckafka_consumer.go
    • Line 337: warning: cyclomatic complexity 21 of function resourceTencentCloudClsCkafkaConsumerUpdate() is high (> 15) (gocyclo)
    • Line 163: warning: cyclomatic complexity 19 of function resourceTencentCloudClsCkafkaConsumerCreate() is high (> 15) (gocyclo)
    • Line 249: warning: cyclomatic complexity 17 of function resourceTencentCloudClsCkafkaConsumerRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_watermark_template.go
    • Line 446: warning: cyclomatic complexity 27 of function resourceTencentCloudCiMediaWatermarkTemplateUpdate() is high (> 15) (gocyclo)
    • Line 321: warning: cyclomatic complexity 26 of function resourceTencentCloudCiMediaWatermarkTemplateRead() is high (> 15) (gocyclo)
    • Line 207: warning: cyclomatic complexity 26 of function resourceTencentCloudCiMediaWatermarkTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_instance.go
    • Line 1070: warning: cyclomatic complexity 107 of function resourceTencentCloudInstanceUpdate() is high (> 15) (gocyclo)
    • Line 535: warning: cyclomatic complexity 83 of function resourceTencentCloudInstanceCreate() is high (> 15) (gocyclo)
    • Line 887: warning: cyclomatic complexity 35 of function resourceTencentCloudInstanceRead() is high (> 15) (gocyclo)
    • Line 1535: warning: cyclomatic complexity 33 of function resourceTencentCloudInstanceDelete() is high (> 15) (gocyclo)
    • Line 1700: warning: cyclomatic complexity 19 of function switchInstance() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_cluster.go
    • Line 499: warning: cyclomatic complexity 52 of function resourceTencentCloudTsfClusterRead() is high (> 15) (gocyclo)
    • Line 377: warning: cyclomatic complexity 23 of function resourceTencentCloudTsfClusterCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_video_montage_template.go
    • Line 576: warning: cyclomatic complexity 37 of function resourceTencentCloudCiMediaVideoMontageTemplateUpdate() is high (> 15) (gocyclo)
    • Line 411: warning: cyclomatic complexity 35 of function resourceTencentCloudCiMediaVideoMontageTemplateRead() is high (> 15) (gocyclo)
    • Line 266: warning: cyclomatic complexity 34 of function resourceTencentCloudCiMediaVideoMontageTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_clb_listener.go
    • Line 485: warning: cyclomatic complexity 36 of function resourceTencentCloudClbListenerRead() is high (> 15) (gocyclo)
    • Line 370: warning: cyclomatic complexity 25 of function resourceTencentCloudClbListenerCreate() is high (> 15) (gocyclo)
    • Line 610: warning: cyclomatic complexity 21 of function resourceTencentCloudClbListenerUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_vpc_flow_log.go
    • Line 133: warning: cyclomatic complexity 18 of function resourceTencentCloudVpcFlowLogCreate() is high (> 15) (gocyclo)
    • Line 228: warning: cyclomatic complexity 18 of function resourceTencentCloudVpcFlowLogRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_clb_function_targets_attachment.go
    • Line 150: warning: cyclomatic complexity 18 of function resourceTencentCloudClbFunctionTargetsAttachmentCreate() is high (> 15) (gocyclo)
    • Line 344: warning: cyclomatic complexity 16 of function resourceTencentCloudClbFunctionTargetsAttachmentUpdate() is high (> 15) (gocyclo)
    • Line 244: warning: cyclomatic complexity 16 of function resourceTencentCloudClbFunctionTargetsAttachmentRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_monitor_alarm_policy.go
    • Line 867: warning: cyclomatic complexity 53 of function resourceTencentMonitorAlarmPolicyUpdate() is high (> 15) (gocyclo)
    • Line 473: warning: cyclomatic complexity 43 of function resourceTencentMonitorAlarmPolicyCreate() is high (> 15) (gocyclo)
    • Line 702: warning: cyclomatic complexity 25 of function resourceTencentMonitorAlarmPolicyRead() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_tke.go
    • Line 477: warning: cyclomatic complexity 23 of function (*TkeService).CreateCluster() is high (> 15) (gocyclo)
    • Line 2062: warning: cyclomatic complexity 18 of function ModifyClusterInternetOrIntranetAccess() is high (> 15) (gocyclo)
    • Line 1983: warning: cyclomatic complexity 17 of function ModifySecurityServiceOfCvmInNodePool() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dc_instance.go
    • Line 155: warning: cyclomatic complexity 21 of function resourceTencentCloudDcInstanceCreate() is high (> 15) (gocyclo)
    • Line 258: warning: cyclomatic complexity 20 of function resourceTencentCloudDcInstanceRead() is high (> 15) (gocyclo)
    • Line 354: warning: cyclomatic complexity 20 of function resourceTencentCloudDcInstanceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_redis_account.go
    • Line 251: warning: cyclomatic complexity 20 of function resourceTencentCloudRedisAccountUpdate() is high (> 15) (gocyclo)
    • Line 94: warning: cyclomatic complexity 17 of function resourceTencentCloudRedisAccountCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mysql_proxy.go
    • Line 397: warning: cyclomatic complexity 35 of function resourceTencentCloudMysqlProxyUpdate() is high (> 15) (gocyclo)
    • Line 166: warning: cyclomatic complexity 26 of function resourceTencentCloudMysqlProxyCreate() is high (> 15) (gocyclo)
    • Line 292: warning: cyclomatic complexity 19 of function resourceTencentCloudMysqlProxyRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tem_gateway.go
    • Line 341: warning: cyclomatic complexity 28 of function resourceTencentCloudTemGatewayRead() is high (> 15) (gocyclo)
    • Line 223: warning: cyclomatic complexity 27 of function resourceTencentCloudTemGatewayCreate() is high (> 15) (gocyclo)
    • Line 460: warning: cyclomatic complexity 26 of function resourceTencentCloudTemGatewayUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_vpn_gateway.go
    • Line 387: warning: cyclomatic complexity 27 of function resourceTencentCloudVpnGatewayUpdate() is high (> 15) (gocyclo)
    • Line 538: warning: cyclomatic complexity 23 of function resourceTencentCloudVpnGatewayDelete() is high (> 15) (gocyclo)
    • Line 226: warning: cyclomatic complexity 19 of function resourceTencentCloudVpnGatewayCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kubernetes_cluster.go
    • Line 1918: warning: cyclomatic complexity 102 of function resourceTencentCloudTkeClusterCreate() is high (> 15) (gocyclo)
    • Line 2606: warning: cyclomatic complexity 80 of function resourceTencentCloudTkeClusterUpdate() is high (> 15) (gocyclo)
    • Line 1515: warning: cyclomatic complexity 59 of function tkeGetCvmRunInstancesPara() is high (> 15) (gocyclo)
    • Line 2391: warning: cyclomatic complexity 35 of function resourceTencentCloudTkeClusterRead() is high (> 15) (gocyclo)
    • Line 887: warning: cyclomatic complexity 34 of function resourceTencentCloudTkeCluster() is high (> 15) (gocyclo)
    • Line 2940: warning: cyclomatic complexity 20 of function resourceTencentCloudTkeClusterDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cam_user.go
    • Line 156: warning: cyclomatic complexity 22 of function resourceTencentCloudCamUserCreate() is high (> 15) (gocyclo)
    • Line 331: warning: cyclomatic complexity 20 of function resourceTencentCloudCamUserUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_config.go
    • Line 571: warning: cyclomatic complexity 46 of function resourceTencentCloudClsConfigUpdate() is high (> 15) (gocyclo)
    • Line 246: warning: cyclomatic complexity 39 of function resourceTencentCloudClsConfigCreate() is high (> 15) (gocyclo)
    • Line 398: warning: cyclomatic complexity 37 of function resourceTencentCloudClsConfigRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kubernetes_as_scaling_group.go
    • Line 526: warning: cyclomatic complexity 26 of function kubernetesAsScalingConfigParaSerial() is high (> 15) (gocyclo)
    • Line 418: warning: cyclomatic complexity 20 of function kubernetesAsScalingGroupParaSerial() is high (> 15) (gocyclo)
    • Line 849: warning: cyclomatic complexity 19 of function resourceKubernetesAsScalingGroupDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mps_ai_recognition_template.go
    • Line 442: warning: cyclomatic complexity 29 of function resourceTencentCloudMpsAiRecognitionTemplateUpdate() is high (> 15) (gocyclo)
    • Line 213: warning: cyclomatic complexity 26 of function resourceTencentCloudMpsAiRecognitionTemplateCreate() is high (> 15) (gocyclo)
    • Line 330: warning: cyclomatic complexity 22 of function resourceTencentCloudMpsAiRecognitionTemplateRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_config_extra.go
    • Line 988: warning: cyclomatic complexity 88 of function resourceTencentCloudClsConfigExtraUpdate() is high (> 15) (gocyclo)
    • Line 434: warning: cyclomatic complexity 74 of function resourceTencentCloudClsConfigExtraCreate() is high (> 15) (gocyclo)
    • Line 710: warning: cyclomatic complexity 61 of function resourceTencentCloudClsConfigExtraRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_redis_instance.go
    • Line 667: warning: cyclomatic complexity 58 of function resourceTencentCloudRedisInstanceUpdate() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 42 of function resourceTencentCloudRedisInstanceCreate() is high (> 15) (gocyclo)
    • Line 522: warning: cyclomatic complexity 26 of function resourceTencentCloudRedisInstanceRead() is high (> 15) (gocyclo)
    • Line 971: warning: cyclomatic complexity 19 of function resourceTencentCloudRedisInstanceDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tem_scale_rule.go
    • Line 222: warning: cyclomatic complexity 30 of function resourceTencentCloudTemScaleRuleCreate() is high (> 15) (gocyclo)
    • Line 463: warning: cyclomatic complexity 30 of function resourceTencentCloudTemScaleRuleUpdate() is high (> 15) (gocyclo)
    • Line 349: warning: cyclomatic complexity 26 of function resourceTencentCloudTemScaleRuleRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cbs_storage.go
    • Line 333: warning: cyclomatic complexity 48 of function resourceTencentCloudCbsStorageUpdate() is high (> 15) (gocyclo)
    • Line 160: warning: cyclomatic complexity 20 of function resourceTencentCloudCbsStorageCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mysql_privilege.go
    • Line 417: warning: cyclomatic complexity 32 of function resourceTencentCloudMysqlPrivilegeRead() is high (> 15) (gocyclo)
    • Line 239: warning: cyclomatic complexity 30 of function (*resourceTencentCloudMysqlPrivilegeId).update() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_concat_template.go
    • Line 627: warning: cyclomatic complexity 39 of function resourceTencentCloudCiMediaConcatTemplateUpdate() is high (> 15) (gocyclo)
    • Line 448: warning: cyclomatic complexity 38 of function resourceTencentCloudCiMediaConcatTemplateRead() is high (> 15) (gocyclo)
    • Line 294: warning: cyclomatic complexity 38 of function resourceTencentCloudCiMediaConcatTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_teo_zone.go
    • Line 354: warning: cyclomatic complexity 39 of function resourceTencentCloudTeoZoneRead() is high (> 15) (gocyclo)
    • Line 519: warning: cyclomatic complexity 20 of function resourceTencentCloudTeoZoneUpdate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_redis.go
    • Line 111: warning: cyclomatic complexity 25 of function (*RedisService).DescribeInstances() is high (> 15) (gocyclo)
    • Line 244: warning: cyclomatic complexity 22 of function (*RedisService).CreateInstances() is high (> 15) (gocyclo)
    • Line 1573: warning: cyclomatic complexity 17 of function (*RedisService).DescribeRedisInstanceTaskListByFilter() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_sqlserver_general_cloud_instance.go
    • Line 349: warning: cyclomatic complexity 41 of function resourceTencentCloudSqlserverGeneralCloudInstanceRead() is high (> 15) (gocyclo)
    • Line 193: warning: cyclomatic complexity 32 of function resourceTencentCloudSqlserverGeneralCloudInstanceCreate() is high (> 15) (gocyclo)
    • Line 519: warning: cyclomatic complexity 18 of function resourceTencentCloudSqlserverGeneralCloudInstanceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_animation_template.go
    • Line 362: warning: cyclomatic complexity 21 of function resourceTencentCloudCiMediaAnimationTemplateUpdate() is high (> 15) (gocyclo)
    • Line 160: warning: cyclomatic complexity 19 of function resourceTencentCloudCiMediaAnimationTemplateCreate() is high (> 15) (gocyclo)
    • Line 255: warning: cyclomatic complexity 18 of function resourceTencentCloudCiMediaAnimationTemplateRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mps_transcode_template.go
    • Line 979: warning: cyclomatic complexity 71 of function resourceTencentCloudMpsTranscodeTemplateUpdate() is high (> 15) (gocyclo)
    • Line 685: warning: cyclomatic complexity 62 of function resourceTencentCloudMpsTranscodeTemplateRead() is high (> 15) (gocyclo)
    • Line 451: warning: cyclomatic complexity 62 of function resourceTencentCloudMpsTranscodeTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dayu_l4_rule.go
    • Line 314: warning: cyclomatic complexity 28 of function resourceTencentCloudDayuL4RuleUpdate() is high (> 15) (gocyclo)
    • Line 186: warning: cyclomatic complexity 20 of function resourceTencentCloudDayuL4RuleCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_teo_rule_engine.go
    • Line 1210: warning: cyclomatic complexity 88 of function resourceTencentCloudTeoRuleEngineUpdate() is high (> 15) (gocyclo)
    • Line 584: warning: cyclomatic complexity 86 of function resourceTencentCloudTeoRuleEngineCreate() is high (> 15) (gocyclo)
    • Line 907: warning: cyclomatic complexity 76 of function resourceTencentCloudTeoRuleEngineRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tcaplus_table.go
    • Line 247: warning: cyclomatic complexity 18 of function resourceTencentCloudTcaplusTableUpdate() is high (> 15) (gocyclo)
    • Line 381: warning: cyclomatic complexity 18 of function resourceTencentCloudTcaplusTableDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_application.go
    • Line 166: warning: cyclomatic complexity 23 of function resourceTencentCloudTsfApplicationCreate() is high (> 15) (gocyclo)
    • Line 384: warning: cyclomatic complexity 19 of function resourceTencentCloudTsfApplicationUpdate() is high (> 15) (gocyclo)
    • Line 273: warning: cyclomatic complexity 18 of function resourceTencentCloudTsfApplicationRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_pts_file.go
    • Line 173: warning: cyclomatic complexity 26 of function resourceTencentCloudPtsFileCreate() is high (> 15) (gocyclo)
    • Line 292: warning: cyclomatic complexity 22 of function resourceTencentCloudPtsFileRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tse_instance.go
    • Line 262: warning: cyclomatic complexity 31 of function resourceTencentCloudTseInstanceCreate() is high (> 15) (gocyclo)
    • Line 401: warning: cyclomatic complexity 30 of function resourceTencentCloudTseInstanceRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_vpc_network_acl_quintuple.go
    • Line 476: warning: cyclomatic complexity 31 of function resourceTencentCloudVpcNetworkAclQuintupleUpdate() is high (> 15) (gocyclo)
    • Line 219: warning: cyclomatic complexity 31 of function resourceTencentCloudVpcNetworkAclQuintupleCreate() is high (> 15) (gocyclo)
    • Line 338: warning: cyclomatic complexity 28 of function resourceTencentCloudVpcNetworkAclQuintupleRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_sqlserver_migration.go
    • Line 494: warning: cyclomatic complexity 30 of function resourceTencentCloudSqlserverMigrationUpdate() is high (> 15) (gocyclo)
    • Line 252: warning: cyclomatic complexity 29 of function resourceTencentCloudSqlserverMigrationCreate() is high (> 15) (gocyclo)
    • Line 374: warning: cyclomatic complexity 24 of function resourceTencentCloudSqlserverMigrationRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_gaap_proxy.go
    • Line 191: warning: cyclomatic complexity 23 of function resourceTencentCloudGaapProxyRead() is high (> 15) (gocyclo)
    • Line 307: warning: cyclomatic complexity 16 of function resourceTencentCloudGaapProxyUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_alarm_notice.go
    • Line 399: warning: cyclomatic complexity 29 of function resourceTencentCloudClsAlarmNoticeUpdate() is high (> 15) (gocyclo)
    • Line 171: warning: cyclomatic complexity 26 of function resourceTencentCloudClsAlarmNoticeCreate() is high (> 15) (gocyclo)
    • Line 285: warning: cyclomatic complexity 22 of function resourceTencentCloudClsAlarmNoticeRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_api_gateway_api.go
    • Line 304: warning: cyclomatic complexity 47 of function resourceTencentCloudAPIGatewayAPICreate() is high (> 15) (gocyclo)
    • Line 646: warning: cyclomatic complexity 47 of function resourceTencentCloudAPIGatewayAPIUpdate() is high (> 15) (gocyclo)
    • Line 511: warning: cyclomatic complexity 19 of function resourceTencentCloudAPIGatewayAPIRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_lane_rule.go
    • Line 245: warning: cyclomatic complexity 21 of function resourceTencentCloudTsfLaneRuleRead() is high (> 15) (gocyclo)
    • Line 351: warning: cyclomatic complexity 18 of function resourceTencentCloudTsfLaneRuleUpdate() is high (> 15) (gocyclo)
    • Line 160: warning: cyclomatic complexity 18 of function resourceTencentCloudTsfLaneRuleCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_snapshot_template.go
    • Line 340: warning: cyclomatic complexity 28 of function resourceTencentCloudCiMediaSnapshotTemplateRead() is high (> 15) (gocyclo)
    • Line 221: warning: cyclomatic complexity 28 of function resourceTencentCloudCiMediaSnapshotTemplateCreate() is high (> 15) (gocyclo)
    • Line 473: warning: cyclomatic complexity 27 of function resourceTencentCloudCiMediaSnapshotTemplateUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dts_compare_task.go
    • Line 171: warning: cyclomatic complexity 25 of function resourceTencentCloudDtsCompareTaskCreate() is high (> 15) (gocyclo)
    • Line 416: warning: cyclomatic complexity 25 of function resourceTencentCloudDtsCompareTaskUpdate() is high (> 15) (gocyclo)
    • Line 305: warning: cyclomatic complexity 23 of function resourceTencentCloudDtsCompareTaskRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tcr_webhook_trigger.go
    • Line 420: warning: cyclomatic complexity 28 of function resourceTencentCloudTcrWebhookTriggerUpdate() is high (> 15) (gocyclo)
    • Line 201: warning: cyclomatic complexity 23 of function resourceTencentCloudTcrWebhookTriggerCreate() is high (> 15) (gocyclo)
    • Line 309: warning: cyclomatic complexity 19 of function resourceTencentCloudTcrWebhookTriggerRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mdl_stream_live_input.go
    • Line 296: warning: cyclomatic complexity 20 of function resourceTencentCloudMdlStreamLiveInputUpdate() is high (> 15) (gocyclo)
    • Line 127: warning: cyclomatic complexity 18 of function resourceTencentCloudMdlStreamLiveInputCreate() is high (> 15) (gocyclo)
    • Line 210: warning: cyclomatic complexity 17 of function resourceTencentCloudMdlStreamLiveInputRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tat_invoker.go
    • Line 302: warning: cyclomatic complexity 21 of function resourceTencentCloudTatInvokerUpdate() is high (> 15) (gocyclo)
    • Line 222: warning: cyclomatic complexity 17 of function resourceTencentCloudTatInvokerRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_postgresql_instance.go
    • Line 787: warning: cyclomatic complexity 95 of function resourceTencentCloudPostgresqlInstanceUpdate() is high (> 15) (gocyclo)
    • Line 476: warning: cyclomatic complexity 57 of function resourceTencentCloudPostgresqlInstanceCreate() is high (> 15) (gocyclo)
    • Line 1285: warning: cyclomatic complexity 52 of function resourceTencentCloudPostgresqlInstanceRead() is high (> 15) (gocyclo)
    • Line 1539: warning: cyclomatic complexity 17 of function resourceTencentCLoudPostgresqlInstanceDelete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mps_adaptive_dynamic_streaming_template.go
    • Line 475: warning: cyclomatic complexity 30 of function resourceTencentCloudMpsAdaptiveDynamicStreamingTemplateUpdate() is high (> 15) (gocyclo)
    • Line 345: warning: cyclomatic complexity 27 of function resourceTencentCloudMpsAdaptiveDynamicStreamingTemplateRead() is high (> 15) (gocyclo)
    • Line 232: warning: cyclomatic complexity 27 of function resourceTencentCloudMpsAdaptiveDynamicStreamingTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tat_command.go
    • Line 364: warning: cyclomatic complexity 25 of function resourceTencentCloudTatCommandUpdate() is high (> 15) (gocyclo)
    • Line 259: warning: cyclomatic complexity 23 of function resourceTencentCloudTatCommandRead() is high (> 15) (gocyclo)
    • Line 165: warning: cyclomatic complexity 18 of function resourceTencentCloudTatCommandCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mps_workflow.go
    • Line 4260: warning: cyclomatic complexity 302 of function resourceTencentCloudMpsWorkflowUpdate() is high (> 15) (gocyclo)
    • Line 1902: warning: cyclomatic complexity 299 of function resourceTencentCloudMpsWorkflowCreate() is high (> 15) (gocyclo)
    • Line 2909: warning: cyclomatic complexity 295 of function resourceTencentCloudMpsWorkflowRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mariadb_instance.go
    • Line 587: warning: cyclomatic complexity 53 of function resourceTencentCloudMariadbInstanceRead() is high (> 15) (gocyclo)
    • Line 413: warning: cyclomatic complexity 38 of function resourceTencentCloudMariadbInstanceCreate() is high (> 15) (gocyclo)
    • Line 817: warning: cyclomatic complexity 25 of function resourceTencentCloudMariadbInstanceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_teo_application_proxy.go
    • Line 265: warning: cyclomatic complexity 20 of function resourceTencentCloudTeoApplicationProxyRead() is high (> 15) (gocyclo)
    • Line 360: warning: cyclomatic complexity 20 of function resourceTencentCloudTeoApplicationProxyUpdate() is high (> 15) (gocyclo)
    • Line 165: warning: cyclomatic complexity 17 of function resourceTencentCloudTeoApplicationProxyCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_transcode_template.go
    • Line 972: warning: cyclomatic complexity 68 of function resourceTencentCloudCiMediaTranscodeTemplateUpdate() is high (> 15) (gocyclo)
    • Line 456: warning: cyclomatic complexity 63 of function resourceTencentCloudCiMediaTranscodeTemplateCreate() is high (> 15) (gocyclo)
    • Line 692: warning: cyclomatic complexity 61 of function resourceTencentCloudCiMediaTranscodeTemplateRead() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_cos.go
    • Line 469: warning: cyclomatic complexity 28 of function (*CosService).GetBucketLifecycle() is high (> 15) (gocyclo)
    • Line 572: warning: cyclomatic complexity 26 of function (*CosService).GetDataSourceBucketLifecycle() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_lane.go
    • Line 258: warning: cyclomatic complexity 23 of function resourceTencentCloudTsfLaneRead() is high (> 15) (gocyclo)
    • Line 166: warning: cyclomatic complexity 21 of function resourceTencentCloudTsfLaneCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dcdb_db_instance.go
    • Line 266: warning: cyclomatic complexity 48 of function resourceTencentCloudDcdbDbInstanceCreate() is high (> 15) (gocyclo)
    • Line 683: warning: cyclomatic complexity 47 of function resourceTencentCloudDcdbDbInstanceUpdate() is high (> 15) (gocyclo)
    • Line 493: warning: cyclomatic complexity 34 of function resourceTencentCloudDcdbDbInstanceRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dcdb_hourdb_instance.go
    • Line 192: warning: cyclomatic complexity 38 of function resourceTencentCloudDcdbHourdbInstanceCreate() is high (> 15) (gocyclo)
    • Line 388: warning: cyclomatic complexity 34 of function resourceTencentCloudDcdbHourdbInstanceRead() is high (> 15) (gocyclo)
    • Line 534: warning: cyclomatic complexity 33 of function resourceTencentCloudDcdbHourdbInstanceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_unit_rule.go
    • Line 287: warning: cyclomatic complexity 27 of function resourceTencentCloudTsfUnitRuleRead() is high (> 15) (gocyclo)
    • Line 414: warning: cyclomatic complexity 27 of function resourceTencentCloudTsfUnitRuleUpdate() is high (> 15) (gocyclo)
    • Line 186: warning: cyclomatic complexity 24 of function resourceTencentCloudTsfUnitRuleCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tcm_mesh.go
    • Line 502: warning: cyclomatic complexity 69 of function resourceTencentCloudTcmMeshCreate() is high (> 15) (gocyclo)
    • Line 758: warning: cyclomatic complexity 65 of function resourceTencentCloudTcmMeshRead() is high (> 15) (gocyclo)
    • Line 1034: warning: cyclomatic complexity 61 of function resourceTencentCloudTcmMeshUpdate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_dts.go
    • Line 434: warning: cyclomatic complexity 22 of function (*DtsService).DescribeDtsMigrateJobsByFilter() is high (> 15) (gocyclo)
    • Line 978: warning: cyclomatic complexity 18 of function (*DtsService).DescribeDtsMigrateDbInstancesByFilter() is high (> 15) (gocyclo)
    • Line 50: warning: cyclomatic complexity 17 of function (*DtsService).DescribeDtsSyncJobsByFilter() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_tsf.go
    • Line 2979: warning: cyclomatic complexity 17 of function (*TsfService).DescribeTsfGroupsByFilter() is high (> 15) (gocyclo)
    • Line 1685: warning: cyclomatic complexity 16 of function (*TsfService).DescribeTsfConfigSummaryByFilter() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ckafka_connect_resource.go
    • Line 920: warning: cyclomatic complexity 111 of function resourceTencentCloudCkafkaConnectResourceRead() is high (> 15) (gocyclo)
    • Line 1379: warning: cyclomatic complexity 105 of function resourceTencentCloudCkafkaConnectResourceUpdate() is high (> 15) (gocyclo)
    • Line 587: warning: cyclomatic complexity 94 of function resourceTencentCloudCkafkaConnectResourceCreate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_dbbrain.go
    • Line 835: warning: cyclomatic complexity 18 of function (*DbbrainService).DescribeDbbrainSlowLogsByFilter() is high (> 15) (gocyclo)
    • Line 491: warning: cyclomatic complexity 17 of function (*DbbrainService).DescribeDbbrainSlowLogTopSqlsByFilter() is high (> 15) (gocyclo)
    • Line 1240: warning: cyclomatic complexity 16 of function (*DbbrainService).DescribeDbbrainMysqlProcessListByFilter() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_mysql.go
    • Line 2356: warning: cyclomatic complexity 17 of function (*MysqlService).DescribeMysqlSlowLogDataByFilter() is high (> 15) (gocyclo)
    • Line 2551: warning: cyclomatic complexity 16 of function (*MysqlService).DescribeMysqlUserTaskByFilter() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_gaap.go
    • Line 1186: warning: cyclomatic complexity 22 of function (*GaapService).DeleteLayer4Listener() is high (> 15) (gocyclo)
    • Line 1994: warning: cyclomatic complexity 22 of function (*GaapService).DeleteLayer7Listener() is high (> 15) (gocyclo)
    • Line 2207: warning: cyclomatic complexity 21 of function waitLayer7ListenerReady() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_css_live_transcode_template.go
    • Line 434: warning: cyclomatic complexity 44 of function resourceTencentCloudCssLiveTranscodeTemplateUpdate() is high (> 15) (gocyclo)
    • Line 198: warning: cyclomatic complexity 25 of function resourceTencentCloudCssLiveTranscodeTemplateCreate() is high (> 15) (gocyclo)
    • Line 321: warning: cyclomatic complexity 25 of function resourceTencentCloudCssLiveTranscodeTemplateRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_instance_set.go
    • Line 648: warning: cyclomatic complexity 45 of function doResourceTencentCloudInstanceSetUpdate() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 33 of function doResourceTencentCloudInstanceSetCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tsf_task.go
    • Line 523: warning: cyclomatic complexity 45 of function resourceTencentCloudTsfTaskUpdate() is high (> 15) (gocyclo)
    • Line 373: warning: cyclomatic complexity 32 of function resourceTencentCloudTsfTaskRead() is high (> 15) (gocyclo)
    • Line 249: warning: cyclomatic complexity 27 of function resourceTencentCloudTsfTaskCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kubernetes_scale_worker.go
    • Line 471: warning: cyclomatic complexity 26 of function resourceTencentCloudTkeScaleWorkerDelete() is high (> 15) (gocyclo)
    • Line 360: warning: cyclomatic complexity 21 of function resourceTencentCloudTkeScaleWorkerRead() is high (> 15) (gocyclo)
    • Line 253: warning: cyclomatic complexity 19 of function resourceTencentCloudTkeScaleWorkerCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kubernetes_cluster_attachment.go
    • Line 558: warning: cyclomatic complexity 32 of function resourceTencentCloudTkeClusterAttachmentCreate() is high (> 15) (gocyclo)
    • Line 351: warning: cyclomatic complexity 19 of function tkeGetInstanceAdvancedPara() is high (> 15) (gocyclo)
    • Line 458: warning: cyclomatic complexity 17 of function resourceTencentCloudTkeClusterAttachmentRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ci_media_speech_recognition_template.go
    • Line 297: warning: cyclomatic complexity 17 of function resourceTencentCloudCiMediaSpeechRecognitionTemplateUpdate() is high (> 15) (gocyclo)
    • Line 216: warning: cyclomatic complexity 16 of function resourceTencentCloudCiMediaSpeechRecognitionTemplateRead() is high (> 15) (gocyclo)
    • Line 134: warning: cyclomatic complexity 16 of function resourceTencentCloudCiMediaSpeechRecognitionTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kms_key.go
    • Line 263: warning: cyclomatic complexity 19 of function resourceTencentCloudKmsKeyUpdate() is high (> 15) (gocyclo)
    • Line 120: warning: cyclomatic complexity 18 of function resourceTencentCloudKmsKeyCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_scf_function.go
    • Line 925: warning: cyclomatic complexity 64 of function resourceTencentCloudScfFunctionUpdate() is high (> 15) (gocyclo)
    • Line 520: warning: cyclomatic complexity 43 of function resourceTencentCloudScfFunctionCreate() is high (> 15) (gocyclo)
    • Line 792: warning: cyclomatic complexity 16 of function resourceTencentCloudScfFunctionRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_ckafka_topic.go
    • Line 308: warning: cyclomatic complexity 16 of function resourceTencentCloudCkafkaTopicUpdate() is high (> 15) (gocyclo)
    • Line 166: warning: cyclomatic complexity 16 of function resourceTencentCloudCkafkaTopicCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mps_watermark_template.go
    • Line 398: warning: cyclomatic complexity 29 of function resourceTencentCloudMpsWatermarkTemplateUpdate() is high (> 15) (gocyclo)
    • Line 280: warning: cyclomatic complexity 24 of function resourceTencentCloudMpsWatermarkTemplateRead() is high (> 15) (gocyclo)
    • Line 179: warning: cyclomatic complexity 22 of function resourceTencentCloudMpsWatermarkTemplateCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_clb_instance.go
    • Line 325: warning: cyclomatic complexity 62 of function resourceTencentCloudClbInstanceCreate() is high (> 15) (gocyclo)
    • Line 675: warning: cyclomatic complexity 31 of function resourceTencentCloudClbInstanceUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_rum_project.go
    • Line 295: warning: cyclomatic complexity 20 of function resourceTencentCloudRumProjectUpdate() is high (> 15) (gocyclo)
    • Line 210: warning: cyclomatic complexity 18 of function resourceTencentCloudRumProjectRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cynosdb_cluster.go
    • Line 91: warning: cyclomatic complexity 60 of function resourceTencentCloudCynosdbClusterCreate() is high (> 15) (gocyclo)
    • Line 535: warning: cyclomatic complexity 51 of function resourceTencentCloudCynosdbClusterUpdate() is high (> 15) (gocyclo)
    • Line 348: warning: cyclomatic complexity 35 of function resourceTencentCloudCynosdbClusterRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_vpn_connection.go
    • Line 326: warning: cyclomatic complexity 41 of function resourceTencentCloudVpnConnectionCreate() is high (> 15) (gocyclo)
    • Line 696: warning: cyclomatic complexity 32 of function resourceTencentCloudVpnConnectionUpdate() is high (> 15) (gocyclo)
    • Line 570: warning: cyclomatic complexity 18 of function resourceTencentCloudVpnConnectionRead() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_dcdb.go
    • Line 261: warning: cyclomatic complexity 17 of function (*DcdbService).DescribeDcdbInstancesByFilter() is high (> 15) (gocyclo)
    • Line 1583: warning: cyclomatic complexity 16 of function (*DcdbService).DescribeDcdbSlowLogsByFilter() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_cls_index.go
    • Line 536: warning: cyclomatic complexity 35 of function resourceTencentCloudClsIndexUpdate() is high (> 15) (gocyclo)
    • Line 270: warning: cyclomatic complexity 32 of function resourceTencentCloudClsIndexCreate() is high (> 15) (gocyclo)
    • Line 405: warning: cyclomatic complexity 26 of function resourceTencentCloudClsIndexRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_css_pull_stream_task.go
    • Line 559: warning: cyclomatic complexity 49 of function resourceTencentCloudCssPullStreamTaskUpdate() is high (> 15) (gocyclo)
    • Line 401: warning: cyclomatic complexity 33 of function resourceTencentCloudCssPullStreamTaskRead() is high (> 15) (gocyclo)
    • Line 259: warning: cyclomatic complexity 31 of function resourceTencentCloudCssPullStreamTaskCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_dayu_ddos_policy_v2.go
    • Line 871: warning: cyclomatic complexity 55 of function resourceTencentCloudDayuDdosPolicyV2Update() is high (> 15) (gocyclo)
    • Line 453: warning: cyclomatic complexity 34 of function resourceTencentCloudDayuDdosPolicyV2Create() is high (> 15) (gocyclo)
    • Line 707: warning: cyclomatic complexity 20 of function resourceTencentCloudDayuDdosPolicyV2Read() is high (> 15) (gocyclo)
    • Line 1245: warning: cyclomatic complexity 16 of function resourceTencentCloudDayuDdosPolicyV2Delete() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tdcpg_cluster.go
    • Line 246: warning: cyclomatic complexity 26 of function resourceTencentCloudTdcpgClusterRead() is high (> 15) (gocyclo)
    • Line 139: warning: cyclomatic complexity 18 of function resourceTencentCloudTdcpgClusterCreate() is high (> 15) (gocyclo)
    • Line 362: warning: cyclomatic complexity 16 of function resourceTencentCloudTdcpgClusterUpdate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_kubernetes_node_pool.go
    • Line 999: warning: cyclomatic complexity 61 of function resourceKubernetesNodePoolRead() is high (> 15) (gocyclo)
    • Line 668: warning: cyclomatic complexity 40 of function composedKubernetesAsScalingConfigParaSerial() is high (> 15) (gocyclo)
    • Line 1356: warning: cyclomatic complexity 34 of function resourceKubernetesNodePoolUpdate() is high (> 15) (gocyclo)
    • Line 846: warning: cyclomatic complexity 30 of function composeAsLaunchConfigModifyRequest() is high (> 15) (gocyclo)
    • Line 1266: warning: cyclomatic complexity 16 of function resourceKubernetesNodePoolCreate() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_cam.go
    • Line 874: warning: cyclomatic complexity 28 of function (*CamService).DescribeUsersByFilter() is high (> 15) (gocyclo)
    • Line 766: warning: cyclomatic complexity 23 of function (*CamService).DescribePoliciesByFilter() is high (> 15) (gocyclo)
    • Line 428: warning: cyclomatic complexity 19 of function (*CamService).DescribeUserPolicyAttachmentsByFilter() is high (> 15) (gocyclo)
    • Line 1004: warning: cyclomatic complexity 17 of function (*CamService).DescribeGroupsByFilter() is high (> 15) (gocyclo)
    • Line 614: warning: cyclomatic complexity 16 of function (*CamService).DescribeGroupPolicyAttachmentsByFilter() is high (> 15) (gocyclo)
    • Line 269: warning: cyclomatic complexity 16 of function (*CamService).DescribeRolePolicyAttachmentsByFilter() is high (> 15) (gocyclo)
    • Line 365: warning: cyclomatic complexity 16 of function (*CamService).DescribeUserPolicyAttachmentById() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_tcmq_queue.go
    • Line 341: warning: cyclomatic complexity 35 of function resourceTencentCloudTcmqQueueUpdate() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 24 of function resourceTencentCloudTcmqQueueRead() is high (> 15) (gocyclo)
    • Line 149: warning: cyclomatic complexity 19 of function resourceTencentCloudTcmqQueueCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_monitor_alarm_notice.go
    • Line 499: warning: cyclomatic complexity 29 of function resourceTencentMonitorAlarmNoticeUpdate() is high (> 15) (gocyclo)
    • Line 248: warning: cyclomatic complexity 29 of function resourceTencentMonitorAlarmNoticeCreate() is high (> 15) (gocyclo)
    • Line 401: warning: cyclomatic complexity 16 of function resourceTencentMonitorAlarmNoticeRead() is high (> 15) (gocyclo)
    • tencentcloud/service_tencentcloud_cynosdb.go
    • Line 577: warning: cyclomatic complexity 29 of function (*CynosdbService).SwitchServerlessCluster() is high (> 15) (gocyclo)
    • Line 2723: warning: cyclomatic complexity 16 of function (*CynosdbService).DescribeCynosdbInstanceSlowQueriesByFilter() is high (> 15) (gocyclo)
    • Line 954: warning: cyclomatic complexity 16 of function (*CynosdbService).DescribeCynosdbParamTemplatesByFilter() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_mysql_instance.go
    • Line 968: warning: cyclomatic complexity 53 of function mysqlAllInstanceRoleUpdate() is high (> 15) (gocyclo)
    • Line 1169: warning: cyclomatic complexity 40 of function mysqlMasterInstanceRoleUpdate() is high (> 15) (gocyclo)
    • Line 359: warning: cyclomatic complexity 28 of function mysqlAllInstanceRoleSet() is high (> 15) (gocyclo)
    • Line 862: warning: cyclomatic complexity 21 of function resourceTencentCloudMysqlInstanceRead() is high (> 15) (gocyclo)
    • Line 670: warning: cyclomatic complexity 20 of function resourceTencentCloudMysqlInstanceCreate() is high (> 15) (gocyclo)
    • Line 479: warning: cyclomatic complexity 20 of function mysqlMasterInstanceRoleSet() is high (> 15) (gocyclo)
    • Line 1414: warning: cyclomatic complexity 19 of function resourceTencentCloudMysqlInstanceDelete() is high (> 15) (gocyclo)
    • Line 765: warning: cyclomatic complexity 16 of function tencentMsyqlBasicInfoRead() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_eni.go
    • Line 415: warning: cyclomatic complexity 48 of function resourceTencentCloudEniUpdate() is high (> 15) (gocyclo)
    • Line 187: warning: cyclomatic complexity 35 of function resourceTencentCloudEniCreate() is high (> 15) (gocyclo)
    • tencentcloud/resource_tc_pts_scenario.go
    • Line 1224: warning: cyclomatic complexity 115 of function resourceTencentCloudPtsScenarioRead() is high (> 15) (gocyclo)
    • Line 776: warning: cyclomatic complexity 115 of function resourceTencentCloudPtsScenarioCreate() is high (> 15) (gocyclo)
    • Line 1678: warning: cyclomatic complexity 115 of function resourceTencentCloudPtsScenarioUpdate() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!