Preparing report...

Report for github.com/mcsteele8/go-control-plane

(v0.0.0-20240513043612-098a77f36d91)

C    Needs some work    Found 574 issues across 627 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!


gofmt9%

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!


gocyclo49%

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.

    • envoy/extensions/upstreams/http/v3/http_protocol_options.pb.validate.go
    • Line 54: warning: cyclomatic complexity 64 of function (*HttpProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 421: warning: cyclomatic complexity 35 of function (*HttpProtocolOptions_ExplicitHttpConfig).validate() is high (> 15) (gocyclo)
    • Line 861: warning: cyclomatic complexity 31 of function (*HttpProtocolOptions_AutoHttpConfig).validate() is high (> 15) (gocyclo)
    • Line 669: warning: cyclomatic complexity 24 of function (*HttpProtocolOptions_UseDownstreamHttpConfig).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/http/ext_proc/v3/ext_proc.pb.validate.go
    • Line 54: warning: cyclomatic complexity 59 of function (*ExternalProcessor).validate() is high (> 15) (gocyclo)
    • Line 917: warning: cyclomatic complexity 32 of function (*ExtProcOverrides).validate() is high (> 15) (gocyclo)
    • Line 735: warning: cyclomatic complexity 20 of function (*ExtProcPerRoute).validate() is high (> 15) (gocyclo)
    • Line 417: warning: cyclomatic complexity 17 of function (*MetadataOptions).validate() is high (> 15) (gocyclo)
    • Line 575: warning: cyclomatic complexity 17 of function (*HeaderForwardingRules).validate() is high (> 15) (gocyclo)
    • envoy/config/bootstrap/v2/bootstrap.pb.validate.go
    • Line 54: warning: cyclomatic complexity 108 of function (*Bootstrap).validate() is high (> 15) (gocyclo)
    • Line 1305: warning: cyclomatic complexity 47 of function (*RuntimeLayer).validate() is high (> 15) (gocyclo)
    • Line 957: warning: cyclomatic complexity 31 of function (*Watchdog).validate() is high (> 15) (gocyclo)
    • Line 1733: warning: cyclomatic complexity 27 of function (*Bootstrap_StaticResources).validate() is high (> 15) (gocyclo)
    • Line 768: warning: cyclomatic complexity 24 of function (*ClusterManager).validate() is high (> 15) (gocyclo)
    • Line 1937: warning: cyclomatic complexity 24 of function (*Bootstrap_DynamicResources).validate() is high (> 15) (gocyclo)
    • Line 602: warning: cyclomatic complexity 18 of function (*Admin).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/auth/tls.pb.validate.go
    • Line 546: warning: cyclomatic complexity 58 of function (*CommonTlsContext).validate() is high (> 15) (gocyclo)
    • Line 227: warning: cyclomatic complexity 53 of function (*DownstreamTlsContext).validate() is high (> 15) (gocyclo)
    • Line 885: warning: cyclomatic complexity 21 of function (*CommonTlsContext_CombinedCertificateValidationContext).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 19 of function (*UpstreamTlsContext).validate() is high (> 15) (gocyclo)
    • envoy/config/rbac/v3/rbac.pb.validate.go
    • Line 484: warning: cyclomatic complexity 125 of function (*Permission).validate() is high (> 15) (gocyclo)
    • Line 1109: warning: cyclomatic complexity 120 of function (*Principal).validate() is high (> 15) (gocyclo)
    • Line 237: warning: cyclomatic complexity 37 of function (*Policy).validate() is high (> 15) (gocyclo)
    • Line 53: warning: cyclomatic complexity 21 of function (*RBAC).validate() is high (> 15) (gocyclo)
    • envoy/service/health/v3/hds.pb.validate.go
    • Line 1279: warning: cyclomatic complexity 34 of function (*ClusterHealthCheck).validate() is high (> 15) (gocyclo)
    • Line 923: warning: cyclomatic complexity 23 of function (*HealthCheckRequestOrEndpointHealthResponse).validate() is high (> 15) (gocyclo)
    • Line 751: warning: cyclomatic complexity 19 of function (*EndpointHealthResponse).validate() is high (> 15) (gocyclo)
    • Line 1114: warning: cyclomatic complexity 18 of function (*LocalityEndpoints).validate() is high (> 15) (gocyclo)
    • Line 448: warning: cyclomatic complexity 18 of function (*LocalityEndpointsHealth).validate() is high (> 15) (gocyclo)
    • Line 1514: warning: cyclomatic complexity 18 of function (*HealthCheckSpecifier).validate() is high (> 15) (gocyclo)
    • Line 157: warning: cyclomatic complexity 17 of function (*HealthCheckRequest).validate() is high (> 15) (gocyclo)
    • envoy/admin/v2alpha/config_dump.pb.validate.go
    • Line 1759: warning: cyclomatic complexity 31 of function (*ListenersConfigDump_DynamicListener).validate() is high (> 15) (gocyclo)
    • Line 1225: warning: cyclomatic complexity 27 of function (*SecretsConfigDump).validate() is high (> 15) (gocyclo)
    • Line 681: warning: cyclomatic complexity 27 of function (*ClustersConfigDump).validate() is high (> 15) (gocyclo)
    • Line 1055: warning: cyclomatic complexity 19 of function (*ScopedRoutesConfigDump).validate() is high (> 15) (gocyclo)
    • Line 887: warning: cyclomatic complexity 19 of function (*RoutesConfigDump).validate() is high (> 15) (gocyclo)
    • Line 509: warning: cyclomatic complexity 19 of function (*ListenersConfigDump).validate() is high (> 15) (gocyclo)
    • Line 2815: warning: cyclomatic complexity 18 of function (*ScopedRoutesConfigDump_DynamicScopedRouteConfigs).validate() is high (> 15) (gocyclo)
    • Line 2639: warning: cyclomatic complexity 18 of function (*ScopedRoutesConfigDump_InlineScopedRouteConfigs).validate() is high (> 15) (gocyclo)
    • Line 187: warning: cyclomatic complexity 17 of function (*UpdateFailureState).validate() is high (> 15) (gocyclo)
    • Line 2473: warning: cyclomatic complexity 17 of function (*RoutesConfigDump_DynamicRouteConfig).validate() is high (> 15) (gocyclo)
    • Line 3158: warning: cyclomatic complexity 17 of function (*SecretsConfigDump_StaticSecret).validate() is high (> 15) (gocyclo)
    • Line 2993: warning: cyclomatic complexity 17 of function (*SecretsConfigDump_DynamicSecret).validate() is high (> 15) (gocyclo)
    • Line 2145: warning: cyclomatic complexity 17 of function (*ClustersConfigDump_DynamicCluster).validate() is high (> 15) (gocyclo)
    • Line 349: warning: cyclomatic complexity 17 of function (*BootstrapConfigDump).validate() is high (> 15) (gocyclo)
    • Line 2310: warning: cyclomatic complexity 17 of function (*RoutesConfigDump_StaticRouteConfig).validate() is high (> 15) (gocyclo)
    • Line 1982: warning: cyclomatic complexity 17 of function (*ClustersConfigDump_StaticCluster).validate() is high (> 15) (gocyclo)
    • Line 1594: warning: cyclomatic complexity 17 of function (*ListenersConfigDump_DynamicListenerState).validate() is high (> 15) (gocyclo)
    • Line 1430: warning: cyclomatic complexity 17 of function (*ListenersConfigDump_StaticListener).validate() is high (> 15) (gocyclo)
    • envoy/config/endpoint/v3/load_report.pb.validate.go
    • Line 573: warning: cyclomatic complexity 30 of function (*ClusterStats).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 26 of function (*UpstreamLocalityStats).validate() is high (> 15) (gocyclo)
    • Line 263: warning: cyclomatic complexity 25 of function (*UpstreamEndpointStats).validate() is high (> 15) (gocyclo)
    • envoy/service/tap/v2alpha/common.pb.validate.go
    • Line 262: warning: cyclomatic complexity 80 of function (*MatchPredicate).validate() is high (> 15) (gocyclo)
    • Line 1034: warning: cyclomatic complexity 37 of function (*OutputSink).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 28 of function (*TapConfig).validate() is high (> 15) (gocyclo)
    • Line 830: warning: cyclomatic complexity 27 of function (*OutputConfig).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/network/redis_proxy/v3/redis_proxy.pb.validate.go
    • Line 54: warning: cyclomatic complexity 51 of function (*RedisProxy).validate() is high (> 15) (gocyclo)
    • Line 521: warning: cyclomatic complexity 35 of function (*RedisProxy_ConnPoolSettings).validate() is high (> 15) (gocyclo)
    • Line 1233: warning: cyclomatic complexity 22 of function (*RedisProxy_PrefixRoutes_Route).validate() is high (> 15) (gocyclo)
    • Line 937: warning: cyclomatic complexity 21 of function (*RedisProxy_RedisFault).validate() is high (> 15) (gocyclo)
    • Line 770: warning: cyclomatic complexity 18 of function (*RedisProxy_PrefixRoutes).validate() is high (> 15) (gocyclo)
    • Line 361: warning: cyclomatic complexity 17 of function (*RedisProtocolOptions).validate() is high (> 15) (gocyclo)
    • envoy/admin/v3/certs.pb.validate.go
    • Line 354: warning: cyclomatic complexity 32 of function (*CertificateDetails).validate() is high (> 15) (gocyclo)
    • Line 187: warning: cyclomatic complexity 19 of function (*Certificate).validate() is high (> 15) (gocyclo)
    • Line 726: warning: cyclomatic complexity 17 of function (*CertificateDetails_OcspDetails).validate() is high (> 15) (gocyclo)
    • envoy/config/metrics/v2/stats.pb.validate.go
    • Line 433: warning: cyclomatic complexity 28 of function (*StatsMatcher).validate() is high (> 15) (gocyclo)
    • Line 242: warning: cyclomatic complexity 25 of function (*StatsConfig).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 23 of function (*StatsSink).validate() is high (> 15) (gocyclo)
    • Line 786: warning: cyclomatic complexity 18 of function (*StatsdSink).validate() is high (> 15) (gocyclo)
    • envoy/config/common/matcher/v3/matcher.pb.validate.go
    • Line 281: warning: cyclomatic complexity 100 of function (*MatchPredicate).validate() is high (> 15) (gocyclo)
    • Line 1713: warning: cyclomatic complexity 45 of function (*Matcher_MatcherList_Predicate).validate() is high (> 15) (gocyclo)
    • Line 1429: warning: cyclomatic complexity 44 of function (*Matcher_MatcherTree).validate() is high (> 15) (gocyclo)
    • Line 2187: warning: cyclomatic complexity 34 of function (*Matcher_MatcherList_Predicate_SinglePredicate).validate() is high (> 15) (gocyclo)
    • Line 53: warning: cyclomatic complexity 32 of function (*Matcher).validate() is high (> 15) (gocyclo)
    • Line 1082: warning: cyclomatic complexity 25 of function (*Matcher_OnMatch).validate() is high (> 15) (gocyclo)
    • Line 2001: warning: cyclomatic complexity 21 of function (*Matcher_MatcherList_FieldMatcher).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/http/jwt_authn/v3/config.pb.validate.go
    • Line 54: warning: cyclomatic complexity 71 of function (*JwtProvider).validate() is high (> 15) (gocyclo)
    • Line 1158: warning: cyclomatic complexity 56 of function (*JwtRequirement).validate() is high (> 15) (gocyclo)
    • Line 2140: warning: cyclomatic complexity 36 of function (*JwtAuthentication).validate() is high (> 15) (gocyclo)
    • Line 570: warning: cyclomatic complexity 30 of function (*RemoteJwks).validate() is high (> 15) (gocyclo)
    • Line 1774: warning: cyclomatic complexity 27 of function (*RequirementRule).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/listener/listener_components.pb.validate.go
    • Line 774: warning: cyclomatic complexity 50 of function (*ListenerFilterChainMatchPredicate).validate() is high (> 15) (gocyclo)
    • Line 493: warning: cyclomatic complexity 46 of function (*FilterChain).validate() is high (> 15) (gocyclo)
    • Line 250: warning: cyclomatic complexity 36 of function (*FilterChainMatch).validate() is high (> 15) (gocyclo)
    • Line 1086: warning: cyclomatic complexity 32 of function (*ListenerFilter).validate() is high (> 15) (gocyclo)
    • Line 53: warning: cyclomatic complexity 25 of function (*Filter).validate() is high (> 15) (gocyclo)
    • envoy/data/accesslog/v3/accesslog.pb.validate.go
    • Line 515: warning: cyclomatic complexity 134 of function (*AccessLogCommon).validate() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 24 of function (*HTTPAccessLogEntry).validate() is high (> 15) (gocyclo)
    • Line 1376: warning: cyclomatic complexity 24 of function (*TLSProperties).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 17 of function (*TCPAccessLogEntry).validate() is high (> 15) (gocyclo)
    • envoy/config/core/v3/protocol.pb.validate.go
    • Line 1559: warning: cyclomatic complexity 74 of function (*Http2ProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 862: warning: cyclomatic complexity 34 of function (*HttpProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 320: warning: cyclomatic complexity 31 of function (*QuicProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 1097: warning: cyclomatic complexity 31 of function (*Http1ProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 1327: warning: cyclomatic complexity 27 of function (*KeepaliveSettings).validate() is high (> 15) (gocyclo)
    • Line 2542: warning: cyclomatic complexity 25 of function (*Http1ProtocolOptions_HeaderKeyFormat).validate() is high (> 15) (gocyclo)
    • Line 670: warning: cyclomatic complexity 23 of function (*AlternateProtocolsCacheOptions).validate() is high (> 15) (gocyclo)
    • Line 2862: warning: cyclomatic complexity 17 of function (*Http2ProtocolOptions_SettingsParameter).validate() is high (> 15) (gocyclo)
    • Line 2096: warning: cyclomatic complexity 17 of function (*Http3ProtocolOptions).validate() is high (> 15) (gocyclo)
    • envoy/config/bootstrap/v3/bootstrap.pb.validate.go
    • Line 54: warning: cyclomatic complexity 224 of function (*Bootstrap).validate() is high (> 15) (gocyclo)
    • Line 1656: warning: cyclomatic complexity 51 of function (*Watchdog).validate() is high (> 15) (gocyclo)
    • Line 2225: warning: cyclomatic complexity 47 of function (*RuntimeLayer).validate() is high (> 15) (gocyclo)
    • Line 2790: warning: cyclomatic complexity 27 of function (*Bootstrap_StaticResources).validate() is high (> 15) (gocyclo)
    • Line 1106: warning: cyclomatic complexity 26 of function (*Admin).validate() is high (> 15) (gocyclo)
    • Line 1308: warning: cyclomatic complexity 24 of function (*ClusterManager).validate() is high (> 15) (gocyclo)
    • Line 2994: warning: cyclomatic complexity 24 of function (*Bootstrap_DynamicResources).validate() is high (> 15) (gocyclo)
    • Line 3562: warning: cyclomatic complexity 18 of function (*Bootstrap_ApplicationLogConfig_LogFormat).validate() is high (> 15) (gocyclo)
    • Line 1499: warning: cyclomatic complexity 17 of function (*Watchdogs).validate() is high (> 15) (gocyclo)
    • envoy/admin/v3/config_dump.pb.validate.go
    • Line 347: warning: cyclomatic complexity 27 of function (*SecretsConfigDump).validate() is high (> 15) (gocyclo)
    • Line 551: warning: cyclomatic complexity 24 of function (*SecretsConfigDump_DynamicSecret).validate() is high (> 15) (gocyclo)
    • Line 747: warning: cyclomatic complexity 17 of function (*SecretsConfigDump_StaticSecret).validate() is high (> 15) (gocyclo)
    • Line 187: warning: cyclomatic complexity 17 of function (*BootstrapConfigDump).validate() is high (> 15) (gocyclo)
    • envoy/config/route/v3/route_components.pb.validate.go
    • Line 2861: warning: cyclomatic complexity 220 of function (*RouteAction).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 132 of function (*VirtualHost).validate() is high (> 15) (gocyclo)
    • Line 1007: warning: cyclomatic complexity 131 of function (*Route).validate() is high (> 15) (gocyclo)
    • Line 9957: warning: cyclomatic complexity 115 of function (*RateLimit_Action).validate() is high (> 15) (gocyclo)
    • Line 2036: warning: cyclomatic complexity 100 of function (*RouteMatch).validate() is high (> 15) (gocyclo)
    • Line 3909: warning: cyclomatic complexity 77 of function (*RetryPolicy).validate() is high (> 15) (gocyclo)
    • Line 6541: warning: cyclomatic complexity 59 of function (*WeightedCluster_ClusterWeight).validate() is high (> 15) (gocyclo)
    • Line 5656: warning: cyclomatic complexity 58 of function (*HeaderMatcher).validate() is high (> 15) (gocyclo)
    • Line 7467: warning: cyclomatic complexity 55 of function (*RouteAction_HashPolicy).validate() is high (> 15) (gocyclo)
    • Line 2558: warning: cyclomatic complexity 49 of function (*CorsPolicy).validate() is high (> 15) (gocyclo)
    • Line 4467: warning: cyclomatic complexity 33 of function (*RedirectAction).validate() is high (> 15) (gocyclo)
    • Line 5101: warning: cyclomatic complexity 32 of function (*Tracing).validate() is high (> 15) (gocyclo)
    • Line 1686: warning: cyclomatic complexity 25 of function (*WeightedCluster).validate() is high (> 15) (gocyclo)
    • Line 6198: warning: cyclomatic complexity 25 of function (*InternalRedirectPolicy).validate() is high (> 15) (gocyclo)
    • Line 7981: warning: cyclomatic complexity 24 of function (*RouteAction_MaxStreamDuration).validate() is high (> 15) (gocyclo)
    • Line 5466: warning: cyclomatic complexity 23 of function (*RateLimit).validate() is high (> 15) (gocyclo)
    • Line 11398: warning: cyclomatic complexity 22 of function (*RateLimit_Action_HeaderValueMatch).validate() is high (> 15) (gocyclo)
    • Line 11917: warning: cyclomatic complexity 22 of function (*RateLimit_Action_QueryParameterValueMatch).validate() is high (> 15) (gocyclo)
    • Line 6005: warning: cyclomatic complexity 22 of function (*QueryParameterMatcher).validate() is high (> 15) (gocyclo)
    • Line 7797: warning: cyclomatic complexity 21 of function (*RouteAction_UpgradeConfig).validate() is high (> 15) (gocyclo)
    • Line 8492: warning: cyclomatic complexity 20 of function (*RouteAction_HashPolicy_Cookie).validate() is high (> 15) (gocyclo)
    • Line 7289: warning: cyclomatic complexity 19 of function (*RouteAction_RequestMirrorPolicy).validate() is high (> 15) (gocyclo)
    • Line 9778: warning: cyclomatic complexity 18 of function (*RetryPolicy_RateLimitedRetryBackOff).validate() is high (> 15) (gocyclo)
    • Line 7025: warning: cyclomatic complexity 17 of function (*RouteMatch_TlsContextMatchOptions).validate() is high (> 15) (gocyclo)
    • Line 11747: warning: cyclomatic complexity 16 of function (*RateLimit_Action_MetaData).validate() is high (> 15) (gocyclo)
    • envoy/config/filter/http/ext_authz/v2/ext_authz.pb.validate.go
    • Line 54: warning: cyclomatic complexity 51 of function (*ExtAuthz).validate() is high (> 15) (gocyclo)
    • Line 477: warning: cyclomatic complexity 24 of function (*HttpService).validate() is high (> 15) (gocyclo)
    • Line 990: warning: cyclomatic complexity 22 of function (*ExtAuthzPerRoute).validate() is high (> 15) (gocyclo)
    • Line 665: warning: cyclomatic complexity 18 of function (*AuthorizationRequest).validate() is high (> 15) (gocyclo)
    • Line 830: warning: cyclomatic complexity 17 of function (*AuthorizationResponse).validate() is high (> 15) (gocyclo)
    • envoy/config/accesslog/v3/accesslog.pb.validate.go
    • Line 234: warning: cyclomatic complexity 135 of function (*AccessLogFilter).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 20 of function (*AccessLog).validate() is high (> 15) (gocyclo)
    • Line 2366: warning: cyclomatic complexity 17 of function (*MetadataFilter).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/network/dubbo_proxy/v3/route.pb.validate.go
    • Line 538: warning: cyclomatic complexity 25 of function (*RouteAction).validate() is high (> 15) (gocyclo)
    • Line 197: warning: cyclomatic complexity 21 of function (*Route).validate() is high (> 15) (gocyclo)
    • Line 737: warning: cyclomatic complexity 19 of function (*MethodMatch).validate() is high (> 15) (gocyclo)
    • Line 376: warning: cyclomatic complexity 18 of function (*RouteMatch).validate() is high (> 15) (gocyclo)
    • Line 1050: warning: cyclomatic complexity 16 of function (*MethodMatch_ParameterMatchSpecifier).validate() is high (> 15) (gocyclo)
    • envoy/data/dns/v3/dns_table.pb.validate.go
    • Line 766: warning: cyclomatic complexity 29 of function (*DnsTable_DnsService).validate() is high (> 15) (gocyclo)
    • Line 1143: warning: cyclomatic complexity 28 of function (*DnsTable_DnsEndpoint).validate() is high (> 15) (gocyclo)
    • Line 541: warning: cyclomatic complexity 25 of function (*DnsTable_DnsServiceTarget).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 21 of function (*DnsTable).validate() is high (> 15) (gocyclo)
    • Line 1358: warning: cyclomatic complexity 19 of function (*DnsTable_DnsVirtualDomain).validate() is high (> 15) (gocyclo)
    • Line 361: warning: cyclomatic complexity 17 of function (*DnsTable_DnsServiceProtocol).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/http/ratelimit/v3/rate_limit.pb.validate.go
    • Line 731: warning: cyclomatic complexity 85 of function (*RateLimitConfig_Action).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 51 of function (*RateLimit).validate() is high (> 15) (gocyclo)
    • Line 384: warning: cyclomatic complexity 22 of function (*RateLimitConfig).validate() is high (> 15) (gocyclo)
    • Line 2085: warning: cyclomatic complexity 16 of function (*RateLimitConfig_Action_MetaData).validate() is high (> 15) (gocyclo)
    • envoy/service/discovery/v3/discovery.pb.validate.go
    • Line 1098: warning: cyclomatic complexity 43 of function (*DynamicParameterConstraints).validate() is high (> 15) (gocyclo)
    • Line 1370: warning: cyclomatic complexity 38 of function (*Resource).validate() is high (> 15) (gocyclo)
    • Line 659: warning: cyclomatic complexity 33 of function (*DeltaDiscoveryRequest).validate() is high (> 15) (gocyclo)
    • Line 893: warning: cyclomatic complexity 26 of function (*DeltaDiscoveryResponse).validate() is high (> 15) (gocyclo)
    • Line 288: warning: cyclomatic complexity 25 of function (*DiscoveryRequest).validate() is high (> 15) (gocyclo)
    • Line 486: warning: cyclomatic complexity 18 of function (*DiscoveryResponse).validate() is high (> 15) (gocyclo)
    • Line 1620: warning: cyclomatic complexity 18 of function (*DynamicParameterConstraints_SingleConstraint).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/route/route_components.pb.validate.go
    • Line 2257: warning: cyclomatic complexity 176 of function (*RouteAction).validate() is high (> 15) (gocyclo)
    • Line 768: warning: cyclomatic complexity 120 of function (*Route).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 109 of function (*VirtualHost).validate() is high (> 15) (gocyclo)
    • Line 1553: warning: cyclomatic complexity 72 of function (*RouteMatch).validate() is high (> 15) (gocyclo)
    • Line 7591: warning: cyclomatic complexity 65 of function (*RateLimit_Action).validate() is high (> 15) (gocyclo)
    • Line 5135: warning: cyclomatic complexity 57 of function (*WeightedCluster_ClusterWeight).validate() is high (> 15) (gocyclo)
    • Line 3120: warning: cyclomatic complexity 55 of function (*RetryPolicy).validate() is high (> 15) (gocyclo)
    • Line 5931: warning: cyclomatic complexity 55 of function (*RouteAction_HashPolicy).validate() is high (> 15) (gocyclo)
    • Line 4616: warning: cyclomatic complexity 48 of function (*HeaderMatcher).validate() is high (> 15) (gocyclo)
    • Line 1955: warning: cyclomatic complexity 48 of function (*CorsPolicy).validate() is high (> 15) (gocyclo)
    • Line 4077: warning: cyclomatic complexity 32 of function (*Tracing).validate() is high (> 15) (gocyclo)
    • Line 4922: warning: cyclomatic complexity 28 of function (*QueryParameterMatcher).validate() is high (> 15) (gocyclo)
    • Line 7017: warning: cyclomatic complexity 25 of function (*RetryPolicy_RetryPriority).validate() is high (> 15) (gocyclo)
    • Line 7217: warning: cyclomatic complexity 25 of function (*RetryPolicy_RetryHostPredicate).validate() is high (> 15) (gocyclo)
    • Line 3586: warning: cyclomatic complexity 23 of function (*RedirectAction).validate() is high (> 15) (gocyclo)
    • Line 8523: warning: cyclomatic complexity 22 of function (*RateLimit_Action_HeaderValueMatch).validate() is high (> 15) (gocyclo)
    • Line 5757: warning: cyclomatic complexity 19 of function (*RouteAction_RequestMirrorPolicy).validate() is high (> 15) (gocyclo)
    • Line 5595: warning: cyclomatic complexity 17 of function (*RouteMatch_TlsContextMatchOptions).validate() is high (> 15) (gocyclo)
    • Line 1391: warning: cyclomatic complexity 16 of function (*WeightedCluster).validate() is high (> 15) (gocyclo)
    • Line 4455: warning: cyclomatic complexity 16 of function (*RateLimit).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/core/protocol.pb.validate.go
    • Line 635: warning: cyclomatic complexity 53 of function (*Http2ProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 263: warning: cyclomatic complexity 27 of function (*HttpProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 469: warning: cyclomatic complexity 17 of function (*Http1ProtocolOptions).validate() is high (> 15) (gocyclo)
    • Line 1364: warning: cyclomatic complexity 17 of function (*Http2ProtocolOptions_SettingsParameter).validate() is high (> 15) (gocyclo)
    • envoy/admin/v3/config_dump_shared.pb.validate.go
    • Line 1568: warning: cyclomatic complexity 31 of function (*ListenersConfigDump_DynamicListener).validate() is high (> 15) (gocyclo)
    • Line 390: warning: cyclomatic complexity 27 of function (*ClustersConfigDump).validate() is high (> 15) (gocyclo)
    • Line 2688: warning: cyclomatic complexity 25 of function (*ScopedRoutesConfigDump_DynamicScopedRouteConfigs).validate() is high (> 15) (gocyclo)
    • Line 3258: warning: cyclomatic complexity 24 of function (*EcdsConfigDump_EcdsFilterConfig).validate() is high (> 15) (gocyclo)
    • Line 2315: warning: cyclomatic complexity 24 of function (*RoutesConfigDump_DynamicRouteConfig).validate() is high (> 15) (gocyclo)
    • Line 1956: warning: cyclomatic complexity 24 of function (*ClustersConfigDump_DynamicCluster).validate() is high (> 15) (gocyclo)
    • Line 3063: warning: cyclomatic complexity 24 of function (*EndpointsConfigDump_DynamicEndpointConfig).validate() is high (> 15) (gocyclo)
    • Line 596: warning: cyclomatic complexity 19 of function (*RoutesConfigDump).validate() is high (> 15) (gocyclo)
    • Line 934: warning: cyclomatic complexity 19 of function (*EndpointsConfigDump).validate() is high (> 15) (gocyclo)
    • Line 764: warning: cyclomatic complexity 19 of function (*ScopedRoutesConfigDump).validate() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 19 of function (*ListenersConfigDump).validate() is high (> 15) (gocyclo)
    • Line 2512: warning: cyclomatic complexity 18 of function (*ScopedRoutesConfigDump_InlineScopedRouteConfigs).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 17 of function (*UpdateFailureState).validate() is high (> 15) (gocyclo)
    • Line 1239: warning: cyclomatic complexity 17 of function (*ListenersConfigDump_StaticListener).validate() is high (> 15) (gocyclo)
    • Line 2152: warning: cyclomatic complexity 17 of function (*RoutesConfigDump_StaticRouteConfig).validate() is high (> 15) (gocyclo)
    • Line 1793: warning: cyclomatic complexity 17 of function (*ClustersConfigDump_StaticCluster).validate() is high (> 15) (gocyclo)
    • Line 2899: warning: cyclomatic complexity 17 of function (*EndpointsConfigDump_StaticEndpointConfig).validate() is high (> 15) (gocyclo)
    • Line 1403: warning: cyclomatic complexity 17 of function (*ListenersConfigDump_DynamicListenerState).validate() is high (> 15) (gocyclo)
    • envoy/config/filter/network/http_connection_manager/v2/http_connection_manager.pb.validate.go
    • Line 54: warning: cyclomatic complexity 183 of function (*HttpConnectionManager).validate() is high (> 15) (gocyclo)
    • Line 1993: warning: cyclomatic complexity 48 of function (*HttpConnectionManager_Tracing).validate() is high (> 15) (gocyclo)
    • Line 1236: warning: cyclomatic complexity 45 of function (*ScopedRoutes).validate() is high (> 15) (gocyclo)
    • Line 1665: warning: cyclomatic complexity 25 of function (*HttpFilter).validate() is high (> 15) (gocyclo)
    • Line 2547: warning: cyclomatic complexity 18 of function (*HttpConnectionManager_UpgradeConfig).validate() is high (> 15) (gocyclo)
    • Line 3032: warning: cyclomatic complexity 18 of function (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/core/address.pb.validate.go
    • Line 539: warning: cyclomatic complexity 27 of function (*BindConfig).validate() is high (> 15) (gocyclo)
    • Line 740: warning: cyclomatic complexity 25 of function (*Address).validate() is high (> 15) (gocyclo)
    • Line 353: warning: cyclomatic complexity 24 of function (*TcpKeepalive).validate() is high (> 15) (gocyclo)
    • Line 174: warning: cyclomatic complexity 17 of function (*SocketAddress).validate() is high (> 15) (gocyclo)
    • envoy/service/auth/v3/external_auth.pb.validate.go
    • Line 580: warning: cyclomatic complexity 37 of function (*CheckResponse).validate() is high (> 15) (gocyclo)
    • Line 349: warning: cyclomatic complexity 34 of function (*OkHttpResponse).validate() is high (> 15) (gocyclo)
    • Line 182: warning: cyclomatic complexity 18 of function (*DeniedHttpResponse).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/cluster.pb.validate.go
    • Line 53: warning: cyclomatic complexity 267 of function (*Cluster).validate() is high (> 15) (gocyclo)
    • Line 2722: warning: cyclomatic complexity 44 of function (*Cluster_CommonLbConfig).validate() is high (> 15) (gocyclo)
    • Line 2172: warning: cyclomatic complexity 20 of function (*Cluster_LbSubsetConfig).validate() is high (> 15) (gocyclo)
    • Line 1725: warning: cyclomatic complexity 19 of function (*Cluster_TransportSocketMatch).validate() is high (> 15) (gocyclo)
    • Line 3684: warning: cyclomatic complexity 17 of function (*LoadBalancingPolicy_Policy).validate() is high (> 15) (gocyclo)
    • Line 3294: warning: cyclomatic complexity 17 of function (*Cluster_CommonLbConfig_ZoneAwareLbConfig).validate() is high (> 15) (gocyclo)
    • envoy/config/core/v3/health_check.pb.validate.go
    • Line 174: warning: cyclomatic complexity 159 of function (*HealthCheck).validate() is high (> 15) (gocyclo)
    • Line 1169: warning: cyclomatic complexity 69 of function (*HealthCheck_HttpHealthCheck).validate() is high (> 15) (gocyclo)
    • Line 1584: warning: cyclomatic complexity 18 of function (*HealthCheck_TcpHealthCheck).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/core/grpc_service.pb.validate.go
    • Line 1198: warning: cyclomatic complexity 61 of function (*GrpcService_GoogleGrpc_CallCredentials).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 40 of function (*GrpcService).validate() is high (> 15) (gocyclo)
    • Line 950: warning: cyclomatic complexity 35 of function (*GrpcService_GoogleGrpc_ChannelCredentials).validate() is high (> 15) (gocyclo)
    • Line 429: warning: cyclomatic complexity 29 of function (*GrpcService_GoogleGrpc).validate() is high (> 15) (gocyclo)
    • Line 648: warning: cyclomatic complexity 24 of function (*GrpcService_GoogleGrpc_SslCredentials).validate() is high (> 15) (gocyclo)
    • Line 1803: warning: cyclomatic complexity 23 of function (*GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin).validate() is high (> 15) (gocyclo)
    • envoy/data/accesslog/v2/accesslog.pb.validate.go
    • Line 515: warning: cyclomatic complexity 127 of function (*AccessLogCommon).validate() is high (> 15) (gocyclo)
    • Line 1307: warning: cyclomatic complexity 24 of function (*TLSProperties).validate() is high (> 15) (gocyclo)
    • Line 218: warning: cyclomatic complexity 24 of function (*HTTPAccessLogEntry).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 17 of function (*TCPAccessLogEntry).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/core/health_check.pb.validate.go
    • Line 58: warning: cyclomatic complexity 139 of function (*HealthCheck).validate() is high (> 15) (gocyclo)
    • Line 958: warning: cyclomatic complexity 46 of function (*HealthCheck_HttpHealthCheck).validate() is high (> 15) (gocyclo)
    • Line 1632: warning: cyclomatic complexity 25 of function (*HealthCheck_CustomHealthCheck).validate() is high (> 15) (gocyclo)
    • Line 1255: warning: cyclomatic complexity 18 of function (*HealthCheck_TcpHealthCheck).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/auth/common.pb.validate.go
    • Line 802: warning: cyclomatic complexity 48 of function (*CertificateValidationContext).validate() is high (> 15) (gocyclo)
    • Line 376: warning: cyclomatic complexity 46 of function (*TlsCertificate).validate() is high (> 15) (gocyclo)
    • Line 176: warning: cyclomatic complexity 25 of function (*PrivateKeyProvider).validate() is high (> 15) (gocyclo)
    • envoy/config/metrics/v3/stats.pb.validate.go
    • Line 201: warning: cyclomatic complexity 33 of function (*StatsConfig).validate() is high (> 15) (gocyclo)
    • Line 426: warning: cyclomatic complexity 28 of function (*StatsMatcher).validate() is high (> 15) (gocyclo)
    • Line 779: warning: cyclomatic complexity 19 of function (*HistogramBucketSettings).validate() is high (> 15) (gocyclo)
    • Line 963: warning: cyclomatic complexity 18 of function (*StatsdSink).validate() is high (> 15) (gocyclo)
    • Line 1135: warning: cyclomatic complexity 18 of function (*DogStatsdSink).validate() is high (> 15) (gocyclo)
    • pkg/cache/v3/simple_test.go
    • Line 99: warning: cyclomatic complexity 19 of function TestSnapshotCacheWithTTL() is high (> 15) (gocyclo)
    • Line 279: warning: cyclomatic complexity 16 of function TestSnapshotCacheWatch() is high (> 15) (gocyclo)
    • envoy/config/listener/v3/listener.pb.validate.go
    • Line 354: warning: cyclomatic complexity 175 of function (*Listener).validate() is high (> 15) (gocyclo)
    • Line 1629: warning: cyclomatic complexity 25 of function (*Listener_ConnectionBalanceConfig).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 17 of function (*AdditionalAddress).validate() is high (> 15) (gocyclo)
    • envoy/config/tap/v3/common.pb.validate.go
    • Line 280: warning: cyclomatic complexity 100 of function (*MatchPredicate).validate() is high (> 15) (gocyclo)
    • Line 1285: warning: cyclomatic complexity 57 of function (*OutputSink).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 33 of function (*TapConfig).validate() is high (> 15) (gocyclo)
    • Line 1081: warning: cyclomatic complexity 27 of function (*OutputConfig).validate() is high (> 15) (gocyclo)
    • envoy/service/ext_proc/v3/external_processor.pb.validate.go
    • Line 501: warning: cyclomatic complexity 96 of function (*ProcessingResponse).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 81 of function (*ProcessingRequest).validate() is high (> 15) (gocyclo)
    • Line 1993: warning: cyclomatic complexity 26 of function (*ImmediateResponse).validate() is high (> 15) (gocyclo)
    • Line 1793: warning: cyclomatic complexity 26 of function (*CommonResponse).validate() is high (> 15) (gocyclo)
    • Line 1000: warning: cyclomatic complexity 19 of function (*HttpHeaders).validate() is high (> 15) (gocyclo)
    • envoy/data/tap/v3/transport.pb.validate.go
    • Line 54: warning: cyclomatic complexity 40 of function (*SocketEvent).validate() is high (> 15) (gocyclo)
    • Line 481: warning: cyclomatic complexity 23 of function (*SocketStreamedTraceSegment).validate() is high (> 15) (gocyclo)
    • Line 310: warning: cyclomatic complexity 18 of function (*SocketBufferedTrace).validate() is high (> 15) (gocyclo)
    • envoy/config/core/v3/address.pb.validate.go
    • Line 843: warning: cyclomatic complexity 48 of function (*BindConfig).validate() is high (> 15) (gocyclo)
    • Line 1130: warning: cyclomatic complexity 35 of function (*Address).validate() is high (> 15) (gocyclo)
    • Line 486: warning: cyclomatic complexity 24 of function (*TcpKeepalive).validate() is high (> 15) (gocyclo)
    • Line 672: warning: cyclomatic complexity 19 of function (*ExtraSourceAddress).validate() is high (> 15) (gocyclo)
    • Line 307: warning: cyclomatic complexity 17 of function (*SocketAddress).validate() is high (> 15) (gocyclo)
    • envoy/config/cluster/v3/cluster.pb.validate.go
    • Line 184: warning: cyclomatic complexity 305 of function (*Cluster).validate() is high (> 15) (gocyclo)
    • Line 3562: warning: cyclomatic complexity 51 of function (*Cluster_CommonLbConfig).validate() is high (> 15) (gocyclo)
    • Line 2655: warning: cyclomatic complexity 24 of function (*Cluster_SlowStartConfig).validate() is high (> 15) (gocyclo)
    • Line 2460: warning: cyclomatic complexity 22 of function (*Cluster_LbSubsetConfig).validate() is high (> 15) (gocyclo)
    • Line 2975: warning: cyclomatic complexity 20 of function (*Cluster_LeastRequestLbConfig).validate() is high (> 15) (gocyclo)
    • Line 2013: warning: cyclomatic complexity 19 of function (*Cluster_TransportSocketMatch).validate() is high (> 15) (gocyclo)
    • Line 1743: warning: cyclomatic complexity 17 of function (*UpstreamConnectionOptions).validate() is high (> 15) (gocyclo)
    • Line 4297: warning: cyclomatic complexity 17 of function (*Cluster_CommonLbConfig_ZoneAwareLbConfig).validate() is high (> 15) (gocyclo)
    • envoy/config/filter/network/dubbo_proxy/v2alpha1/route.pb.validate.go
    • Line 197: warning: cyclomatic complexity 21 of function (*Route).validate() is high (> 15) (gocyclo)
    • Line 708: warning: cyclomatic complexity 19 of function (*MethodMatch).validate() is high (> 15) (gocyclo)
    • Line 538: warning: cyclomatic complexity 18 of function (*RouteAction).validate() is high (> 15) (gocyclo)
    • Line 376: warning: cyclomatic complexity 18 of function (*RouteMatch).validate() is high (> 15) (gocyclo)
    • Line 883: warning: cyclomatic complexity 16 of function (*MethodMatch_ParameterMatchSpecifier).validate() is high (> 15) (gocyclo)
    • envoy/config/filter/http/jwt_authn/v2alpha/config.pb.validate.go
    • Line 677: warning: cyclomatic complexity 56 of function (*JwtRequirement).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 35 of function (*JwtProvider).validate() is high (> 15) (gocyclo)
    • Line 1619: warning: cyclomatic complexity 27 of function (*JwtAuthentication).validate() is high (> 15) (gocyclo)
    • Line 1293: warning: cyclomatic complexity 19 of function (*RequirementRule).validate() is high (> 15) (gocyclo)
    • Line 304: warning: cyclomatic complexity 17 of function (*RemoteJwks).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/discovery.pb.validate.go
    • Line 218: warning: cyclomatic complexity 18 of function (*DiscoveryResponse).validate() is high (> 15) (gocyclo)
    • Line 391: warning: cyclomatic complexity 17 of function (*DeltaDiscoveryRequest).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 17 of function (*DiscoveryRequest).validate() is high (> 15) (gocyclo)
    • envoy/service/status/v3/csds.pb.validate.go
    • Line 225: warning: cyclomatic complexity 53 of function (*PerXdsConfig).validate() is high (> 15) (gocyclo)
    • Line 538: warning: cyclomatic complexity 26 of function (*ClientConfig).validate() is high (> 15) (gocyclo)
    • Line 872: warning: cyclomatic complexity 24 of function (*ClientConfig_GenericXdsConfig).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 18 of function (*ClientStatusRequest).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.pb.validate.go
    • Line 54: warning: cyclomatic complexity 272 of function (*HttpConnectionManager).validate() is high (> 15) (gocyclo)
    • Line 2946: warning: cyclomatic complexity 53 of function (*HttpConnectionManager_Tracing).validate() is high (> 15) (gocyclo)
    • Line 2060: warning: cyclomatic complexity 43 of function (*ScopedRoutes).validate() is high (> 15) (gocyclo)
    • Line 1514: warning: cyclomatic complexity 40 of function (*ResponseMapper).validate() is high (> 15) (gocyclo)
    • Line 2480: warning: cyclomatic complexity 25 of function (*HttpFilter).validate() is high (> 15) (gocyclo)
    • Line 4487: warning: cyclomatic complexity 20 of function (*ScopedRoutes_ScopeKeyBuilder_FragmentBuilder_HeaderValueExtractor).validate() is high (> 15) (gocyclo)
    • Line 3552: warning: cyclomatic complexity 18 of function (*HttpConnectionManager_UpgradeConfig).validate() is high (> 15) (gocyclo)
    • Line 1351: warning: cyclomatic complexity 18 of function (*LocalReplyConfig).validate() is high (> 15) (gocyclo)
    • Line 3723: warning: cyclomatic complexity 17 of function (*HttpConnectionManager_PathNormalizationOptions).validate() is high (> 15) (gocyclo)
    • envoy/data/tap/v3/http.pb.validate.go
    • Line 243: warning: cyclomatic complexity 63 of function (*HttpStreamedTraceSegment).validate() is high (> 15) (gocyclo)
    • Line 598: warning: cyclomatic complexity 33 of function (*HttpBufferedTrace_Message).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 24 of function (*HttpBufferedTrace).validate() is high (> 15) (gocyclo)
    • envoy/service/discovery/v2/hds.pb.validate.go
    • Line 586: warning: cyclomatic complexity 23 of function (*HealthCheckRequestOrEndpointHealthResponse).validate() is high (> 15) (gocyclo)
    • Line 942: warning: cyclomatic complexity 19 of function (*ClusterHealthCheck).validate() is high (> 15) (gocyclo)
    • Line 777: warning: cyclomatic complexity 18 of function (*LocalityEndpoints).validate() is high (> 15) (gocyclo)
    • Line 1114: warning: cyclomatic complexity 18 of function (*HealthCheckSpecifier).validate() is high (> 15) (gocyclo)
    • Line 157: warning: cyclomatic complexity 17 of function (*HealthCheckRequest).validate() is high (> 15) (gocyclo)
    • envoy/config/core/v3/grpc_service.pb.validate.go
    • Line 1378: warning: cyclomatic complexity 61 of function (*GrpcService_GoogleGrpc_CallCredentials).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 47 of function (*GrpcService).validate() is high (> 15) (gocyclo)
    • Line 551: warning: cyclomatic complexity 43 of function (*GrpcService_GoogleGrpc).validate() is high (> 15) (gocyclo)
    • Line 1130: warning: cyclomatic complexity 35 of function (*GrpcService_GoogleGrpc_ChannelCredentials).validate() is high (> 15) (gocyclo)
    • Line 345: warning: cyclomatic complexity 25 of function (*GrpcService_EnvoyGrpc).validate() is high (> 15) (gocyclo)
    • Line 828: warning: cyclomatic complexity 24 of function (*GrpcService_GoogleGrpc_SslCredentials).validate() is high (> 15) (gocyclo)
    • envoy/config/listener/v3/listener_components.pb.validate.go
    • Line 527: warning: cyclomatic complexity 53 of function (*FilterChain).validate() is high (> 15) (gocyclo)
    • Line 837: warning: cyclomatic complexity 50 of function (*ListenerFilterChainMatchPredicate).validate() is high (> 15) (gocyclo)
    • Line 250: warning: cyclomatic complexity 44 of function (*FilterChainMatch).validate() is high (> 15) (gocyclo)
    • Line 1149: warning: cyclomatic complexity 32 of function (*ListenerFilter).validate() is high (> 15) (gocyclo)
    • Line 53: warning: cyclomatic complexity 25 of function (*Filter).validate() is high (> 15) (gocyclo)
    • envoy/extensions/transport_sockets/tls/v3/tls.pb.validate.go
    • Line 795: warning: cyclomatic complexity 111 of function (*CommonTlsContext).validate() is high (> 15) (gocyclo)
    • Line 256: warning: cyclomatic complexity 62 of function (*DownstreamTlsContext).validate() is high (> 15) (gocyclo)
    • Line 1635: warning: cyclomatic complexity 35 of function (*CommonTlsContext_CombinedCertificateValidationContext).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 26 of function (*UpstreamTlsContext).validate() is high (> 15) (gocyclo)
    • Line 617: warning: cyclomatic complexity 21 of function (*TlsKeyLog).validate() is high (> 15) (gocyclo)
    • Line 1348: warning: cyclomatic complexity 17 of function (*CommonTlsContext_CertificateProvider).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.pb.validate.go
    • Line 54: warning: cyclomatic complexity 84 of function (*UdpProxyConfig).validate() is high (> 15) (gocyclo)
    • Line 841: warning: cyclomatic complexity 41 of function (*UdpProxyConfig_UdpTunnelingConfig).validate() is high (> 15) (gocyclo)
    • Line 1257: warning: cyclomatic complexity 17 of function (*UdpProxyConfig_UdpTunnelingConfig_BufferOptions).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/endpoint.pb.validate.go
    • Line 54: warning: cyclomatic complexity 29 of function (*ClusterLoadAssignment).validate() is high (> 15) (gocyclo)
    • Line 276: warning: cyclomatic complexity 19 of function (*ClusterLoadAssignment_Policy).validate() is high (> 15) (gocyclo)
    • envoy/config/core/v3/base.pb.validate.go
    • Line 451: warning: cyclomatic complexity 55 of function (*Node).validate() is high (> 15) (gocyclo)
    • Line 2413: warning: cyclomatic complexity 32 of function (*RetryPolicy).validate() is high (> 15) (gocyclo)
    • Line 786: warning: cyclomatic complexity 25 of function (*Metadata).validate() is high (> 15) (gocyclo)
    • Line 2817: warning: cyclomatic complexity 25 of function (*AsyncDataSource).validate() is high (> 15) (gocyclo)
    • Line 2637: warning: cyclomatic complexity 21 of function (*RemoteDataSource).validate() is high (> 15) (gocyclo)
    • Line 1796: warning: cyclomatic complexity 21 of function (*HeaderValueOption).validate() is high (> 15) (gocyclo)
    • Line 2224: warning: cyclomatic complexity 21 of function (*DataSource).validate() is high (> 15) (gocyclo)
    • Line 159: warning: cyclomatic complexity 17 of function (*BuildVersion).validate() is high (> 15) (gocyclo)
    • Line 1627: warning: cyclomatic complexity 16 of function (*HeaderValue).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/http/ext_authz/v3/ext_authz.pb.validate.go
    • Line 58: warning: cyclomatic complexity 74 of function (*ExtAuthz).validate() is high (> 15) (gocyclo)
    • Line 944: warning: cyclomatic complexity 38 of function (*AuthorizationResponse).validate() is high (> 15) (gocyclo)
    • Line 591: warning: cyclomatic complexity 24 of function (*HttpService).validate() is high (> 15) (gocyclo)
    • Line 1191: warning: cyclomatic complexity 22 of function (*ExtAuthzPerRoute).validate() is high (> 15) (gocyclo)
    • Line 779: warning: cyclomatic complexity 18 of function (*AuthorizationRequest).validate() is high (> 15) (gocyclo)
    • envoy/extensions/filters/http/rate_limit_quota/v3/rate_limit_quota.pb.validate.go
    • Line 54: warning: cyclomatic complexity 47 of function (*RateLimitQuotaFilterConfig).validate() is high (> 15) (gocyclo)
    • Line 483: warning: cyclomatic complexity 38 of function (*RateLimitQuotaBucketSettings).validate() is high (> 15) (gocyclo)
    • Line 1164: warning: cyclomatic complexity 34 of function (*RateLimitQuotaBucketSettings_DenyResponseSettings).validate() is high (> 15) (gocyclo)
    • Line 917: warning: cyclomatic complexity 30 of function (*RateLimitQuotaBucketSettings_ExpiredAssignmentBehavior).validate() is high (> 15) (gocyclo)
    • Line 1693: warning: cyclomatic complexity 18 of function (*RateLimitQuotaBucketSettings_BucketIdBuilder_ValueBuilder).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/core/base.pb.validate.go
    • Line 451: warning: cyclomatic complexity 46 of function (*Node).validate() is high (> 15) (gocyclo)
    • Line 2241: warning: cyclomatic complexity 25 of function (*AsyncDataSource).validate() is high (> 15) (gocyclo)
    • Line 2441: warning: cyclomatic complexity 25 of function (*TransportSocket).validate() is high (> 15) (gocyclo)
    • Line 2061: warning: cyclomatic complexity 21 of function (*RemoteDataSource).validate() is high (> 15) (gocyclo)
    • Line 1717: warning: cyclomatic complexity 20 of function (*DataSource).validate() is high (> 15) (gocyclo)
    • Line 1413: warning: cyclomatic complexity 19 of function (*HeaderValueOption).validate() is high (> 15) (gocyclo)
    • Line 1904: warning: cyclomatic complexity 17 of function (*RetryPolicy).validate() is high (> 15) (gocyclo)
    • Line 159: warning: cyclomatic complexity 17 of function (*BuildVersion).validate() is high (> 15) (gocyclo)
    • envoy/config/cluster/v3/circuit_breaker.pb.validate.go
    • Line 226: warning: cyclomatic complexity 47 of function (*CircuitBreakers_Thresholds).validate() is high (> 15) (gocyclo)
    • Line 58: warning: cyclomatic complexity 19 of function (*CircuitBreakers).validate() is high (> 15) (gocyclo)
    • Line 517: warning: cyclomatic complexity 17 of function (*CircuitBreakers_Thresholds_RetryBudget).validate() is high (> 15) (gocyclo)
    • envoy/data/tap/v2alpha/http.pb.validate.go
    • Line 214: warning: cyclomatic complexity 63 of function (*HttpStreamedTraceSegment).validate() is high (> 15) (gocyclo)
    • Line 569: warning: cyclomatic complexity 26 of function (*HttpBufferedTrace_Message).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 17 of function (*HttpBufferedTrace).validate() is high (> 15) (gocyclo)
    • envoy/api/v2/endpoint/load_report.pb.validate.go
    • Line 573: warning: cyclomatic complexity 30 of function (*ClusterStats).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 26 of function (*UpstreamLocalityStats).validate() is high (> 15) (gocyclo)
    • Line 263: warning: cyclomatic complexity 25 of function (*UpstreamEndpointStats).validate() is high (> 15) (gocyclo)
    • envoy/config/overload/v3/overload.pb.validate.go
    • Line 1255: warning: cyclomatic complexity 43 of function (*OverloadManager).validate() is high (> 15) (gocyclo)
    • Line 1528: warning: cyclomatic complexity 29 of function (*ScaleTimersOverloadActionConfig_ScaleTimer).validate() is high (> 15) (gocyclo)
    • Line 443: warning: cyclomatic complexity 27 of function (*Trigger).validate() is high (> 15) (gocyclo)
    • Line 801: warning: cyclomatic complexity 22 of function (*OverloadAction).validate() is high (> 15) (gocyclo)
    • envoy/data/tap/v2alpha/transport.pb.validate.go
    • Line 211: warning: cyclomatic complexity 40 of function (*SocketEvent).validate() is high (> 15) (gocyclo)
    • Line 638: warning: cyclomatic complexity 23 of function (*SocketStreamedTraceSegment).validate() is high (> 15) (gocyclo)
    • Line 467: warning: cyclomatic complexity 18 of function (*SocketBufferedTrace).validate() is high (> 15) (gocyclo)
    • Line 54: warning: cyclomatic complexity 17 of function (*Connection).validate() is high (> 15) (gocyclo)
    • envoy/config/rbac/v2/rbac.pb.validate.go
    • Line 916: warning: cyclomatic complexity 110 of function (*Principal).validate() is high (> 15) (gocyclo)
    • Line 417: warning: cyclomatic complexity 95 of function (*Permission).validate() is high (> 15) (gocyclo)
    • Line 199: warning: cyclomatic complexity 30 of function (*Policy).validate() 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!