id: 1 unit: function _M.new() file: kong/spec/fixtures/blueprints.lua start line: 95 end line: 378 size: 247 LOC McCabe index: 1 number of parameters: 1 id: 2 unit: function declarative.load_into_cache() file: kong/kong/db/declarative/init.lua start line: 678 end line: 947 size: 186 LOC McCabe index: 38 number of parameters: 3 id: 3 unit: function Schema:process_auto_fields() file: kong/kong/db/schema/init.lua start line: 1606 end line: 1823 size: 181 LOC McCabe index: 52 number of parameters: 4 id: 4 unit: function PluginsIterator.new() file: kong/kong/runloop/plugins_iterator.lua start line: 422 end line: 617 size: 159 LOC McCabe index: 34 number of parameters: 1 id: 5 unit: function AWSLambdaHandler:access() file: kong/kong/plugins/aws-lambda/handler.lua start line: 171 end line: 375 size: 159 LOC McCabe index: 24 number of parameters: 1 id: 6 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1275 end line: 1477 size: 144 LOC McCabe index: 25 number of parameters: 1 id: 7 unit: function DB:run_migrations() file: kong/kong/db/init.lua start line: 478 end line: 665 size: 143 LOC McCabe index: 33 number of parameters: 2 id: 8 unit: function _M:communicate() file: kong/kong/clustering/data_plane.lua start line: 91 end line: 289 size: 141 LOC McCabe index: 30 number of parameters: 1 id: 9 unit: _M.init = function() file: kong/kong/resty/dns/client.lua start line: 463 end line: 650 size: 140 LOC McCabe index: 25 number of parameters: 1 id: 10 unit: function Kong.balancer() file: kong/kong/init.lua start line: 974 end line: 1139 size: 122 LOC McCabe index: 21 number of parameters: 0 id: 11 unit: function Kong.init_worker() file: kong/kong/init.lua start line: 605 end line: 763 size: 121 LOC McCabe index: 25 number of parameters: 0 id: 12 unit: function Schema:validate_field() file: kong/kong/db/schema/init.lua start line: 849 end line: 993 size: 121 LOC McCabe index: 41 number of parameters: 2 id: 13 unit: function _M:setup_kong() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 309 end line: 451 size: 114 LOC McCabe index: 14 number of parameters: 1 id: 14 unit: check = function() file: kong/kong/db/schema/metaschema.lua start line: 657 end line: 787 size: 113 LOC McCabe index: 35 number of parameters: 1 id: 15 unit: function _mt:insert() file: kong/kong/db/strategies/cassandra/init.lua start line: 835 end line: 987 size: 106 LOC McCabe index: 24 number of parameters: 2 id: 16 unit: function State.load() file: kong/kong/db/migrations/state.lua start line: 183 end line: 304 size: 95 LOC McCabe index: 21 number of parameters: 1 id: 17 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1082 end line: 1203 size: 92 LOC McCabe index: 15 number of parameters: 0 id: 18 unit: function DB:cluster_mutex() file: kong/kong/db/init.lua start line: 284 end line: 416 size: 92 LOC McCabe index: 23 number of parameters: 3 id: 19 unit: function _M.new() file: kong/kong/db/strategies/postgres/connector.lua start line: 911 end line: 1005 size: 84 LOC McCabe index: 10 number of parameters: 1 id: 20 unit: function ZipkinLogHandler:log() file: kong/kong/plugins/zipkin/handler.lua start line: 288 end line: 390 size: 83 LOC McCabe index: 12 number of parameters: 1 id: 21 unit: function balancer_prepare() file: kong/kong/runloop/handler.lua start line: 916 end line: 1020 size: 81 LOC McCabe index: 15 number of parameters: 7 id: 22 unit: function Kong.log() file: kong/kong/init.lua start line: 1379 end line: 1474 size: 79 LOC McCabe index: 15 number of parameters: 0 id: 23 unit: _G.math.randomseed = function() file: kong/kong/globalpatches.lua start line: 275 end line: 375 size: 78 LOC McCabe index: 16 number of parameters: 0 id: 24 unit: function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 101 end line: 195 size: 76 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: def main() file: kong/spec/helpers/perf/charts/charts.py start line: 0 end line: 0 size: 75 LOC McCabe index: 13 number of parameters: 1 id: 26 unit: function Kong.init() file: kong/kong/init.lua start line: 500 end line: 602 size: 74 LOC McCabe index: 14 number of parameters: 0 id: 27 unit: function ProxyCacheHandler:access() file: kong/kong/plugins/proxy-cache/handler.lua start line: 259 end line: 363 size: 74 LOC McCabe index: 13 number of parameters: 1 id: 28 unit: function azure:access() file: kong/kong/plugins/azure-functions/handler.lua start line: 31 end line: 116 size: 74 LOC McCabe index: 10 number of parameters: 1 id: 29 unit: function serialize() file: kong/kong/pdk/log.lua start line: 744 end line: 824 size: 71 LOC McCabe index: 8 number of parameters: 1 id: 30 unit: function ACMEHandler:certificate() file: kong/kong/plugins/acme/handler.lua start line: 94 end line: 179 size: 70 LOC McCabe index: 16 number of parameters: 1 id: 31 unit: function CassandraConnector:schema_bootstrap() file: kong/kong/db/strategies/cassandra/connector.lua start line: 877 end line: 972 size: 70 LOC McCabe index: 13 number of parameters: 2 id: 32 unit: POST = function() file: kong/kong/api/routes/config.lua start line: 52 end line: 134 size: 70 LOC McCabe index: 13 number of parameters: 2 id: 33 unit: function _RESPONSE.error() file: kong/kong/pdk/response.lua start line: 1129 end line: 1215 size: 70 LOC McCabe index: 16 number of parameters: 3 id: 34 unit: function _M:select() file: kong/kong/router/atc_compat.lua start line: 582 end line: 670 size: 70 LOC McCabe index: 13 number of parameters: 10 id: 35 unit: function RateLimitingHandler:access() file: kong/kong/plugins/rate-limiting/handler.lua start line: 120 end line: 205 size: 69 LOC McCabe index: 12 number of parameters: 1 id: 36 unit: function _M.new() file: kong/kong/cluster_events/init.lua start line: 52 end line: 149 size: 68 LOC McCabe index: 13 number of parameters: 1 id: 37 unit: function _M:start_kong() file: kong/spec/helpers/perf/drivers/docker.lua start line: 337 end line: 421 size: 67 LOC McCabe index: 15 number of parameters: 2 id: 38 unit: function ACLHandler:access() file: kong/kong/plugins/acl/handler.lua start line: 47 end line: 138 size: 67 LOC McCabe index: 14 number of parameters: 1 id: 39 unit: function _M:start_worker() file: kong/spec/helpers/perf/drivers/docker.lua start line: 202 end line: 279 size: 66 LOC McCabe index: 10 number of parameters: 2 id: 40 unit: after = function() file: kong/kong/runloop/handler.lua start line: 1479 end line: 1575 size: 64 LOC McCabe index: 18 number of parameters: 1 id: 41 unit: function lc:getPeer() file: kong/kong/runloop/balancer/least_connections.lua start line: 54 end line: 149 size: 63 LOC McCabe index: 13 number of parameters: 3 id: 42 unit: function Prometheus:metric_data() file: kong/kong/plugins/prometheus/prometheus.lua start line: 857 end line: 931 size: 63 LOC McCabe index: 13 number of parameters: 1 id: 43 unit: GET = function() file: kong/kong/api/routes/kong.lua start line: 48 end line: 118 size: 63 LOC McCabe index: 9 number of parameters: 3 id: 44 unit: function DB.new() file: kong/kong/db/init.lua start line: 32 end line: 120 size: 62 LOC McCabe index: 12 number of parameters: 2 id: 45 unit: function Kong.body_filter() file: kong/kong/init.lua start line: 1303 end line: 1376 size: 60 LOC McCabe index: 10 number of parameters: 0 id: 46 unit: initialize_request = function() file: kong/kong/plugins/zipkin/handler.lua start line: 120 end line: 193 size: 60 LOC McCabe index: 10 number of parameters: 2 id: 47 unit: [CONTENT_TYPE_FORM_DATA] = function() file: kong/kong/pdk/service/request.lua start line: 495 end line: 566 size: 60 LOC McCabe index: 10 number of parameters: 2 id: 48 unit: function _NODE.get_memory_stats() file: kong/kong/pdk/node.lua start line: 149 end line: 231 size: 59 LOC McCabe index: 10 number of parameters: 2 id: 49 unit: function() file: kong/spec/helpers.lua start line: 1079 end line: 1147 size: 58 LOC McCabe index: 8 number of parameters: 2 id: 50 unit: function Kong.header_filter() file: kong/kong/init.lua start line: 1231 end line: 1300 size: 58 LOC McCabe index: 12 number of parameters: 0 id: 51 unit: function handle() file: kong/kong/plugins/oidc/handler.lua start line: 195 end line: 268 size: 57 LOC McCabe index: 15 number of parameters: 1 id: 52 unit: function _REQUEST.get_body() file: kong/kong/pdk/request.lua start line: 755 end line: 828 size: 57 LOC McCabe index: 16 number of parameters: 2 id: 53 unit: function Schema.new() file: kong/kong/db/schema/init.lua start line: 2296 end line: 2364 size: 55 LOC McCabe index: 15 number of parameters: 2 id: 54 unit: function response.get_body() file: kong/kong/pdk/service/response.lua start line: 306 end line: 374 size: 55 LOC McCabe index: 15 number of parameters: 2 id: 55 unit: function CassandraConnector:schema_migrations() file: kong/kong/db/strategies/cassandra/connector.lua start line: 798 end line: 874 size: 54 LOC McCabe index: 12 number of parameters: 0 id: 56 unit: function _M:start_worker() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 194 end line: 252 size: 53 LOC McCabe index: 4 number of parameters: 2 id: 57 unit: function _M:get_start_load_cmd() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 521 end line: 584 size: 53 LOC McCabe index: 10 number of parameters: 3 id: 58 unit: function DeclarativeConfig.load() file: kong/kong/db/schema/others/declarative_config.lua start line: 771 end line: 841 size: 53 LOC McCabe index: 10 number of parameters: 3 id: 59 unit: local cacheinsert = function() file: kong/kong/resty/dns/client.lua start line: 164 end line: 254 size: 53 LOC McCabe index: 12 number of parameters: 3 id: 60 unit: function _M:setup() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 107 end line: 169 size: 52 LOC McCabe index: 7 number of parameters: 1 id: 61 unit: function _M.transform_json_body() file: kong/kong/plugins/response-transformer/body_transformer.lua start line: 92 end line: 162 size: 52 LOC McCabe index: 15 number of parameters: 2 id: 62 unit: function DAO:delete() file: kong/kong/db/dao/init.lua start line: 1255 end line: 1318 size: 52 LOC McCabe index: 11 number of parameters: 2 id: 63 unit: void run() file: stages/BuildDockerfileImageDocker.groovy start line: 28 end line: 86 size: 51 LOC McCabe index: 4 number of parameters: 1 id: 64 unit: function concurrency.with_coroutine_mutex() file: kong/kong/concurrency.lua start line: 57 end line: 121 size: 51 LOC McCabe index: 14 number of parameters: 2 id: 65 unit: function DAO:cache_key() file: kong/kong/db/dao/init.lua start line: 1486 end line: 1554 size: 51 LOC McCabe index: 11 number of parameters: 6 id: 66 unit: POST = function() file: kong/kong/plugins/acme/api.lua start line: 54 end line: 110 size: 50 LOC McCabe index: 13 number of parameters: 1 id: 67 unit: function CassandraConnector:record_migration() file: kong/kong/db/strategies/cassandra/connector.lua start line: 1040 end line: 1099 size: 50 LOC McCabe index: 8 number of parameters: 3 id: 68 unit: local check_fields = function() file: kong/kong/db/schema/metaschema.lua start line: 415 end line: 466 size: 50 LOC McCabe index: 13 number of parameters: 2 id: 69 unit: function _M.connect() file: kong/spec/fixtures/forward-proxy-server.lua start line: 8 end line: 74 size: 49 LOC McCabe index: 11 number of parameters: 0 id: 70 unit: function _mt:init_worker() file: kong/kong/db/strategies/postgres/connector.lua start line: 309 end line: 363 size: 49 LOC McCabe index: 9 number of parameters: 1 id: 71 unit: function _mt:record_migration() file: kong/kong/db/strategies/postgres/connector.lua start line: 848 end line: 905 size: 49 LOC McCabe index: 8 number of parameters: 3 id: 72 unit: function stress_generator.get_results() file: kong/spec/fixtures/stress_generator.lua start line: 33 end line: 92 size: 48 LOC McCabe index: 10 number of parameters: 1 id: 73 unit: function _M:get_start_load_cmd() file: kong/spec/helpers/perf/drivers/docker.lua start line: 434 end line: 488 size: 48 LOC McCabe index: 12 number of parameters: 4 id: 74 unit: function Kong.response() file: kong/kong/init.lua start line: 1161 end line: 1227 size: 48 LOC McCabe index: 6 number of parameters: 0 id: 75 unit: check_for_revocation_status = function() file: kong/kong/clustering/utils.lua start line: 125 end line: 180 size: 48 LOC McCabe index: 9 number of parameters: 0 id: 76 unit: function _M:select_interval() file: kong/kong/cluster_events/strategies/postgres.lua start line: 117 end line: 176 size: 48 LOC McCabe index: 9 number of parameters: 3 id: 77 unit: function serialize() file: kong/kong/pdk/log.lua start line: 827 end line: 880 size: 48 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: [MATCH_RULES.URI] = function() file: kong/kong/router/traditional.lua start line: 940 end line: 995 size: 48 LOC McCabe index: 11 number of parameters: 2 id: 79 unit: function _M.handle_error() file: kong/kong/tools/wrpc/message.lua start line: 125 end line: 185 size: 47 LOC McCabe index: 8 number of parameters: 2 id: 80 unit: _M.normalize_ipv6 = function() file: kong/kong/tools/utils.lua start line: 867 end line: 918 size: 47 LOC McCabe index: 10 number of parameters: 1 id: 81 unit: methods["upsert_by_" .. name] = function() file: kong/kong/db/dao/init.lua start line: 828 end line: 882 size: 47 LOC McCabe index: 8 number of parameters: 4 id: 82 unit: add_api = function() file: kong/spec/fixtures/balancer_utils.lua start line: 320 end line: 370 size: 46 LOC McCabe index: 2 number of parameters: 3 id: 83 unit: function RequestTerminationHandler:access() file: kong/kong/plugins/request-termination/handler.lua start line: 21 end line: 73 size: 46 LOC McCabe index: 5 number of parameters: 1 id: 84 unit: function DAO:upsert() file: kong/kong/db/dao/init.lua start line: 1198 end line: 1252 size: 46 LOC McCabe index: 9 number of parameters: 3 id: 85 unit: function Kong.access() file: kong/kong/init.lua start line: 908 end line: 971 size: 45 LOC McCabe index: 8 number of parameters: 0 id: 86 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1582 end line: 1635 size: 45 LOC McCabe index: 12 number of parameters: 1 id: 87 unit: function _M.parse_simple_sequence() file: kong/kong/plugins/jwt/asn_sequence.lua start line: 41 end line: 85 size: 45 LOC McCabe index: 14 number of parameters: 1 id: 88 unit: function _mt:schema_bootstrap() file: kong/kong/db/strategies/postgres/connector.lua start line: 741 end line: 800 size: 45 LOC McCabe index: 5 number of parameters: 2 id: 89 unit: function CassandraConnector:query() file: kong/kong/db/strategies/cassandra/connector.lua start line: 450 end line: 509 size: 45 LOC McCabe index: 12 number of parameters: 4 id: 90 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 591 end line: 646 size: 45 LOC McCabe index: 11 number of parameters: 3 id: 91 unit: function _M.normalize_nested_params() file: kong/kong/api/api_helpers.lua start line: 85 end line: 145 size: 45 LOC McCabe index: 11 number of parameters: 1 id: 92 unit: _M.parseResolvConf = function() file: kong/kong/resty/dns/utils.lua start line: 152 end line: 196 size: 45 LOC McCabe index: 14 number of parameters: 1 id: 93 unit: function _M:setup_kong() file: kong/spec/helpers/perf/drivers/docker.lua start line: 282 end line: 335 size: 44 LOC McCabe index: 8 number of parameters: 1 id: 94 unit: function _M:start_kong() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 453 end line: 504 size: 44 LOC McCabe index: 5 number of parameters: 2 id: 95 unit: function Rpc:call() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 298 end line: 354 size: 44 LOC McCabe index: 8 number of parameters: 3 id: 96 unit: function zipkin_reporter_methods:report() file: kong/kong/plugins/zipkin/reporter.lua start line: 38 end line: 93 size: 44 LOC McCabe index: 7 number of parameters: 1 id: 97 unit: _M.parseHosts = function() file: kong/kong/resty/dns/utils.lua start line: 71 end line: 117 size: 44 LOC McCabe index: 10 number of parameters: 1 id: 98 unit: function Kong.rewrite() file: kong/kong/init.lua start line: 848 end line: 905 size: 43 LOC McCabe index: 8 number of parameters: 0 id: 99 unit: function healthcheckers_M.create_healthchecker() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 242 end line: 295 size: 43 LOC McCabe index: 7 number of parameters: 2 id: 100 unit: increment = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 181 end line: 229 size: 43 LOC McCabe index: 10 number of parameters: 5 id: 101 unit: ws_update_keys = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 404 end line: 452 size: 43 LOC McCabe index: 10 number of parameters: 5 id: 102 unit: function consistent_hashing:getPeer() file: kong/kong/runloop/balancer/consistent_hashing.lua start line: 135 end line: 193 size: 42 LOC McCabe index: 11 number of parameters: 3 id: 103 unit: function statsd_mt:send_statsd() file: kong/kong/plugins/statsd/statsd_logger.lua start line: 97 end line: 149 size: 42 LOC McCabe index: 7 number of parameters: 4 id: 104 unit: methods["delete_by_" .. name] = function() file: kong/kong/db/dao/init.lua start line: 884 end line: 934 size: 42 LOC McCabe index: 8 number of parameters: 3 id: 105 unit: function DAO:select_by_cache_key() file: kong/kong/db/dao/init.lua start line: 1321 end line: 1369 size: 42 LOC McCabe index: 9 number of parameters: 2 id: 106 unit: each_baggage_item = function() file: kong/spec/01-unit/26-tracing/02-propagation_spec.lua start line: 623 end line: 677 size: 41 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: function get_instance_id() file: kong/kong/runloop/plugin_servers/init.lua start line: 150 end line: 206 size: 41 LOC McCabe index: 6 number of parameters: 2 id: 108 unit: function consistent_hashing:afterHostUpdate() file: kong/kong/runloop/balancer/consistent_hashing.lua start line: 74 end line: 121 size: 41 LOC McCabe index: 7 number of parameters: 0 id: 109 unit: increment = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 173 end line: 219 size: 41 LOC McCabe index: 9 number of parameters: 5 id: 110 unit: function DAO:page() file: kong/kong/db/dao/init.lua start line: 1022 end line: 1072 size: 41 LOC McCabe index: 10 number of parameters: 3 id: 111 unit: function DAO:update() file: kong/kong/db/dao/init.lua start line: 1146 end line: 1195 size: 41 LOC McCabe index: 8 number of parameters: 3 id: 112 unit: function Config:parse_string() file: kong/kong/db/declarative/init.lua start line: 158 end line: 209 size: 41 LOC McCabe index: 8 number of parameters: 3 id: 113 unit: function _M.combine_results() file: kong/spec/helpers/perf.lua start line: 421 end line: 465 size: 40 LOC McCabe index: 4 number of parameters: 2 id: 114 unit: function stream_api.handle() file: kong/kong/tools/stream_api.lua start line: 302 end line: 355 size: 40 LOC McCabe index: 11 number of parameters: 0 id: 115 unit: function _M.connect_dp() file: kong/kong/clustering/utils.lua start line: 400 end line: 450 size: 40 LOC McCabe index: 10 number of parameters: 6 id: 116 unit: function DAO:select() file: kong/kong/db/dao/init.lua start line: 971 end line: 1019 size: 40 LOC McCabe index: 10 number of parameters: 2 id: 117 unit: function clustering_client_wrpc() file: kong/spec/helpers.lua start line: 3157 end line: 3207 size: 39 LOC McCabe index: 4 number of parameters: 1 id: 118 unit: function _M.execute() file: kong/kong/plugins/oauth2/access.lua start line: 1059 end line: 1109 size: 39 LOC McCabe index: 9 number of parameters: 1 id: 119 unit: function M.get_options() file: kong/kong/plugins/oidc/utils.lua start line: 71 end line: 112 size: 39 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: function iteration.by_row() file: kong/kong/db/iteration.lua start line: 62 end line: 108 size: 39 LOC McCabe index: 9 number of parameters: 4 id: 121 unit: function _M:schema_violation() file: kong/kong/db/errors.lua start line: 207 end line: 253 size: 39 LOC McCabe index: 10 number of parameters: 1 id: 122 unit: function DAO:row_to_entity() file: kong/kong/db/dao/init.lua start line: 1393 end line: 1437 size: 39 LOC McCabe index: 9 number of parameters: 2 id: 123 unit: function _TARGETS:page_for_upstream() file: kong/kong/db/dao/targets.lua start line: 173 end line: 226 size: 39 LOC McCabe index: 9 number of parameters: 4 id: 124 unit: function declarative.load_into_db() file: kong/kong/db/declarative/init.lua start line: 326 end line: 371 size: 39 LOC McCabe index: 8 number of parameters: 2 id: 125 unit: function _RESPONSE.get_raw_body() file: kong/kong/pdk/response.lua start line: 556 end line: 602 size: 39 LOC McCabe index: 8 number of parameters: 0 id: 126 unit: [MATCH_RULES.HEADER] = function() file: kong/kong/router/traditional.lua start line: 895 end line: 938 size: 39 LOC McCabe index: 10 number of parameters: 2 id: 127 unit: function balancer_mt:addAddress() file: kong/kong/runloop/balancer/balancers.lua start line: 348 end line: 396 size: 38 LOC McCabe index: 5 number of parameters: 2 id: 128 unit: increment = function() file: kong/kong/plugins/rate-limiting/policies/cluster.lua start line: 71 end line: 112 size: 38 LOC McCabe index: 6 number of parameters: 7 id: 129 unit: function _M:export_deflated_reconfigure_payload() file: kong/kong/clustering/control_plane.lua start line: 185 end line: 235 size: 38 LOC McCabe index: 6 number of parameters: 0 id: 130 unit: function https_server.shutdown() file: kong/spec/fixtures/https_server.lua start line: 169 end line: 210 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 131 unit: function _mt:query() file: kong/kong/db/strategies/postgres/connector.lua start line: 489 end line: 539 size: 37 LOC McCabe index: 7 number of parameters: 2 id: 132 unit: function CassandraConnector:init() file: kong/kong/db/strategies/cassandra/connector.lua start line: 224 end line: 271 size: 37 LOC McCabe index: 9 number of parameters: 0 id: 133 unit: methods["update_by_" .. name] = function() file: kong/kong/db/dao/init.lua start line: 782 end line: 826 size: 37 LOC McCabe index: 7 number of parameters: 4 id: 134 unit: GET = function() file: kong/kong/api/routes/upstreams.lua start line: 117 end line: 160 size: 37 LOC McCabe index: 6 number of parameters: 2 id: 135 unit: function _M.balancer() file: kong/kong/tracing/instrumentation.lua start line: 68 end line: 109 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 136 unit: function Rpc:call() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 199 end line: 248 size: 36 LOC McCabe index: 7 number of parameters: 2 id: 137 unit: function _M.check_version_compatibility() file: kong/kong/clustering/utils.lua start line: 239 end line: 282 size: 36 LOC McCabe index: 10 number of parameters: 4 id: 138 unit: methods[page_method_name] = function() file: kong/kong/db/dao/init.lua start line: 681 end line: 722 size: 36 LOC McCabe index: 6 number of parameters: 5 id: 139 unit: function load_plugin_handler() file: kong/kong/db/dao/plugins.lua start line: 150 end line: 193 size: 36 LOC McCabe index: 8 number of parameters: 1 id: 140 unit: fdata_to_jsonable = function() file: kong/kong/api/api_helpers.lua start line: 176 end line: 218 size: 36 LOC McCabe index: 13 number of parameters: 2 id: 141 unit: function _M:insert() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 60 end line: 100 size: 36 LOC McCabe index: 4 number of parameters: 5 id: 142 unit: function _RESPONSE.exit() file: kong/kong/pdk/response.lua start line: 941 end line: 987 size: 36 LOC McCabe index: 9 number of parameters: 3 id: 143 unit: function _GLOBAL.init_worker_events() file: kong/kong/global.lua start line: 167 end line: 217 size: 35 LOC McCabe index: 3 number of parameters: 0 id: 144 unit: function Kong.preread() file: kong/kong/init.lua start line: 794 end line: 845 size: 35 LOC McCabe index: 6 number of parameters: 0 id: 145 unit: function roundrobin_algorithm:getPeer() file: kong/kong/runloop/balancer/round_robin.lua start line: 74 end line: 120 size: 35 LOC McCabe index: 9 number of parameters: 3 id: 146 unit: function get_current_suffix() file: kong/kong/reports.lua start line: 228 end line: 270 size: 35 LOC McCabe index: 11 number of parameters: 1 id: 147 unit: increment = function() file: kong/kong/plugins/response-ratelimiting/policies/cluster.lua start line: 75 end line: 114 size: 35 LOC McCabe index: 5 number of parameters: 7 id: 148 unit: function Prometheus.init() file: kong/kong/plugins/prometheus/prometheus.lua start line: 672 end line: 713 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 149 unit: function _mt:schema_migrations() file: kong/kong/db/strategies/postgres/connector.lua start line: 694 end line: 738 size: 35 LOC McCabe index: 9 number of parameters: 0 id: 150 unit: function Schema.new_subschema() file: kong/kong/db/schema/init.lua start line: 2367 end line: 2408 size: 35 LOC McCabe index: 10 number of parameters: 3 id: 151 unit: check_field = function() file: kong/kong/db/schema/metaschema.lua start line: 469 end line: 503 size: 35 LOC McCabe index: 12 number of parameters: 3 id: 152 unit: GET = function() file: kong/kong/api/routes/health.lua start line: 16 end line: 67 size: 35 LOC McCabe index: 7 number of parameters: 3 id: 153 unit: function proc_mgmt.pluginserver_timer() file: kong/kong/runloop/plugin_servers/process.lua start line: 200 end line: 238 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 154 unit: function _mt:deserialize_row() file: kong/kong/db/strategies/cassandra/init.lua start line: 662 end line: 713 size: 34 LOC McCabe index: 10 number of parameters: 1 id: 155 unit: function CassandraConnector:run_up_migration() file: kong/kong/db/strategies/cassandra/connector.lua start line: 999 end line: 1037 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 156 unit: function Tags:page_by_tag() file: kong/kong/db/strategies/cassandra/tags.lua start line: 19 end line: 63 size: 34 LOC McCabe index: 8 number of parameters: 4 id: 157 unit: validate_fields = function() file: kong/kong/db/schema/init.lua start line: 1102 end line: 1141 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 158 unit: function _M.new() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 20 end line: 55 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 159 unit: function _M.find_nginx_bin() file: kong/kong/cmd/utils/nginx_signals.lua start line: 99 end line: 137 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 160 unit: function targets_M.on_target_event() file: kong/kong/runloop/balancer/targets.lua start line: 153 end line: 194 size: 33 LOC McCabe index: 6 number of parameters: 2 id: 161 unit: DELETE = function() file: kong/kong/plugins/proxy-cache/api.lua start line: 158 end line: 196 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 162 unit: function _M.logout() file: kong/kong/plugins/session/session.lua start line: 76 end line: 113 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 163 unit: function concurrency.with_worker_mutex() file: kong/kong/concurrency.lua start line: 15 end line: 54 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 164 unit: function _M:foreign_keys_unresolved() file: kong/kong/db/errors.lua start line: 310 end line: 349 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 165 unit: ws_update_composite_cache_key = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 363 end line: 400 size: 33 LOC McCabe index: 8 number of parameters: 4 id: 166 unit: function CassandraConnector:truncate() file: kong/kong/db/strategies/cassandra/connector.lua start line: 650 end line: 689 size: 33 LOC McCabe index: 7 number of parameters: 0 id: 167 unit: methods["select_by_" .. name] = function() file: kong/kong/db/dao/init.lua start line: 742 end line: 780 size: 33 LOC McCabe index: 7 number of parameters: 3 id: 168 unit: function Schema:validate() file: kong/kong/db/schema/init.lua start line: 1903 end line: 1942 size: 33 LOC McCabe index: 8 number of parameters: 4 id: 169 unit: function _RESPONSE.exit() file: kong/kong/pdk/response.lua start line: 1003 end line: 1042 size: 33 LOC McCabe index: 8 number of parameters: 3 id: 170 unit: function _M:exec() file: kong/kong/router/atc_compat.lua start line: 709 end line: 755 size: 33 LOC McCabe index: 5 number of parameters: 1 id: 171 unit: local build_cached_reducer = function() file: kong/kong/router/traditional.lua start line: 1092 end line: 1128 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 172 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1213 end line: 1257 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 173 unit: function roundrobin_algorithm:afterHostUpdate() file: kong/kong/runloop/balancer/round_robin.lua start line: 31 end line: 71 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 174 unit: function healthcheckers_M.get_upstream_health() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 305 end line: 342 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 175 unit: function ACMEHandler:access() file: kong/kong/plugins/acme/handler.lua start line: 182 end line: 223 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 176 unit: function _M.execute() file: kong/kong/plugins/response-ratelimiting/header_filter.lua start line: 46 end line: 89 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 177 unit: function CorsHandler:access() file: kong/kong/plugins/cors/handler.lua start line: 188 end line: 232 size: 32 LOC McCabe index: 6 number of parameters: 1 id: 178 unit: function _mt:select_by_field() file: kong/kong/db/strategies/cassandra/init.lua start line: 1017 end line: 1054 size: 32 LOC McCabe index: 6 number of parameters: 3 id: 179 unit: function CassandraConnector:wait_for_schema_consensus() file: kong/kong/db/strategies/cassandra/connector.lua start line: 400 end line: 447 size: 32 LOC McCabe index: 6 number of parameters: 0 id: 180 unit: function CassandraConnector:batch() file: kong/kong/db/strategies/cassandra/connector.lua start line: 511 end line: 554 size: 32 LOC McCabe index: 8 number of parameters: 4 id: 181 unit: function CassandraConnector:reset() file: kong/kong/db/strategies/cassandra/connector.lua start line: 607 end line: 647 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 182 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 705 end line: 743 size: 32 LOC McCabe index: 6 number of parameters: 4 id: 183 unit: function() file: kong/spec/05-migration/plugins/http-log/migrations/001_280_to_300_spec.lua start line: 16 end line: 52 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 184 unit: teardown = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/with-migrations/migrations/001_14_to_15.lua start line: 64 end line: 100 size: 31 LOC McCabe index: 7 number of parameters: 2 id: 185 unit: function() file: kong/spec/helpers.lua start line: 1208 end line: 1244 size: 31 LOC McCabe index: 5 number of parameters: 2 id: 186 unit: function kong_exec() file: kong/spec/helpers.lua start line: 2569 end line: 2607 size: 31 LOC McCabe index: 5 number of parameters: 4 id: 187 unit: function _M.start() file: kong/kong/cmd/utils/nginx_signals.lua start line: 140 end line: 183 size: 31 LOC McCabe index: 7 number of parameters: 1 id: 188 unit: GET = function() file: kong/kong/plugins/acme/api.lua start line: 119 end line: 151 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 189 unit: function _M.execute() file: kong/kong/plugins/response-ratelimiting/access.lua start line: 64 end line: 104 size: 31 LOC McCabe index: 8 number of parameters: 1 id: 190 unit: function _M.execute() file: kong/kong/plugins/session/access.lua start line: 67 end line: 109 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 191 unit: function _M.update() file: kong/kong/clustering/config_helper.lua start line: 205 end line: 245 size: 31 LOC McCabe index: 7 number of parameters: 4 id: 192 unit: function _TARGETS:page_for_upstream_with_health() file: kong/kong/db/dao/targets.lua start line: 232 end line: 278 size: 31 LOC McCabe index: 9 number of parameters: 2 id: 193 unit: function _M:select_interval() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 103 end line: 141 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 194 unit: function CtxCheckerHandler:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/ctx-checker/handler.lua start line: 71 end line: 106 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 195 unit: function mocker.setup() file: kong/spec/fixtures/mocker.lua start line: 13 end line: 49 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 196 unit: function https_server.start() file: kong/spec/fixtures/https_server.lua start line: 133 end line: 166 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 197 unit: function() file: kong/spec/helpers.lua start line: 1279 end line: 1308 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 198 unit: function _M.http_client() file: kong/kong/tracing/instrumentation.lua start line: 135 end line: 170 size: 30 LOC McCabe index: 3 number of parameters: 0 id: 199 unit: local setup_client = function() file: kong/kong/tools/dns.lua start line: 7 end line: 42 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 200 unit: process = function() file: kong/kong/tools/batch_queue.lua start line: 168 end line: 207 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 201 unit: function ProxyCacheHandler:init_worker() file: kong/kong/plugins/proxy-cache/handler.lua start line: 218 end line: 256 size: 30 LOC McCabe index: 5 number of parameters: 0 id: 202 unit: function ProxyCacheHandler:body_filter() file: kong/kong/plugins/proxy-cache/handler.lua start line: 392 end line: 425 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 203 unit: function PrometheusHandler.log() file: kong/kong/plugins/prometheus/handler.lua start line: 21 end line: 56 size: 30 LOC McCabe index: 9 number of parameters: 2 id: 204 unit: before = function() file: kong/kong/plugins/acl/api.lua start line: 14 end line: 50 size: 30 LOC McCabe index: 8 number of parameters: 3 id: 205 unit: teardown = function() file: kong/kong/db/migrations/core/005_120_to_130.lua start line: 121 end line: 155 size: 30 LOC McCabe index: 7 number of parameters: 1 id: 206 unit: fixup_plugin_config = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 456 end line: 489 size: 30 LOC McCabe index: 8 number of parameters: 4 id: 207 unit: fixup_plugin_config = function() file: kong/kong/db/migrations/operations/280_to_300.lua start line: 73 end line: 106 size: 30 LOC McCabe index: 8 number of parameters: 4 id: 208 unit: function _Certificates:update() file: kong/kong/db/dao/certificates.lua start line: 89 end line: 124 size: 30 LOC McCabe index: 8 number of parameters: 3 id: 209 unit: function _Certificates:upsert() file: kong/kong/db/dao/certificates.lua start line: 127 end line: 162 size: 30 LOC McCabe index: 8 number of parameters: 3 id: 210 unit: function Schema:validate_primary_key() file: kong/kong/db/schema/init.lua start line: 1425 end line: 1460 size: 30 LOC McCabe index: 8 number of parameters: 2 id: 211 unit: request.set_body = function() file: kong/kong/pdk/service/request.lua start line: 627 end line: 666 size: 30 LOC McCabe index: 7 number of parameters: 2 id: 212 unit: function _M.log() file: kong/kong/cmd/utils/log.lua start line: 49 end line: 84 size: 29 LOC McCabe index: 8 number of parameters: 2 id: 213 unit: function _M.init() file: kong/kong/tracing/instrumentation.lua start line: 319 end line: 358 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 214 unit: function stream_api.request() file: kong/kong/tools/stream_api.lua start line: 260 end line: 299 size: 29 LOC McCabe index: 7 number of parameters: 3 id: 215 unit: function Queue.new() file: kong/kong/tools/batch_queue.lua start line: 221 end line: 258 size: 29 LOC McCabe index: 1 number of parameters: 2 id: 216 unit: function _M.create_simple_sequence() file: kong/kong/plugins/jwt/asn_sequence.lua start line: 11 end line: 39 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 217 unit: function storage.new() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 33 end line: 65 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: function _M.bind_request() file: kong/kong/plugins/ldap-auth/ldap.lua start line: 58 end line: 98 size: 29 LOC McCabe index: 4 number of parameters: 3 id: 219 unit: function _M:export_deflated_reconfigure_payload() file: kong/kong/clustering/wrpc_control_plane.lua start line: 118 end line: 156 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 220 unit: function DAO:insert() file: kong/kong/db/dao/init.lua start line: 1107 end line: 1143 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 221 unit: function _TARGETS:post_health() file: kong/kong/db/dao/targets.lua start line: 296 end line: 329 size: 29 LOC McCabe index: 4 number of parameters: 4 id: 222 unit: function _REQUEST.get_forwarded_port() file: kong/kong/pdk/request.lua start line: 221 end line: 255 size: 29 LOC McCabe index: 8 number of parameters: 0 id: 223 unit: function _REQUEST.get_query() file: kong/kong/pdk/request.lua start line: 530 end line: 567 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 224 unit: function _M:get_admin_uri() file: kong/spec/helpers/perf/drivers/docker.lua start line: 490 end line: 521 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 225 unit: execute = function() file: kong/kong/cmd/roar.lua start line: 2 end line: 30 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 226 unit: topological_sort = function() file: kong/kong/tools/utils.lua start line: 1386 end line: 1416 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 227 unit: function statsd_mt:new() file: kong/kong/plugins/statsd/statsd_logger.lua start line: 40 end line: 69 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: increment = function() file: kong/kong/plugins/rate-limiting/policies/cluster.lua start line: 38 end line: 67 size: 28 LOC McCabe index: 4 number of parameters: 7 id: 229 unit: function _M.start_tls() file: kong/kong/plugins/ldap-auth/ldap.lua start line: 116 end line: 154 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 230 unit: function _M.transform_headers() file: kong/kong/plugins/response-transformer/header_transformer.lua start line: 60 end line: 98 size: 28 LOC McCabe index: 10 number of parameters: 2 id: 231 unit: function _M:invalid_options() file: kong/kong/db/errors.lua start line: 434 end line: 468 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 232 unit: function _mt:insert_lock() file: kong/kong/db/strategies/postgres/connector.lua start line: 624 end line: 656 size: 28 LOC McCabe index: 4 number of parameters: 3 id: 233 unit: function CassandraConnector:setup_locks() file: kong/kong/db/strategies/cassandra/connector.lua start line: 700 end line: 736 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 234 unit: infer = function() file: kong/kong/api/arguments.lua start line: 245 end line: 278 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 235 unit: function checks.validate_headers() file: kong/kong/pdk/private/checks.lua start line: 65 end line: 98 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 236 unit: void run() file: stages/GitserversInit.groovy start line: 31 end line: 57 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 237 unit: func() file: kong/spec/fixtures/go/go-hello.go start line: 38 end line: 70 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 238 unit: function dns_mock:SRV() file: kong/spec/helpers.lua start line: 2396 end line: 2424 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 239 unit: DELETE = function() file: kong/kong/plugins/proxy-cache/api.lua start line: 92 end line: 126 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 240 unit: function deco:upstream() file: kong/kong/plugins/grpc-gateway/deco.lua start line: 214 end line: 271 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 241 unit: function _M.execute() file: kong/kong/plugins/session/header_filter.lua start line: 26 end line: 61 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 242 unit: teardown = function() file: kong/kong/db/migrations/core/005_120_to_130.lua start line: 60 end line: 91 size: 27 LOC McCabe index: 6 number of parameters: 1 id: 243 unit: function _mt:run_up_migration() file: kong/kong/db/strategies/postgres/connector.lua start line: 813 end line: 845 size: 27 LOC McCabe index: 6 number of parameters: 2 id: 244 unit: return setmetatable() file: kong/kong/pdk/service/response.lua start line: 82 end line: 116 size: 27 LOC McCabe index: 8 number of parameters: 3 id: 245 unit: exec = function() file: kong/kong/router/traditional.lua start line: 1660 end line: 1693 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 246 unit: { name = "subschema", new = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 22 end line: 50 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 247 unit: function _M:get_start_stapxx_cmd() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 631 end line: 658 size: 26 LOC McCabe index: 4 number of parameters: 3 id: 248 unit: function Kong.admin_header_filter() file: kong/kong/init.lua start line: 1531 end line: 1568 size: 26 LOC McCabe index: 7 number of parameters: 0 id: 249 unit: after = function() file: kong/kong/runloop/handler.lua start line: 1636 end line: 1669 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 250 unit: function healthcheckers_M.get_balancer_health() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 348 end line: 378 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 251 unit: function zipkin_reporter_methods:flush() file: kong/kong/plugins/zipkin/reporter.lua start line: 96 end line: 125 size: 26 LOC McCabe index: 5 number of parameters: 0 id: 252 unit: increment = function() file: kong/kong/plugins/response-ratelimiting/policies/cluster.lua start line: 16 end line: 43 size: 26 LOC McCabe index: 3 number of parameters: 7 id: 253 unit: function asn1_get_object() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 96 end line: 126 size: 26 LOC McCabe index: 4 number of parameters: 3 id: 254 unit: function _M.check_configuration_compatibility() file: kong/kong/clustering/utils.lua start line: 285 end line: 320 size: 26 LOC McCabe index: 7 number of parameters: 2 id: 255 unit: function _M.check_protocol_support() file: kong/kong/clustering/utils.lua start line: 324 end line: 356 size: 26 LOC McCabe index: 5 number of parameters: 3 id: 256 unit: function _M.connect_cp() file: kong/kong/clustering/utils.lua start line: 365 end line: 397 size: 26 LOC McCabe index: 4 number of parameters: 5 id: 257 unit: function _TARGETS:upsert() file: kong/kong/db/dao/targets.lua start line: 53 end line: 86 size: 26 LOC McCabe index: 7 number of parameters: 3 id: 258 unit: function Schema:errors_to_string() file: kong/kong/db/schema/init.lua start line: 2068 end line: 2100 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 259 unit: GET = function() file: kong/kong/api/routes/upstreams.lua start line: 176 end line: 206 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 260 unit: function SSL:receive() file: kong/spec/helpers/ssl.lua start line: 227 end line: 256 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 261 unit: function _M.wait_result() file: kong/spec/helpers/perf.lua start line: 337 end line: 384 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 262 unit: function grpc_web:access() file: kong/kong/plugins/grpc-web/handler.lua start line: 37 end line: 67 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 263 unit: find = function() file: kong/kong/plugins/response-ratelimiting/policies/cluster.lua start line: 44 end line: 72 size: 25 LOC McCabe index: 3 number of parameters: 7 id: 264 unit: function _M.init_negotiation_server() file: kong/kong/clustering/services/negotiation.lua start line: 237 end line: 268 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 265 unit: teardown = function() file: kong/kong/db/migrations/core/016_280_to_300.lua start line: 413 end line: 443 size: 25 LOC McCabe index: 6 number of parameters: 1 id: 266 unit: function CassandraConnector:init_worker() file: kong/kong/db/strategies/cassandra/connector.lua start line: 274 end line: 301 size: 25 LOC McCabe index: 7 number of parameters: 0 id: 267 unit: function _Certificates:insert() file: kong/kong/db/dao/certificates.lua start line: 50 end line: 79 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 268 unit: function _M.before_filter() file: kong/kong/api/api_helpers.lua start line: 235 end line: 263 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 269 unit: function _M:subscribe() file: kong/kong/cluster_events/init.lua start line: 182 end line: 216 size: 25 LOC McCabe index: 7 number of parameters: 3 id: 270 unit: function _M:insert() file: kong/kong/cluster_events/strategies/postgres.lua start line: 84 end line: 114 size: 25 LOC McCabe index: 4 number of parameters: 5 id: 271 unit: exec = function() file: kong/kong/router/traditional.lua start line: 1696 end line: 1727 size: 25 LOC McCabe index: 4 number of parameters: 1 id: 272 unit: function dns_mock:A() file: kong/spec/helpers.lua start line: 2433 end line: 2458 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 273 unit: function dns_mock:AAAA() file: kong/spec/helpers.lua start line: 2467 end line: 2492 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 274 unit: function dns_mock:CNAME() file: kong/spec/helpers.lua start line: 2501 end line: 2526 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 275 unit: function _M:load_pgdump() file: kong/spec/helpers/perf/drivers/docker.lua start line: 556 end line: 584 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 276 unit: function _M.request() file: kong/kong/tracing/instrumentation.lua start line: 182 end line: 209 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: function structpb_value() file: kong/kong/tools/protobuf.lua start line: 7 end line: 34 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 278 unit: function _M.encode_args() file: kong/kong/tools/utils.lua start line: 353 end line: 380 size: 24 LOC McCabe index: 8 number of parameters: 3 id: 279 unit: function structpb_value() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 98 end line: 125 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 280 unit: function balancer_mt:getTargetStatus() file: kong/kong/runloop/balancer/balancers.lua start line: 502 end line: 527 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 281 unit: function M.get_redirect_uri_path() file: kong/kong/plugins/oidc/utils.lua start line: 44 end line: 69 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 282 unit: function _M.rt_rename() file: kong/kong/plugins/request-transformer/migrations/common.lua start line: 7 end line: 33 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 283 unit: function request_tags.parse() file: kong/kong/plugins/zipkin/request_tags.lua start line: 43 end line: 80 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 284 unit: function grpc_gateway:access() file: kong/kong/plugins/grpc-gateway/handler.lua start line: 35 end line: 66 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 285 unit: function DAO:post_crud_event() file: kong/kong/db/dao/init.lua start line: 1440 end line: 1466 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 286 unit: function Plugins:load_plugin_schemas() file: kong/kong/db/dao/plugins.lua start line: 303 end line: 336 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 287 unit: function Entity.new() file: kong/kong/db/schema/entity.lua start line: 34 end line: 66 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 288 unit: func = function() file: kong/kong/db/schema/entities/services.lua start line: 76 end line: 103 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 289 unit: GET = function() file: kong/kong/api/routes/clustering.lua start line: 30 end line: 57 size: 24 LOC McCabe index: 4 number of parameters: 3 id: 290 unit: gen_endpoint = function() file: kong/autodoc/admin-api/generate.lua start line: 646 end line: 669 size: 23 LOC McCabe index: 5 number of parameters: 6 id: 291 unit: function() file: kong/spec/03-plugins/36-request-transformer/02-access_spec.lua start line: 2093 end line: 2115 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 292 unit: function CtxCheckerHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/ctx-checker/handler.lua start line: 42 end line: 68 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 293 unit: teardown = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/with-migrations/migrations/001_14_to_15.lua start line: 13 end line: 43 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 294 unit: local start_kong = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 365 end line: 391 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 295 unit: function _M.generate_flamegraph() file: kong/spec/helpers/perf.lua start line: 478 end line: 510 size: 23 LOC McCabe index: 6 number of parameters: 3 id: 296 unit: function Queue:add() file: kong/kong/tools/batch_queue.lua start line: 265 end line: 294 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 297 unit: function _M.spawn() file: kong/kong/tools/wrpc/threads.lua start line: 88 end line: 114 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 298 unit: _M.normalize_ipv4 = function() file: kong/kong/tools/utils.lua start line: 837 end line: 862 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 299 unit: _M.format_host = function() file: kong/kong/tools/utils.lua start line: 986 end line: 1008 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 300 unit: after = function() file: kong/kong/runloop/handler.lua start line: 1675 end line: 1704 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 301 unit: function balancers_M.create_balancers() file: kong/kong/runloop/balancer/balancers.lua start line: 240 end line: 264 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 302 unit: function balancer_mt:setAddressStatus() file: kong/kong/runloop/balancer/balancers.lua start line: 290 end line: 314 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 303 unit: function JwtHandler:access() file: kong/kong/plugins/jwt/handler.lua start line: 224 end line: 254 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 304 unit: function _M:list() file: kong/kong/plugins/acme/storage/kong.lua start line: 73 end line: 95 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 305 unit: GET = function() file: kong/kong/plugins/proxy-cache/api.lua start line: 131 end line: 157 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 306 unit: initialize_request = function() file: kong/kong/plugins/zipkin/handler.lua start line: 247 end line: 272 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 307 unit: function deco.new() file: kong/kong/plugins/grpc-web/deco.lua start line: 92 end line: 117 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 308 unit: function KeyAuthHandler:access() file: kong/kong/plugins/key-auth/handler.lua start line: 189 end line: 219 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 309 unit: local start_dp = function() file: kong/kong/clustering/init.lua start line: 118 end line: 148 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 310 unit: function _M:push_config() file: kong/kong/clustering/wrpc_control_plane.lua start line: 184 end line: 209 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 311 unit: fixup_plugin_config = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 250 end line: 276 size: 23 LOC McCabe index: 6 number of parameters: 4 id: 312 unit: fixup_plugin_config = function() file: kong/kong/db/migrations/operations/280_to_300.lua start line: 28 end line: 54 size: 23 LOC McCabe index: 6 number of parameters: 4 id: 313 unit: function Schema:merge_values() file: kong/kong/db/schema/init.lua start line: 1832 end line: 1856 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 314 unit: poll_handler = function() file: kong/kong/cluster_events/init.lua start line: 378 end line: 411 size: 23 LOC McCabe index: 7 number of parameters: 2 id: 315 unit: {__newindex = function() file: kong/kong/resty/dns/client.lua start line: 55 end line: 85 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 316 unit: [MATCH_RULES.HOST] = function() file: kong/kong/router/traditional.lua start line: 869 end line: 893 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 317 unit: get = function() file: kong/scripts/changelog-helper.lua start line: 54 end line: 83 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 318 unit: function() file: kong/spec/02-integration/05-proxy/05-dns_spec.lua start line: 13 end line: 34 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 319 unit: function SSL.wrap() file: kong/spec/helpers/ssl.lua start line: 150 end line: 173 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 320 unit: __tostring = function() file: kong/kong/conf_loader/listeners.lua start line: 35 end line: 70 size: 22 LOC McCabe index: 4 number of parameters: 0 id: 321 unit: function listeners.parse() file: kong/kong/conf_loader/listeners.lua start line: 146 end line: 171 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 322 unit: get_rand_bytes = function() file: kong/kong/tools/utils.lua start line: 192 end line: 224 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 323 unit: _M.check_hostname = function() file: kong/kong/tools/utils.lua start line: 923 end line: 949 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 324 unit: get_mime_type = function() file: kong/kong/tools/utils.lua start line: 1299 end line: 1323 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 325 unit: function resolve_timer_callback() file: kong/kong/runloop/balancer/targets.lua start line: 262 end line: 287 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 326 unit: function balancers_M.create_balancer() file: kong/kong/runloop/balancer/balancers.lua start line: 178 end line: 204 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 327 unit: function _M.unsign_integer() file: kong/kong/plugins/jwt/asn_sequence.lua start line: 87 end line: 108 size: 22 LOC McCabe index: 8 number of parameters: 2 id: 328 unit: function storage:lock() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 98 end line: 124 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 329 unit: function BotDetectionHandler:access() file: kong/kong/plugins/bot-detection/handler.lua start line: 65 end line: 92 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 330 unit: function deco:downstream() file: kong/kong/plugins/grpc-web/deco.lua start line: 138 end line: 165 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 331 unit: find = function() file: kong/kong/plugins/response-ratelimiting/policies/cluster.lua start line: 115 end line: 139 size: 22 LOC McCabe index: 2 number of parameters: 7 id: 332 unit: teardown = function() file: kong/kong/db/migrations/core/007_140_to_150.lua start line: 21 end line: 44 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 333 unit: mutually_exclusive_subsets = function() file: kong/kong/db/schema/init.lua start line: 330 end line: 354 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 334 unit: function Schema:get_constraints() file: kong/kong/db/schema/init.lua start line: 2156 end line: 2179 size: 22 LOC McCabe index: 7 number of parameters: 0 id: 335 unit: function _ctx_mt.__index() file: kong/kong/pdk/ctx.lua start line: 114 end line: 141 size: 22 LOC McCabe index: 6 number of parameters: 2 id: 336 unit: function _CLIENT.get_protocol() file: kong/kong/pdk/client.lua start line: 277 end line: 305 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 337 unit: function _M.stash_ref() file: kong/kong/resty/ctx.lua start line: 50 end line: 74 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 338 unit: function _M.apply_ref() file: kong/kong/resty/ctx.lua start line: 77 end line: 102 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 339 unit: function _M._set_ngx() file: kong/kong/router/atc_compat.lua start line: 114 end line: 140 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 340 unit: get_headers_key = function() file: kong/kong/router/atc_compat.lua start line: 677 end line: 705 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 341 unit: function() file: kong/spec/03-plugins/36-request-transformer/02-access_spec.lua start line: 2049 end line: 2069 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: function _M.dnsSRV() file: kong/spec/helpers/dns.lua start line: 43 end line: 73 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 343 unit: function _M:remote_execute() file: kong/spec/helpers/perf/drivers/docker.lua start line: 590 end line: 610 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 344 unit: function _GLOBAL.init_cache() file: kong/kong/global.lua start line: 230 end line: 252 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 345 unit: function _GLOBAL.init_core_cache() file: kong/kong/global.lua start line: 255 end line: 277 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 346 unit: function Kong.stream_config_listener() file: kong/kong/init.lua start line: 1605 end line: 1628 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 347 unit: function _M.process_message() file: kong/kong/tools/wrpc/message.lua start line: 98 end line: 122 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 348 unit: function get_query_arg() file: kong/kong/runloop/balancer/init.lua start line: 61 end line: 92 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 349 unit: function targets_M.getAddressPeer() file: kong/kong/runloop/balancer/targets.lua start line: 515 end line: 541 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 350 unit: function balancer_mt:changeWeight() file: kong/kong/runloop/balancer/balancers.lua start line: 399 end line: 425 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 351 unit: function upstreams_M.get_upstream_by_name() file: kong/kong/runloop/balancer/upstreams.lua start line: 132 end line: 158 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 352 unit: function _M:verify_registered_claims() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 359 end line: 384 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 353 unit: function OpenTelemetryHandler:rewrite() file: kong/kong/plugins/opentelemetry/handler.lua start line: 152 end line: 182 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 354 unit: function statsd_mt:close_socket() file: kong/kong/plugins/statsd/statsd_logger.lua start line: 72 end line: 94 size: 21 LOC McCabe index: 5 number of parameters: 0 id: 355 unit: usage = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 220 end line: 245 size: 21 LOC McCabe index: 5 number of parameters: 5 id: 356 unit: usage = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 230 end line: 256 size: 21 LOC McCabe index: 5 number of parameters: 4 id: 357 unit: function storage:ttl() file: kong/kong/plugins/session/storage/kong.lua start line: 86 end line: 110 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 358 unit: function _mt:update_by_field() file: kong/kong/db/strategies/postgres/init.lua start line: 631 end line: 653 size: 21 LOC McCabe index: 4 number of parameters: 4 id: 359 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 771 end line: 795 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 360 unit: function plugin_loader.load_subschema() file: kong/kong/db/schema/plugin_loader.lua start line: 14 end line: 38 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 361 unit: function span_mt:add_event() file: kong/kong/pdk/tracing.lua start line: 278 end line: 303 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 362 unit: function response.get_headers() file: kong/kong/pdk/service/response.lua start line: 196 end line: 224 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 363 unit: function _CLIENT.load_consumer() file: kong/kong/pdk/client.lua start line: 183 end line: 211 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 364 unit: update = function() file: kong/spec/fixtures/dc_blueprints.lua start line: 55 end line: 74 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 365 unit: function _M:generate_flamegraph() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 664 end line: 688 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 366 unit: function _M.bytes_to_str() file: kong/kong/tools/utils.lua start line: 1142 end line: 1168 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 367 unit: plugin[phase] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 244 end line: 263 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 368 unit: function balancers_M.get_balancer() file: kong/kong/runloop/balancer/balancers.lua start line: 212 end line: 237 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 369 unit: function balancer_mt:deleteDisabledAddresses() file: kong/kong/runloop/balancer/balancers.lua start line: 428 end line: 451 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 370 unit: function _M.execute() file: kong/kong/plugins/basic-auth/access.lua start line: 201 end line: 226 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 371 unit: DELETE = function() file: kong/kong/plugins/proxy-cache/api.lua start line: 40 end line: 64 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 372 unit: function crypt.verify() file: kong/kong/plugins/oauth2/secret.lua start line: 252 end line: 274 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 373 unit: function storage:open() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 169 end line: 193 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 374 unit: function _M.execute() file: kong/kong/plugins/hmac-auth/access.lua start line: 357 end line: 382 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 375 unit: function IpRestrictionHandler:access() file: kong/kong/plugins/ip-restriction/handler.lua start line: 32 end line: 54 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 376 unit: function _M.execute() file: kong/kong/plugins/ldap-auth/access.lua start line: 239 end line: 264 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 377 unit: function _M.new() file: kong/kong/clustering/init.lua start line: 58 end line: 85 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 378 unit: function _M:init_worker() file: kong/kong/clustering/init.lua start line: 153 end line: 177 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 379 unit: function _M:init_worker() file: kong/kong/clustering/control_plane.lua start line: 585 end line: 615 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 380 unit: function _M:push_config_one_client() file: kong/kong/clustering/wrpc_control_plane.lua start line: 158 end line: 182 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 381 unit: function _M:init_worker() file: kong/kong/clustering/wrpc_control_plane.lua start line: 350 end line: 380 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 382 unit: function workspaces.upsert_default() file: kong/kong/workspaces/init.lua start line: 7 end line: 28 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 383 unit: ws_add_ws_id = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 119 end line: 149 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 384 unit: function _mt:page() file: kong/kong/db/strategies/cassandra/init.lua start line: 1330 end line: 1354 size: 20 LOC McCabe index: 5 number of parameters: 5 id: 385 unit: function plugin_loader.load_entities() file: kong/kong/db/schema/plugin_loader.lua start line: 58 end line: 79 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 386 unit: fn = function() file: kong/kong/db/schema/entities/ca_certificates.lua start line: 33 end line: 57 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 387 unit: _M.applyEnv = function() file: kong/kong/resty/dns/utils.lua start line: 214 end line: 234 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 388 unit: function _M.new() file: kong/kong/router/atc_compat.lua start line: 553 end line: 579 size: 20 LOC McCabe index: 4 number of parameters: 4 id: 389 unit: local iterate_paged = function() file: kong/scripts/changelog-helper.lua start line: 87 end line: 109 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 390 unit: function() file: kong/spec/03-plugins/36-request-transformer/02-access_spec.lua start line: 2117 end line: 2135 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 391 unit: function _M:setup() file: kong/spec/helpers/perf/drivers/docker.lua start line: 180 end line: 200 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 392 unit: function _M.validate_utf8() file: kong/kong/tools/utils.lua start line: 707 end line: 726 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 393 unit: local validate = function() file: kong/kong/tools/utils.lua start line: 752 end line: 775 size: 19 LOC McCabe index: 6 number of parameters: 4 id: 394 unit: function SharedDict:incr() file: kong/kong/globalpatches.lua start line: 171 end line: 189 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 395 unit: function _M:touch() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 96 end line: 123 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 396 unit: metrics.shdict_usage = function() file: kong/kong/plugins/statsd/log.lua start line: 205 end line: 226 size: 19 LOC McCabe index: 4 number of parameters: 4 id: 397 unit: function _M.execute() file: kong/kong/plugins/statsd/log.lua start line: 327 end line: 352 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 398 unit: function Prometheus:init_worker() file: kong/kong/plugins/prometheus/prometheus.lua start line: 724 end line: 742 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 399 unit: teardown = function() file: kong/kong/db/migrations/core/009_200_to_210.lua start line: 243 end line: 266 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 400 unit: teardown = function() file: kong/kong/db/migrations/core/008_150_to_200.lua start line: 7 end line: 30 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 401 unit: function DB:check_version_compat() file: kong/kong/db/init.lua start line: 248 end line: 271 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 402 unit: function _mt:connect() file: kong/kong/db/strategies/postgres/connector.lua start line: 383 end line: 406 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 403 unit: function CassandraConnector:connect_migrations() file: kong/kong/db/strategies/cassandra/connector.lua start line: 338 end line: 361 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 404 unit: function CassandraConnector:insert_lock() file: kong/kong/db/strategies/cassandra/connector.lua start line: 739 end line: 760 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 405 unit: function _M.new() file: kong/kong/db/dao/init.lua start line: 942 end line: 963 size: 19 LOC McCabe index: 3 number of parameters: 4 id: 406 unit: GET = function() file: kong/kong/api/routes/cache.lua start line: 6 end line: 30 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 407 unit: function stress_generator.run() file: kong/spec/fixtures/stress_generator.lua start line: 95 end line: 118 size: 18 LOC McCabe index: 3 number of parameters: 5 id: 408 unit: __call = function() file: kong/spec/helpers.lua start line: 1005 end line: 1026 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 409 unit: function _M.dnsA() file: kong/spec/helpers/dns.lua start line: 77 end line: 104 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 410 unit: function _M.dnsAAAA() file: kong/spec/helpers/dns.lua start line: 108 end line: 135 size: 18 LOC McCabe index: 3 number of parameters: 3 id: 411 unit: remove_sensitive = function() file: kong/kong/conf_loader/init.lua start line: 1773 end line: 1793 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 412 unit: function _GLOBAL.set_named_ctx() file: kong/kong/global.lua start line: 83 end line: 105 size: 18 LOC McCabe index: 6 number of parameters: 4 id: 413 unit: reset_kong_shm = function() file: kong/kong/init.lua start line: 199 end line: 220 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 414 unit: function _M.deep_copy() file: kong/kong/tools/utils.lua start line: 587 end line: 604 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 415 unit: function SharedDict:ttl() file: kong/kong/globalpatches.lua start line: 224 end line: 241 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 416 unit: GET = function() file: kong/kong/plugins/acme/api.lua start line: 155 end line: 173 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 417 unit: function _M:fetch() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 57 end line: 80 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 418 unit: function crypt.verify() file: kong/kong/plugins/oauth2/secret.lua start line: 309 end line: 331 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 419 unit: function span_methods:set_tag() file: kong/kong/plugins/zipkin/span.lua start line: 94 end line: 111 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 420 unit: function grpc_web:body_filter() file: kong/kong/plugins/grpc-web/handler.lua start line: 82 end line: 103 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 421 unit: function statsd_mt:new() file: kong/kong/plugins/datadog/statsd_logger.lua start line: 26 end line: 45 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 422 unit: function grpc_gateway:header_filter() file: kong/kong/plugins/grpc-gateway/handler.lua start line: 91 end line: 110 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 423 unit: function _M.plugins_list_to_map() file: kong/kong/clustering/utils.lua start line: 216 end line: 235 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 424 unit: function _M:foreign_key_violation_invalid_reference() file: kong/kong/db/errors.lua start line: 268 end line: 289 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 425 unit: ws_adjust_foreign_key = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 184 end line: 206 size: 18 LOC McCabe index: 1 number of parameters: 5 id: 426 unit: function DB:truncate() file: kong/kong/db/init.lua start line: 216 end line: 238 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 427 unit: function CassandraConnector:schema_reset() file: kong/kong/db/strategies/cassandra/connector.lua start line: 975 end line: 996 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 428 unit: function Vaults:load_vault_schemas() file: kong/kong/db/dao/vaults.lua start line: 63 end line: 84 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 429 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 652 end line: 670 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 430 unit: function vault_loader.load_subschema() file: kong/kong/db/schema/vault_loader.lua start line: 12 end line: 32 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 431 unit: function Config:parse_table() file: kong/kong/db/declarative/init.lua start line: 239 end line: 262 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 432 unit: GET = function() file: kong/kong/api/routes/tags.lua start line: 9 end line: 30 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 433 unit: function _M:broadcast() file: kong/kong/cluster_events/init.lua start line: 152 end line: 179 size: 18 LOC McCabe index: 6 number of parameters: 3 id: 434 unit: function _NODE.get_id() file: kong/kong/pdk/node.lua start line: 62 end line: 84 size: 18 LOC McCabe index: 5 number of parameters: 0 id: 435 unit: __tostring = function() file: kong/kong/resty/dns/client.lua start line: 322 end line: 340 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 436 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1761 end line: 1777 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 437 unit: function _M:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 18 end line: 40 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 438 unit: insert = function() file: kong/spec/fixtures/dc_blueprints.lua start line: 38 end line: 54 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 439 unit: colors = setmetatable() file: kong/spec/helpers/perf/logger.lua start line: 6 end line: 26 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 440 unit: function _M.reload() file: kong/kong/cmd/utils/nginx_signals.lua start line: 217 end line: 238 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 441 unit: local sandbox = function() file: kong/kong/tools/sandbox.lua start line: 117 end line: 142 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 442 unit: function _M.yield() file: kong/kong/tools/utils.lua start line: 1438 end line: 1454 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 443 unit: l1_serializer = function() file: kong/kong/runloop/certificate.lua start line: 161 end line: 180 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 444 unit: function healthcheckers_M.stop_healthchecker() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 27 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 445 unit: function storage:save() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 213 end line: 235 size: 17 LOC McCabe index: 4 number of parameters: 4 id: 446 unit: custom_validator = function() file: kong/kong/plugins/request-termination/schema.lua start line: 27 end line: 43 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 447 unit: function _M:push_config() file: kong/kong/clustering/control_plane.lua start line: 238 end line: 257 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 448 unit: setkeepalive = function() file: kong/kong/db/strategies/postgres/connector.lua start line: 250 end line: 269 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 449 unit: function _mt:acquire_query_semaphore_resource() file: kong/kong/db/strategies/postgres/connector.lua start line: 450 end line: 469 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 450 unit: function _mt:iterate() file: kong/kong/db/strategies/postgres/connector.lua start line: 542 end line: 561 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 451 unit: function _mt:truncate() file: kong/kong/db/strategies/postgres/connector.lua start line: 564 end line: 584 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 452 unit: function _mt:setup_locks() file: kong/kong/db/strategies/postgres/connector.lua start line: 601 end line: 621 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 453 unit: function _mt:select() file: kong/kong/db/strategies/cassandra/init.lua start line: 990 end line: 1014 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 454 unit: __index = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 48 end line: 68 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 455 unit: __index = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 78 end line: 98 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 456 unit: function _SNIs:check_list_is_new() file: kong/kong/db/dao/snis.lua start line: 27 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 457 unit: function _SNIs:delete_list() file: kong/kong/db/dao/snis.lua start line: 65 end line: 83 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 458 unit: function _TARGETS:select_by_upstream_raw() file: kong/kong/db/dao/targets.lua start line: 147 end line: 168 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 459 unit: function Schema:each_field() file: kong/kong/db/schema/init.lua start line: 2042 end line: 2060 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 460 unit: function Schema:transform() file: kong/kong/db/schema/init.lua start line: 2269 end line: 2287 size: 17 LOC McCabe index: 5 number of parameters: 3 id: 461 unit: func = function() file: kong/kong/db/schema/entities/upstreams.lua start line: 320 end line: 336 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 462 unit: function deprecation.raise() file: kong/kong/deprecation.lua start line: 55 end line: 72 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 463 unit: function checks.validate_header() file: kong/kong/pdk/private/checks.lua start line: 45 end line: 62 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 464 unit: request.set_header = function() file: kong/kong/pdk/service/request.lua start line: 294 end line: 315 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 465 unit: void run() file: stages/GetVersionDockerApplication.groovy start line: 33 end line: 51 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 466 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1698 end line: 1713 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 467 unit: callback = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 654 end line: 670 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 468 unit: callback = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 692 end line: 708 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 469 unit: callback = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 734 end line: 750 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 470 unit: callback = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 450 end line: 466 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 471 unit: callback = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 488 end line: 504 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 472 unit: callback = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 530 end line: 546 size: 16 LOC McCabe index: 5 number of parameters: 6 id: 473 unit: GET = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/slow-query/api.lua start line: 3 end line: 21 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 474 unit: poll_wait_address_health = function() file: kong/spec/fixtures/balancer_utils.lua start line: 414 end line: 429 size: 16 LOC McCabe index: 4 number of parameters: 6 id: 475 unit: function stress_generator.new() file: kong/spec/fixtures/stress_generator.lua start line: 121 end line: 141 size: 16 LOC McCabe index: 3 number of parameters: 5 id: 476 unit: function _M:teardown() file: kong/spec/helpers/perf/drivers/docker.lua start line: 95 end line: 114 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 477 unit: function _M:teardown() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 171 end line: 192 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 478 unit: function _M.new() file: kong/kong/tools/grpc.lua start line: 66 end line: 83 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 479 unit: function _M.decode_args() file: kong/kong/tools/utils.lua start line: 415 end line: 432 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 480 unit: _M.check_https = function() file: kong/kong/tools/utils.lua start line: 444 end line: 470 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 481 unit: function Rpc:call_start_instance() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 251 end line: 268 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 482 unit: function Rpc:call_start_instance() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 357 end line: 374 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 483 unit: function Rpc:handle_event() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 384 end line: 400 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 484 unit: function balancer_mt:getStatus() file: kong/kong/runloop/balancer/balancers.lua start line: 529 end line: 546 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 485 unit: function _M.resign_integer() file: kong/kong/plugins/jwt/asn_sequence.lua start line: 111 end line: 126 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 486 unit: GET = function() file: kong/kong/plugins/proxy-cache/api.lua start line: 69 end line: 90 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 487 unit: function storage:connect() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 67 end line: 86 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 488 unit: function _M.negotiate() file: kong/kong/clustering/services/negotiation.lua start line: 303 end line: 322 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 489 unit: ws_add_workspaces = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 89 end line: 108 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: __tostring = function() file: kong/kong/db/migrations/state.lua start line: 27 end line: 47 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 491 unit: function DB:init_connector() file: kong/kong/db/init.lua start line: 133 end line: 159 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 492 unit: function _mt:upsert_by_field() file: kong/kong/db/strategies/postgres/init.lua start line: 671 end line: 687 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 493 unit: local get_table_name_neighbors = function() file: kong/kong/db/strategies/postgres/connector.lua start line: 124 end line: 142 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 494 unit: function _mt:init() file: kong/kong/db/strategies/postgres/connector.lua start line: 288 end line: 306 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 495 unit: function OffConnector:schema_migrations() file: kong/kong/db/strategies/off/connector.lua start line: 50 end line: 65 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 496 unit: function _TARGETS:page_for_upstream_raw() file: kong/kong/db/dao/targets.lua start line: 125 end line: 142 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 497 unit: function declarative.to_yaml_file() file: kong/kong/db/declarative/init.lua start line: 280 end line: 299 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 498 unit: function _RESPONSE.get_source() file: kong/kong/pdk/response.lua start line: 329 end line: 348 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 499 unit: function service.set_target() file: kong/kong/pdk/service.lua start line: 85 end line: 103 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 500 unit: function span_mt:finish() file: kong/kong/pdk/tracing.lua start line: 224 end line: 244 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 501 unit: function self.set_format() file: kong/kong/pdk/log.lua start line: 907 end line: 928 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 502 unit: function _M.new() file: kong/kong/router/init.lua start line: 33 end line: 50 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 503 unit: local check_list = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 178 end line: 192 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 504 unit: function EnableBuffering:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/enable-buffering/handler.lua start line: 16 end line: 31 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 505 unit: function EnableBuffering:response() file: kong/spec/fixtures/custom_plugins/kong/plugins/enable-buffering-response/handler.lua start line: 16 end line: 31 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 506 unit: function SharedDict:flush_expired() file: kong/spec/fixtures/shm-stub.lua start line: 74 end line: 91 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 507 unit: signal_workers = function() file: kong/spec/helpers.lua start line: 3448 end line: 3466 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 508 unit: helpers.admin_client = function() file: kong/spec/helpers/perf/drivers/docker.lua start line: 158 end line: 176 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 509 unit: function _M.check_conf() file: kong/kong/cmd/utils/nginx_signals.lua start line: 186 end line: 204 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 510 unit: function Kong.handle_error() file: kong/kong/init.lua start line: 1477 end line: 1496 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 511 unit: function Queue:flush() file: kong/kong/tools/batch_queue.lua start line: 302 end line: 324 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 512 unit: function _M:receive() file: kong/kong/tools/wrpc/init.lua start line: 70 end line: 86 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 513 unit: function _M.wait() file: kong/kong/tools/wrpc/threads.lua start line: 116 end line: 133 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 514 unit: function _M.get_system_infos() file: kong/kong/tools/utils.lua start line: 107 end line: 125 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 515 unit: function _M.get_default_exit_body() file: kong/kong/tools/utils.lua start line: 1104 end line: 1122 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 516 unit: function SharedDict:flush_expired() file: kong/kong/globalpatches.lua start line: 195 end line: 210 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 517 unit: function queryDns() file: kong/kong/runloop/balancer/targets.lua start line: 480 end line: 507 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 518 unit: function consistent_hashing.new() file: kong/kong/runloop/balancer/consistent_hashing.lua start line: 208 end line: 226 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: log = function() file: kong/kong/reports.lua start line: 434 end line: 451 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 520 unit: compiled[i] = function() file: kong/kong/plugins/pre-function/_handler.lua start line: 25 end line: 57 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 521 unit: function ACMEHandler:init_worker() file: kong/kong/plugins/acme/handler.lua start line: 59 end line: 79 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 522 unit: function ProxyCacheHandler:header_filter() file: kong/kong/plugins/proxy-cache/handler.lua start line: 366 end line: 389 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 523 unit: function RequestSizeLimitingHandler:access() file: kong/kong/plugins/request-size-limiting/handler.lua start line: 41 end line: 57 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 524 unit: function span_methods:annotate() file: kong/kong/plugins/zipkin/span.lua start line: 121 end line: 137 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 525 unit: function grpc_gateway:body_filter() file: kong/kong/plugins/grpc-gateway/handler.lua start line: 113 end line: 130 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 526 unit: local invalidate_cache = function() file: kong/kong/plugins/acl/acls.lua start line: 5 end line: 23 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 527 unit: teardown = function() file: kong/kong/db/migrations/core/013_220_to_230.lua start line: 66 end line: 80 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 528 unit: up_f = function() file: kong/kong/db/migrations/core/016_280_to_300.lua start line: 395 end line: 411 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 529 unit: function _mt:select_by_field() file: kong/kong/db/strategies/postgres/init.lua start line: 586 end line: 603 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 530 unit: function DAO:rows_to_entities() file: kong/kong/db/dao/init.lua start line: 1372 end line: 1390 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 531 unit: function _TARGETS:select() file: kong/kong/db/dao/targets.lua start line: 95 end line: 110 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 532 unit: function _Certificates:select_with_name_list() file: kong/kong/db/dao/certificates.lua start line: 168 end line: 185 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 533 unit: function _Certificates:page() file: kong/kong/db/dao/certificates.lua start line: 191 end line: 208 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 534 unit: local get_schema_neighbors = function() file: kong/kong/db/schema/topological_sort.lua start line: 63 end line: 80 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 535 unit: function declarative.load_into_cache_with_events() file: kong/kong/db/declarative/init.lua start line: 1042 end line: 1060 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 536 unit: GET = function() file: kong/kong/api/routes/kong.lua start line: 121 end line: 148 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 537 unit: GET = function() file: kong/kong/api/routes/consumers.lua start line: 11 end line: 29 size: 15 LOC McCabe index: 3 number of parameters: 4 id: 538 unit: function _RESPONSE.set_status() file: kong/kong/pdk/response.lua start line: 361 end line: 380 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 539 unit: function _RESPONSE.set_headers() file: kong/kong/pdk/response.lua start line: 517 end line: 534 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 540 unit: function _REQUEST.get_forwarded_host() file: kong/kong/pdk/request.lua start line: 174 end line: 191 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 541 unit: function self.process_span() file: kong/kong/pdk/tracing.lua start line: 441 end line: 458 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 542 unit: local handler = function() file: kong/spec/02-integration/05-proxy/10-balancer/02-least-connections_spec.lua start line: 71 end line: 84 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 543 unit: utils.readlines = function() file: kong/spec/01-unit/21-dns-client/01-utils_spec.lua start line: 280 end line: 293 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 544 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 957 end line: 970 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 545 unit: function _M.balancer_types() file: kong/spec/helpers/dns.lua start line: 19 end line: 33 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 546 unit: function _GLOBAL.set_namespaced_log() file: kong/kong/global.lua start line: 129 end line: 145 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 547 unit: function() file: kong/kong/tools/wrpc/proto.lua start line: 110 end line: 126 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 548 unit: function _M.add_error() file: kong/kong/tools/utils.lua start line: 667 end line: 683 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 549 unit: get_error_template = function() file: kong/kong/tools/utils.lua start line: 1326 end line: 1345 size: 14 LOC McCabe index: 6 number of parameters: 1 id: 550 unit: function SharedDict:add() file: kong/kong/globalpatches.lua start line: 140 end line: 156 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 551 unit: function roundrobin_algorithm.new() file: kong/kong/runloop/balancer/round_robin.lua start line: 123 end line: 141 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: retrieve_redis_version = function() file: kong/kong/reports.lua start line: 384 end line: 409 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 553 unit: function _M:add() file: kong/kong/plugins/acme/storage/kong.lua start line: 16 end line: 31 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 554 unit: encode_traces = function() file: kong/kong/plugins/opentelemetry/otlp.lua start line: 145 end line: 163 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 555 unit: function storage:close() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 237 end line: 254 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 556 unit: function storage:ttl() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 273 end line: 291 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 557 unit: status_count_per_user_per_route = function() file: kong/kong/plugins/statsd/log.lua start line: 185 end line: 200 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 558 unit: local validate_static_tags = function() file: kong/kong/plugins/zipkin/schema.lua start line: 28 end line: 41 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 559 unit: increment = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 108 end line: 123 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 560 unit: usage = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 153 end line: 170 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 561 unit: increment = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 117 end line: 131 size: 14 LOC McCabe index: 4 number of parameters: 5 id: 562 unit: usage = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 161 end line: 178 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 563 unit: function deco.new() file: kong/kong/plugins/grpc-gateway/deco.lua start line: 154 end line: 170 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 564 unit: function deco:downstream() file: kong/kong/plugins/grpc-gateway/deco.lua start line: 274 end line: 292 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 565 unit: function communicate_loop() file: kong/kong/clustering/wrpc_data_plane.lua start line: 249 end line: 267 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 566 unit: local update_sync_status = function() file: kong/kong/clustering/control_plane.lua start line: 321 end line: 334 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 567 unit: teardown = function() file: kong/kong/db/migrations/core/016_280_to_300.lua start line: 325 end line: 341 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 568 unit: teardown = function() file: kong/kong/db/migrations/core/008_150_to_200.lua start line: 37 end line: 56 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 569 unit: ws_update_composite_cache_key = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 214 end line: 228 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 570 unit: ws_add_workspaces = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 294 end line: 310 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 571 unit: function _mt:delete_by_field() file: kong/kong/db/strategies/postgres/init.lua start line: 704 end line: 721 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 572 unit: function _mt:infos() file: kong/kong/db/strategies/postgres/connector.lua start line: 366 end line: 380 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 573 unit: function _mt:read_lock() file: kong/kong/db/strategies/postgres/connector.lua start line: 659 end line: 674 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 574 unit: function OffConnector.new() file: kong/kong/db/strategies/off/connector.lua start line: 13 end line: 27 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 575 unit: function _SNIs:update_list() file: kong/kong/db/dao/snis.lua start line: 107 end line: 127 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 576 unit: fn = function() file: kong/kong/db/schema/entities/certificates.lua start line: 57 end line: 71 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 577 unit: function _RESPONSE.get_headers() file: kong/kong/pdk/response.lua start line: 279 end line: 297 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 578 unit: function _REQUEST.get_headers() file: kong/kong/pdk/request.lua start line: 641 end line: 659 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 579 unit: function checks.normalize_multi_header() file: kong/kong/pdk/private/checks.lua start line: 13 end line: 30 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 580 unit: _M.parseHostname = function() file: kong/kong/resty/dns/utils.lua start line: 322 end line: 335 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 581 unit: safe_set = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 11 end line: 23 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 582 unit: select_by_upstream_raw = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 90 end line: 103 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 583 unit: safe_set = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 19 end line: 31 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 584 unit: safe_set = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 27 end line: 39 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 585 unit: function SharedDict:incr() file: kong/spec/fixtures/shm-stub.lua start line: 53 end line: 66 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 586 unit: function _M:remote_execute() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 93 end line: 105 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 587 unit: __tostring = function() file: kong/kong/tracing/instrumentation.lua start line: 278 end line: 293 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 588 unit: stash_init_worker_error = function() file: kong/kong/init.lua start line: 147 end line: 163 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 589 unit: flush = function() file: kong/kong/tools/batch_queue.lua start line: 143 end line: 159 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 590 unit: function Channel:post() file: kong/kong/tools/channel.lua start line: 103 end line: 117 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 591 unit: function _M.get_system_trusted_certs_filepath() file: kong/kong/tools/utils.lua start line: 138 end line: 151 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 592 unit: local is_array_lapis = function() file: kong/kong/tools/utils.lua start line: 525 end line: 537 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 593 unit: function _M.is_lapis_array() file: kong/kong/tools/utils.lua start line: 567 end line: 579 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 594 unit: function SharedDict:get_keys() file: kong/kong/globalpatches.lua start line: 211 end line: 223 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 595 unit: function upstreams_M.update_balancer_state() file: kong/kong/runloop/balancer/upstreams.lua start line: 265 end line: 278 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 596 unit: function SysLogHandler:log() file: kong/kong/plugins/syslog/handler.lua start line: 93 end line: 106 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 597 unit: function crypt.hash() file: kong/kong/plugins/oauth2/secret.lua start line: 290 end line: 306 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 598 unit: function storage:get() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 138 end line: 152 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 599 unit: function storage:start() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 195 end line: 211 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 600 unit: function deco:upstream() file: kong/kong/plugins/grpc-web/deco.lua start line: 120 end line: 135 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 601 unit: increment = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 137 end line: 152 size: 13 LOC McCabe index: 2 number of parameters: 5 id: 602 unit: function LogglyLogHandler:log() file: kong/kong/plugins/loggly/handler.lua start line: 133 end line: 147 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 603 unit: function TcpLogHandler:log() file: kong/kong/plugins/tcp-log/handler.lua start line: 60 end line: 73 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 604 unit: _log_error_kv = function() file: kong/kong/plugins/prometheus/prometheus.lua start line: 809 end line: 821 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 605 unit: increment = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 145 end line: 160 size: 13 LOC McCabe index: 2 number of parameters: 5 id: 606 unit: function encode() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 187 end line: 200 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 607 unit: function client:update_sync_status() file: kong/kong/clustering/wrpc_control_plane.lua start line: 251 end line: 263 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 608 unit: function _M:foreign_key_violation_restricted() file: kong/kong/db/errors.lua start line: 292 end line: 307 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 609 unit: teardown = function() file: kong/kong/db/migrations/core/012_213_to_220.lua start line: 77 end line: 91 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 610 unit: ws_unique_field = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 156 end line: 174 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 611 unit: function DB:schema_bootstrap() file: kong/kong/db/init.lua start line: 441 end line: 457 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 612 unit: function _mt:update() file: kong/kong/db/strategies/postgres/init.lua start line: 615 end line: 628 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 613 unit: function _mt:close() file: kong/kong/db/strategies/postgres/connector.lua start line: 414 end line: 429 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 614 unit: function _mt:setkeepalive() file: kong/kong/db/strategies/postgres/connector.lua start line: 432 end line: 447 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 615 unit: function _mt:release_query_semaphore_resource() file: kong/kong/db/strategies/postgres/connector.lua start line: 472 end line: 486 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 616 unit: function _mt:remove_lock() file: kong/kong/db/strategies/postgres/connector.lua start line: 677 end line: 691 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 617 unit: function Workspaces:truncate() file: kong/kong/db/dao/workspaces.lua start line: 4 end line: 18 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 618 unit: function Plugins:get_handlers() file: kong/kong/db/dao/plugins.lua start line: 341 end line: 356 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 619 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 676 end line: 688 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 620 unit: function Schema:validate_immutable_fields() file: kong/kong/db/schema/init.lua start line: 1953 end line: 1969 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 621 unit: function Schema:validate_update() file: kong/kong/db/schema/init.lua start line: 1997 end line: 2018 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 622 unit: function plugin_loader.load_entity_schema() file: kong/kong/db/schema/plugin_loader.lua start line: 41 end line: 55 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 623 unit: local validate_name = function() file: kong/kong/db/schema/entities/upstreams.lua start line: 17 end line: 29 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 624 unit: GET = function() file: kong/kong/api/routes/kong.lua start line: 190 end line: 202 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 625 unit: GET = function() file: kong/kong/api/routes/plugins.lua start line: 124 end line: 137 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 626 unit: function _RESPONSE.set_header() file: kong/kong/pdk/response.lua start line: 406 end line: 421 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 627 unit: function _RESPONSE.set_raw_body() file: kong/kong/pdk/response.lua start line: 625 end line: 641 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 628 unit: function _REQUEST.get_raw_body() file: kong/kong/pdk/request.lua start line: 685 end line: 701 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 629 unit: function _NODE.get_hostname() file: kong/kong/pdk/node.lua start line: 241 end line: 256 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 630 unit: function span_mt:set_attribute() file: kong/kong/pdk/tracing.lua start line: 255 end line: 270 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 631 unit: request.add_header = function() file: kong/kong/pdk/service/request.lua start line: 331 end line: 348 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 632 unit: request.set_headers = function() file: kong/kong/pdk/service/request.lua start line: 409 end line: 430 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 633 unit: function _CLIENT.authenticate() file: kong/kong/pdk/client.lua start line: 249 end line: 263 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 634 unit: _M.getHosts = function() file: kong/kong/resty/dns/utils.lua start line: 253 end line: 267 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 635 unit: local check_status = function() file: kong/spec/03-plugins/21-bot-detection/02-invalidations_spec.lua start line: 75 end line: 86 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 636 unit: local check_status = function() file: kong/spec/03-plugins/21-bot-detection/02-invalidations_spec.lua start line: 114 end line: 125 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: wait = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 39 end line: 50 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 638 unit: func() file: kong/spec/fixtures/go/go-hello.go start line: 25 end line: 36 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 639 unit: function _M:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 43 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 640 unit: function request() file: kong/spec/fixtures/perf/terraform/equinix-metal/scripts/wrk.lua start line: 12 end line: 26 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 641 unit: add_target = function() file: kong/spec/fixtures/balancer_utils.lua start line: 296 end line: 307 size: 12 LOC McCabe index: 2 number of parameters: 5 id: 642 unit: function _M:stop_kong() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 506 end line: 519 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 643 unit: function _GLOBAL.del_named_ctx() file: kong/kong/global.lua start line: 108 end line: 122 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 644 unit: function _M.db_query() file: kong/kong/tracing/instrumentation.lua start line: 40 end line: 56 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 645 unit: function structpb_value() file: kong/kong/tools/protobuf.lua start line: 58 end line: 72 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 646 unit: function Channel.wait_all() file: kong/kong/tools/channel.lua start line: 137 end line: 150 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 647 unit: function _M.new_peer() file: kong/kong/tools/wrpc/init.lua start line: 31 end line: 42 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 648 unit: function _M:send_encoded_call() file: kong/kong/tools/wrpc/init.lua start line: 98 end line: 109 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 649 unit: function _M:send_payload() file: kong/kong/tools/wrpc/init.lua start line: 156 end line: 171 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 650 unit: function _M.table_merge() file: kong/kong/tools/utils.lua start line: 477 end line: 489 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 651 unit: function _M.is_array() file: kong/kong/tools/utils.lua start line: 545 end line: 559 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 652 unit: function _M.load_module_if_exists() file: kong/kong/tools/utils.lua start line: 691 end line: 703 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 653 unit: _M.normalize_ip = function() file: kong/kong/tools/utils.lua start line: 961 end line: 972 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 654 unit: function plugin_servers.start() file: kong/kong/runloop/plugin_servers/init.lua start line: 312 end line: 325 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 655 unit: function Rpc:handle_event() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 327 end line: 339 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 656 unit: function structpb_value() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 24 end line: 38 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 657 unit: ES256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 54 end line: 66 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 658 unit: ES384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 67 end line: 79 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 659 unit: ES256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 109 end line: 120 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 660 unit: function _M:delete() file: kong/kong/plugins/acme/storage/kong.lua start line: 50 end line: 62 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 661 unit: function _M:store() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 36 end line: 51 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 662 unit: function CorrelationIdHandler:access() file: kong/kong/plugins/correlation-id/handler.lua start line: 55 end line: 70 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 663 unit: function storage:destroy() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 256 end line: 271 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 664 unit: function UdpLogHandler:log() file: kong/kong/plugins/udp-log/handler.lua start line: 50 end line: 62 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 665 unit: function span_methods:new_child() file: kong/kong/plugins/zipkin/span.lua start line: 69 end line: 80 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 666 unit: function decode() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 246 end line: 258 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 667 unit: function State:is_migration_executed() file: kong/kong/db/migrations/state.lua start line: 312 end line: 326 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 668 unit: function DB:schema_reset() file: kong/kong/db/init.lua start line: 460 end line: 475 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 669 unit: function _mt:upsert() file: kong/kong/db/strategies/postgres/init.lua start line: 656 end line: 668 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 670 unit: function CassandraConnector:infos() file: kong/kong/db/strategies/cassandra/connector.lua start line: 304 end line: 316 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 671 unit: function CassandraConnector:connect() file: kong/kong/db/strategies/cassandra/connector.lua start line: 319 end line: 333 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 672 unit: function CassandraConnector:setkeepalive() file: kong/kong/db/strategies/cassandra/connector.lua start line: 364 end line: 379 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 673 unit: function CassandraConnector:close() file: kong/kong/db/strategies/cassandra/connector.lua start line: 382 end line: 397 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 674 unit: function _SNIs:insert_list() file: kong/kong/db/dao/snis.lua start line: 49 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 675 unit: function _TARGETS:select_by_upstream_filter() file: kong/kong/db/dao/targets.lua start line: 281 end line: 293 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 676 unit: function _Certificates:delete() file: kong/kong/db/dao/certificates.lua start line: 212 end line: 225 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 677 unit: function Tags:page_by_tag() file: kong/kong/db/dao/tags.lua start line: 3 end line: 15 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 678 unit: fn = function() file: kong/kong/db/schema/entities/routes.lua start line: 130 end line: 143 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 679 unit: func = function() file: kong/kong/db/schema/entities/upstreams.lua start line: 303 end line: 314 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 680 unit: function declarative.new_config() file: kong/kong/db/declarative/init.lua start line: 59 end line: 71 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 681 unit: function _M.handle_error() file: kong/kong/api/api_helpers.lua start line: 500 end line: 515 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 682 unit: function service.set_upstream() file: kong/kong/pdk/service.lua start line: 51 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 683 unit: _M.getResolv = function() file: kong/kong/resty/dns/utils.lua start line: 282 end line: 295 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 684 unit: local cachelookup = function() file: kong/kong/resty/dns/client.lua start line: 135 end line: 157 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 685 unit: nav = function() file: kong/autodoc/pdk/ldoc/filters.lua start line: 5 end line: 16 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 686 unit: json = function() file: kong/autodoc/pdk/ldoc/filters.lua start line: 18 end line: 29 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 687 unit: titleize = function() file: kong/autodoc/admin-api/generate.lua start line: 64 end line: 75 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 688 unit: function wait_for_log() file: kong/spec/02-integration/09-hybrid_mode/07-wrpc_spec.lua start line: 77 end line: 87 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 689 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1459 end line: 1469 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 690 unit: client.resolve = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 1434 end line: 1444 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 691 unit: function WorkerEventsHandler.init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/worker-events/handler.lua start line: 38 end line: 48 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 692 unit: _stream = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/stream-api-echo/api.lua start line: 5 end line: 18 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 693 unit: function _M:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 60 end line: 72 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 694 unit: each_strategy = function() file: kong/spec/helpers.lua start line: 306 end line: 317 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 695 unit: all_strategies = function() file: kong/spec/helpers.lua start line: 319 end line: 330 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 696 unit: dns_mock.__tostring = function() file: kong/spec/helpers.lua start line: 2356 end line: 2367 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 697 unit: signal = function() file: kong/spec/helpers.lua start line: 3433 end line: 3446 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 698 unit: function _M.start_kong() file: kong/spec/helpers/perf.lua start line: 205 end line: 215 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 699 unit: function _M.register_hook() file: kong/kong/hooks.lua start line: 37 end line: 50 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 700 unit: function _M.runloop_log_after() file: kong/kong/tracing/instrumentation.lua start line: 302 end line: 317 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 701 unit: function Kong.ssl_certificate() file: kong/kong/init.lua start line: 773 end line: 791 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 702 unit: function stream_api.load_handlers() file: kong/kong/tools/stream_api.lua start line: 238 end line: 249 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 703 unit: function() file: kong/kong/tools/grpc.lua start line: 52 end line: 63 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 704 unit: function _M.unframe() file: kong/kong/tools/grpc.lua start line: 150 end line: 162 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 705 unit: function _M.new() file: kong/kong/tools/wrpc/future.lua start line: 113 end line: 125 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 706 unit: function _M.new() file: kong/kong/tools/wrpc/proto.lua start line: 73 end line: 84 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 707 unit: _M.strip = function() file: kong/kong/tools/utils.lua start line: 84 end line: 94 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 708 unit: local is_array_strict = function() file: kong/kong/tools/utils.lua start line: 513 end line: 523 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 709 unit: function _M.deep_merge() file: kong/kong/tools/utils.lua start line: 635 end line: 647 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 710 unit: ["kong.request.get_header"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 68 end line: 80 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 711 unit: ["kong.response.get_header"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 92 end line: 104 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 712 unit: function rpc_notifications:serverPid() file: kong/kong/runloop/plugin_servers/init.lua start line: 217 end line: 228 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 713 unit: function plugin_servers.stop() file: kong/kong/runloop/plugin_servers/init.lua start line: 327 end line: 338 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 714 unit: update_lua_mem = function() file: kong/kong/runloop/handler.lua start line: 132 end line: 145 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 715 unit: function targets_M.get_dns_name_from_record_type() file: kong/kong/runloop/balancer/targets.lua start line: 63 end line: 75 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 716 unit: function balancer_mt:findAddress() file: kong/kong/runloop/balancer/balancers.lua start line: 277 end line: 287 size: 11 LOC McCabe index: 5 number of parameters: 3 id: 717 unit: function balancer_mt:updateStatus() file: kong/kong/runloop/balancer/balancers.lua start line: 454 end line: 466 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 718 unit: ES384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 121 end line: 131 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 719 unit: fn = function() file: kong/kong/plugins/acme/schema.lua start line: 143 end line: 153 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 720 unit: function OpenTelemetryHandler:log() file: kong/kong/plugins/opentelemetry/handler.lua start line: 184 end line: 197 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 721 unit: custom_validator = function() file: kong/kong/plugins/http-log/schema.lua start line: 44 end line: 55 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 722 unit: function CorrelationIdHandler:header_filter() file: kong/kong/plugins/correlation-id/handler.lua start line: 73 end line: 86 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 723 unit: function CorsHandler:header_filter() file: kong/kong/plugins/cors/handler.lua start line: 235 end line: 247 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 724 unit: decoder[TAG.OCTET_STRING] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 209 end line: 219 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 725 unit: decoder[TAG.INTEGER] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 221 end line: 231 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 726 unit: decoder[TAG.ENUMERATED] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 233 end line: 243 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 727 unit: function ResponseTransformerHandler:body_filter() file: kong/kong/plugins/response-transformer/handler.lua start line: 22 end line: 33 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 728 unit: teardown = function() file: kong/kong/db/migrations/core/009_200_to_210.lua start line: 212 end line: 225 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 729 unit: ws_update_keys = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 233 end line: 245 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 730 unit: function _mt:insert() file: kong/kong/db/strategies/postgres/init.lua start line: 556 end line: 568 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 731 unit: function _mt:select() file: kong/kong/db/strategies/postgres/init.lua start line: 571 end line: 583 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 732 unit: function _mt:delete_by_field() file: kong/kong/db/strategies/cassandra/init.lua start line: 1716 end line: 1729 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 733 unit: function CassandraConnector:read_lock() file: kong/kong/db/strategies/cassandra/connector.lua start line: 763 end line: 774 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 734 unit: function CassandraConnector:remove_lock() file: kong/kong/db/strategies/cassandra/connector.lua start line: 777 end line: 788 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 735 unit: function _SNIs:list_for_certificate() file: kong/kong/db/dao/snis.lua start line: 87 end line: 101 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 736 unit: function _TARGETS:insert() file: kong/kong/db/dao/targets.lua start line: 39 end line: 50 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 737 unit: function Plugins:update() file: kong/kong/db/dao/plugins.lua start line: 91 end line: 102 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 738 unit: function DeclarativeConfig.pk_string() file: kong/kong/db/schema/others/declarative_config.lua start line: 40 end line: 50 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 739 unit: function declarative.to_yaml_string() file: kong/kong/db/declarative/init.lua start line: 265 end line: 277 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 740 unit: GET = function() file: kong/kong/api/routes/kong.lua start line: 151 end line: 161 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 741 unit: __pairs = function() file: kong/kong/templates/nginx_kong_stream.lua start line: 46 end line: 56 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 742 unit: function _M.new() file: kong/kong/cluster_events/strategies/postgres.lua start line: 64 end line: 76 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 743 unit: function _M.new() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 41 end line: 53 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 744 unit: __index = function() file: kong/kong/pdk/init.lua start line: 274 end line: 285 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 745 unit: function _RESPONSE.get_header() file: kong/kong/pdk/response.lua start line: 223 end line: 236 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 746 unit: service.set_tls_cert_key = function() file: kong/kong/pdk/service.lua start line: 137 end line: 150 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 747 unit: function _REQUEST.get_forwarded_path() file: kong/kong/pdk/request.lua start line: 277 end line: 289 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 748 unit: function _REQUEST.get_forwarded_prefix() file: kong/kong/pdk/request.lua start line: 319 end line: 331 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 749 unit: function _REQUEST.get_method() file: kong/kong/pdk/request.lua start line: 360 end line: 372 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 750 unit: function _REQUEST.get_query_arg() file: kong/kong/pdk/request.lua start line: 482 end line: 495 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 751 unit: function _NGINX.get_statistics() file: kong/kong/pdk/nginx.lua start line: 79 end line: 89 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 752 unit: info = function() file: kong/kong/pdk/log.lua start line: 67 end line: 78 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 753 unit: function response.get_header() file: kong/kong/pdk/service/response.lua start line: 253 end line: 266 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 754 unit: request.set_method = function() file: kong/kong/pdk/service/request.lua start line: 212 end line: 225 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 755 unit: request.set_query = function() file: kong/kong/pdk/service/request.lua start line: 259 end line: 272 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 756 unit: void run() file: stages/CarrierSast.groovy start line: 23 end line: 32 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 757 unit: client.resolve = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 973 end line: 982 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 758 unit: client.resolve = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 1508 end line: 1517 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 759 unit: client.resolve = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 775 end line: 784 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 760 unit: client.resolve = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 1079 end line: 1088 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 761 unit: local test_with = function() file: kong/spec/01-unit/19-hybrid/03-fields-removal_spec.lua start line: 204 end line: 214 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 762 unit: up_f = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/with-migrations/migrations/000_base_with_migrations.lua start line: 20 end line: 31 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 763 unit: up_f = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/with-migrations/migrations/001_14_to_15.lua start line: 51 end line: 62 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 764 unit: add_upstream = function() file: kong/spec/fixtures/balancer_utils.lua start line: 198 end line: 207 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 765 unit: update_target = function() file: kong/spec/fixtures/balancer_utils.lua start line: 309 end line: 318 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 766 unit: meta.__call = function() file: kong/spec/helpers.lua start line: 945 end line: 956 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 767 unit: function exec() file: kong/spec/helpers.lua start line: 2544 end line: 2553 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 768 unit: kill_all = function() file: kong/spec/helpers.lua start line: 3409 end line: 3421 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 769 unit: function _M.new() file: kong/spec/helpers/perf/drivers/docker.lua start line: 13 end line: 22 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 770 unit: function _M:save_error_log() file: kong/spec/helpers/perf/drivers/docker.lua start line: 535 end line: 545 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 771 unit: __tostring = function() file: kong/kong/conf_loader/init.lua start line: 572 end line: 586 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 772 unit: function _M.run_hook() file: kong/kong/hooks.lua start line: 53 end line: 65 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 773 unit: function _M:addpath() file: kong/kong/tools/grpc.lua start line: 85 end line: 95 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 774 unit: function _M:get_proto_file() file: kong/kong/tools/grpc.lua start line: 97 end line: 106 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 775 unit: function structpb_struct() file: kong/kong/tools/protobuf.lua start line: 84 end line: 94 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 776 unit: function _M.table_contains() file: kong/kong/tools/utils.lua start line: 495 end line: 504 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 777 unit: _M.hostname_type = function() file: kong/kong/tools/utils.lua start line: 823 end line: 832 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 778 unit: _M.validate_header_name = function() file: kong/kong/tools/utils.lua start line: 1015 end line: 1026 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 779 unit: _M.validate_cookie_name = function() file: kong/kong/tools/utils.lua start line: 1033 end line: 1044 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 780 unit: function proc_mgmt.get_plugin_info() file: kong/kong/runloop/plugin_servers/process.lua start line: 157 end line: 168 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 781 unit: function structpb_struct() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 50 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 782 unit: [".kong_plugin_protocol.RawBodyResult"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 154 end line: 165 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 783 unit: function Rpc.new() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 283 end line: 295 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 784 unit: function targets_M.init() file: kong/kong/runloop/balancer/targets.lua start line: 48 end line: 59 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 785 unit: [dns_client.TYPE_A] = function() file: kong/kong/runloop/balancer/targets.lua start line: 205 end line: 217 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 786 unit: [dns_client.TYPE_SRV] = function() file: kong/kong/runloop/balancer/targets.lua start line: 219 end line: 231 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 787 unit: function upstreams_M.on_upstream_event() file: kong/kong/runloop/balancer/upstreams.lua start line: 287 end line: 296 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 788 unit: init_worker = function() file: kong/kong/reports.lua start line: 415 end line: 426 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 789 unit: function _M:new() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 305 end line: 316 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 790 unit: function _M:check_maximum_expiration() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 392 end line: 403 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 791 unit: function _M.new() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 16 end line: 27 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 792 unit: fn = function() file: kong/kong/plugins/proxy-cache/schema.lua start line: 88 end line: 100 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 793 unit: ["tracker"] = function() file: kong/kong/plugins/correlation-id/handler.lua start line: 28 end line: 37 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 794 unit: function OidcHandler:access() file: kong/kong/plugins/oidc/handler.lua start line: 8 end line: 19 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 795 unit: function M.has_bearer_access_token() file: kong/kong/plugins/oidc/utils.lua start line: 142 end line: 151 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 796 unit: function M.get_bearer_access_token() file: kong/kong/plugins/oidc/utils.lua start line: 153 end line: 162 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 797 unit: function FileLogHandler:log() file: kong/kong/plugins/file-log/handler.lua start line: 73 end line: 83 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 798 unit: fn = function() file: kong/kong/plugins/aws-lambda/schema.lua start line: 105 end line: 117 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 799 unit: status_count_per_user = function() file: kong/kong/plugins/statsd/log.lua start line: 163 end line: 173 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 800 unit: status_count_per_workspace = function() file: kong/kong/plugins/statsd/log.lua start line: 174 end line: 184 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 801 unit: function DatadogHandler:log() file: kong/kong/plugins/datadog/handler.lua start line: 103 end line: 113 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 802 unit: function statsd_mt:send_statsd() file: kong/kong/plugins/datadog/statsd_logger.lua start line: 74 end line: 85 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 803 unit: function storage:open() file: kong/kong/plugins/session/storage/kong.lua start line: 33 end line: 44 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 804 unit: function storage:save() file: kong/kong/plugins/session/storage/kong.lua start line: 61 end line: 72 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 805 unit: function iteration.failed() file: kong/kong/db/iteration.lua start line: 13 end line: 22 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 806 unit: __tostring = function() file: kong/kong/db/errors.lua start line: 80 end line: 91 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 807 unit: function _M:invalid_offset() file: kong/kong/db/errors.lua start line: 388 end line: 400 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 808 unit: __index = function() file: kong/kong/db/strategies/init.lua start line: 63 end line: 77 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 809 unit: function Connector:store_connection() file: kong/kong/db/strategies/connector.lua start line: 41 end line: 52 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 810 unit: function _mt:delete() file: kong/kong/db/strategies/postgres/init.lua start line: 690 end line: 701 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 811 unit: function _mt:truncate_table() file: kong/kong/db/strategies/postgres/connector.lua start line: 587 end line: 598 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 812 unit: __index = function() file: kong/kong/db/dao/plugins.lua start line: 210 end line: 224 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 813 unit: match_any = function() file: kong/kong/db/schema/init.lua start line: 272 end line: 281 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 814 unit: fn = function() file: kong/kong/db/schema/entities/certificates.lua start line: 42 end line: 53 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 815 unit: function Config:parse_file() file: kong/kong/db/declarative/init.lua start line: 112 end line: 123 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 816 unit: emit_entity = function() file: kong/kong/db/declarative/init.lua start line: 591 end line: 601 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 817 unit: GET = function() file: kong/kong/api/routes/kong.lua start line: 177 end line: 187 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 818 unit: function _RESPONSE.clear_header() file: kong/kong/pdk/response.lua start line: 470 end line: 482 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 819 unit: function _REQUEST.get_forwarded_scheme() file: kong/kong/pdk/request.lua start line: 139 end line: 150 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 820 unit: tracer_mt.set_global_tracer = function() file: kong/kong/pdk/tracing.lua start line: 468 end line: 479 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 821 unit: request.set_scheme = function() file: kong/kong/pdk/service/request.lua start line: 110 end line: 122 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 822 unit: request.set_path = function() file: kong/kong/pdk/service/request.lua start line: 140 end line: 152 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 823 unit: [CONTENT_TYPE_POST] = function() file: kong/kong/pdk/service/request.lua start line: 473 end line: 484 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 824 unit: function _TLS.set_client_verify() file: kong/kong/pdk/client/tls.lua start line: 137 end line: 149 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 825 unit: local parseOption = function() file: kong/kong/resty/dns/utils.lua start line: 133 end line: 142 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 826 unit: local reports_send_ping = function() file: kong/spec/02-integration/05-proxy/22-reports_spec.lua start line: 33 end line: 42 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 827 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 651 end line: 659 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 828 unit: local cb = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 516 end line: 524 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 829 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 244 end line: 253 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 830 unit: child_dao.each_for_c = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 528 end line: 536 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 831 unit: grandchild_dao.each_for_e = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 553 end line: 562 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 832 unit: great_grandchild_dao.each_for_g = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 578 end line: 587 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 833 unit: each = function() file: kong/spec/01-unit/01-db/01-schema/07-plugins_spec.lua start line: 44 end line: 52 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 834 unit: function DummyHandler:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/dummy/handler.lua start line: 16 end line: 26 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 835 unit: on_write = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/transformations/daos.lua start line: 20 end line: 28 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 836 unit: local process_span = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 106 end line: 114 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 837 unit: function deep_sort() file: kong/spec/helpers.lua start line: 1829 end line: 1838 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 838 unit: with_current_ws = function() file: kong/spec/helpers.lua start line: 3423 end line: 3431 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 839 unit: function _M:stop_kong() file: kong/spec/helpers/perf/drivers/docker.lua start line: 423 end line: 432 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 840 unit: function _M.runloop_log_before() file: kong/kong/tracing/instrumentation.lua start line: 261 end line: 272 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 841 unit: log_init_worker_errors = function() file: kong/kong/init.lua start line: 166 end line: 176 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 842 unit: function structpb_list() file: kong/kong/tools/protobuf.lua start line: 74 end line: 82 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 843 unit: __index = function() file: kong/kong/tools/sandbox.lua start line: 102 end line: 113 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 844 unit: function Channel:get() file: kong/kong/tools/channel.lua start line: 122 end line: 131 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 845 unit: function _M:set_handler() file: kong/kong/tools/wrpc/proto.lua start line: 140 end line: 150 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 846 unit: function _M.shallow_copy() file: kong/kong/tools/utils.lua start line: 614 end line: 622 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 847 unit: function _M.nginx_conf_time_to_seconds() file: kong/kong/tools/utils.lua start line: 1191 end line: 1201 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 848 unit: function _M.sort_by_handler_priority() file: kong/kong/tools/utils.lua start line: 1426 end line: 1434 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 849 unit: function structpb_list() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 40 end line: 48 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 850 unit: function lc.new() file: kong/kong/runloop/balancer/least_connections.lua start line: 185 end line: 197 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 851 unit: function balancer_mt:getPeer() file: kong/kong/runloop/balancer/balancers.lua start line: 562 end line: 572 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 852 unit: balancer.report_http_status = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 164 end line: 172 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 853 unit: balancer.report_tcp_failure = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 174 end line: 182 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 854 unit: balancer.report_timeout = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 184 end line: 192 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 855 unit: function healthcheckers_M.stop_healthcheckers() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 418 end line: 427 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 856 unit: __index = function() file: kong/kong/plugins/pre-function/_handler.lua start line: 74 end line: 85 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 857 unit: on_write = function() file: kong/kong/plugins/oauth2/daos.lua start line: 51 end line: 59 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 858 unit: function crypt.needs_rehash() file: kong/kong/plugins/oauth2/secret.lua start line: 334 end line: 344 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 859 unit: function storage:unlock() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 126 end line: 136 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 860 unit: request_per_user = function() file: kong/kong/plugins/statsd/log.lua start line: 149 end line: 158 size: 9 LOC McCabe index: 2 number of parameters: 5 id: 861 unit: function span_methods:finish() file: kong/kong/plugins/zipkin/span.lua start line: 83 end line: 91 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 862 unit: function ZipkinLogHandler:access() file: kong/kong/plugins/zipkin/handler.lua start line: 207 end line: 217 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 863 unit: function ZipkinLogHandler:header_filter() file: kong/kong/plugins/zipkin/handler.lua start line: 220 end line: 229 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 864 unit: function ZipkinLogHandler:body_filter() file: kong/kong/plugins/zipkin/handler.lua start line: 232 end line: 243 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 865 unit: function ZipkinLogHandler:preread() file: kong/kong/plugins/zipkin/handler.lua start line: 275 end line: 284 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 866 unit: function grpc_web:header_filter() file: kong/kong/plugins/grpc-web/handler.lua start line: 70 end line: 79 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 867 unit: usage = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 124 end line: 134 size: 9 LOC McCabe index: 2 number of parameters: 5 id: 868 unit: app.default_route = function() file: kong/kong/plugins/prometheus/serve.lua start line: 11 end line: 22 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 869 unit: find = function() file: kong/kong/plugins/rate-limiting/policies/cluster.lua start line: 22 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 870 unit: usage = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 132 end line: 142 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 871 unit: function _M.unbind_request() file: kong/kong/plugins/ldap-auth/ldap.lua start line: 101 end line: 113 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 872 unit: function _M.new() file: kong/kong/clustering/wrpc_data_plane.lua start line: 44 end line: 53 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 873 unit: function _M.new() file: kong/kong/clustering/control_plane.lua start line: 74 end line: 84 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 874 unit: function _M.new() file: kong/kong/clustering/data_plane.lua start line: 46 end line: 55 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 875 unit: function _M.new() file: kong/kong/clustering/wrpc_control_plane.lua start line: 103 end line: 113 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 876 unit: function Connector:get_stored_connection() file: kong/kong/db/strategies/connector.lua start line: 55 end line: 65 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 877 unit: match_all = function() file: kong/kong/db/schema/init.lua start line: 252 end line: 260 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 878 unit: match_none = function() file: kong/kong/db/schema/init.lua start line: 262 end line: 270 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 879 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 570 end line: 579 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 880 unit: function Schema:extract_pk_values() file: kong/kong/db/schema/init.lua start line: 2107 end line: 2117 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 881 unit: __call = function() file: kong/kong/db/schema/init.lua start line: 2413 end line: 2421 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 882 unit: fn = function() file: kong/kong/db/schema/entities/routes.lua start line: 49 end line: 59 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 883 unit: function declarative.export_from_db() file: kong/kong/db/declarative/init.lua start line: 520 end line: 532 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 884 unit: function declarative.export_config() file: kong/kong/db/declarative/init.lua start line: 559 end line: 570 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 885 unit: function declarative.export_config_proto() file: kong/kong/db/declarative/init.lua start line: 612 end line: 623 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 886 unit: function _M.default_route() file: kong/kong/api/api_helpers.lua start line: 480 end line: 491 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 887 unit: local strip_foreign_schemas = function() file: kong/kong/api/routes/kong.lua start line: 19 end line: 27 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 888 unit: GET = function() file: kong/kong/api/routes/clustering.lua start line: 14 end line: 23 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 889 unit: GET = function() file: kong/kong/api/routes/plugins.lua start line: 141 end line: 149 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 890 unit: function span_mt:release() file: kong/kong/pdk/tracing.lua start line: 337 end line: 348 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 891 unit: function self.set_active_span() file: kong/kong/pdk/tracing.lua start line: 408 end line: 418 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 892 unit: __index = function() file: kong/kong/pdk/service/response.lua start line: 46 end line: 55 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 893 unit: function response.get_raw_body() file: kong/kong/pdk/service/response.lua start line: 280 end line: 289 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 894 unit: function _M:select() file: kong/kong/router/init.lua start line: 22 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 10 id: 895 unit: split_port = function() file: kong/kong/router/traditional.lua start line: 155 end line: 164 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 896 unit: matchers[route_t.match_rules] = function() file: kong/kong/router/traditional.lua start line: 1039 end line: 1050 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 897 unit: request_uri = function() file: kong/spec/03-plugins/27-aws-lambda/07-iam-sts-credentials_spec.lua start line: 15 end line: 22 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 898 unit: request_uri = function() file: kong/spec/03-plugins/27-aws-lambda/03-iam-ec2-credentials_spec.lua start line: 15 end line: 22 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 899 unit: request_uri = function() file: kong/spec/03-plugins/27-aws-lambda/04-iam-ecs-credentials_spec.lua start line: 16 end line: 23 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 900 unit: _G.kong.response.add_header = function() file: kong/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua start line: 39 end line: 48 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 901 unit: local reports_send_stream_ping = function() file: kong/spec/02-integration/05-proxy/22-reports_spec.lua start line: 44 end line: 54 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 902 unit: r.query = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 40 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 903 unit: local x = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1647 end line: 1657 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 904 unit: get = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 287 end line: 294 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 905 unit: client.toip = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 1445 end line: 1452 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 906 unit: get = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 113 end line: 120 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 907 unit: local copyWheel = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 187 end line: 194 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 908 unit: get = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 249 end line: 256 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 909 unit: get = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 203 end line: 210 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 910 unit: get = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 204 end line: 211 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 911 unit: r.query = function() file: kong/spec/01-unit/14-dns_spec.lua start line: 83 end line: 91 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 912 unit: it = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 9 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 913 unit: POST = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/reports-api/api.lua start line: 7 end line: 17 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 914 unit: on_write = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/transformations/daos.lua start line: 32 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 915 unit: on_read = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/transformations/daos.lua start line: 40 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 916 unit: function ErrorHandlerLog:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-handler-log/handler.lua start line: 31 end line: 42 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 917 unit: function ShortCircuitHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/short-circuit/handler.lua start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 918 unit: function ShortCircuitHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/short-circuit/handler.lua start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 919 unit: invalidate_router = function() file: kong/spec/fixtures/balancer_utils.lua start line: 255 end line: 263 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 920 unit: local gen_entity_path = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 197 end line: 206 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 921 unit: local gen_update_method = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 216 end line: 223 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 922 unit: function request() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 333 end line: 343 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 923 unit: function SSL:send() file: kong/spec/helpers/ssl.lua start line: 258 end line: 266 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 924 unit: function _GLOBAL.init_cluster_events() file: kong/kong/global.lua start line: 220 end line: 227 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 925 unit: __index = function() file: kong/kong/cmd/utils/log.lua start line: 92 end line: 99 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 926 unit: function Kong.admin_content() file: kong/kong/init.lua start line: 1519 end line: 1528 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 927 unit: function _M:each_method() file: kong/kong/tools/grpc.lua start line: 131 end line: 139 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 928 unit: requires = function() file: kong/kong/tools/sandbox.lua start line: 60 end line: 67 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 929 unit: function Channel.new() file: kong/kong/tools/channel.lua start line: 89 end line: 96 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 930 unit: function _M.concat() file: kong/kong/tools/utils.lua start line: 652 end line: 659 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 931 unit: __index = function() file: kong/kong/globalpatches.lua start line: 245 end line: 252 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 932 unit: _G.ngx.socket.tcp = function() file: kong/kong/globalpatches.lua start line: 429 end line: 439 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 933 unit: _G.ngx.socket.udp = function() file: kong/kong/globalpatches.lua start line: 441 end line: 451 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 934 unit: function Rpc.new() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 29 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 935 unit: function get_field() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 128 end line: 136 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 936 unit: function get_step_method() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 185 end line: 193 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 937 unit: function lc:afterHostUpdate() file: kong/kong/runloop/balancer/least_connections.lua start line: 158 end line: 166 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 938 unit: self.callback = function() file: kong/kong/runloop/balancer/balancers.lua start line: 472 end line: 480 size: 8 LOC McCabe index: 2 number of parameters: 7 id: 939 unit: function upstreams_M.get_all_upstreams() file: kong/kong/runloop/balancer/upstreams.lua start line: 117 end line: 125 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 940 unit: function healthcheckers_M.unsubscribe_from_healthcheck_events() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 402 end line: 409 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 941 unit: function _M.build_cache_key() file: kong/kong/plugins/proxy-cache/cache_key.lua start line: 103 end line: 113 size: 8 LOC McCabe index: 1 number of parameters: 7 id: 942 unit: function M.injectUser() file: kong/kong/plugins/oidc/utils.lua start line: 129 end line: 136 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 943 unit: unique_users = function() file: kong/kong/plugins/statsd/log.lua start line: 140 end line: 148 size: 8 LOC McCabe index: 2 number of parameters: 5 id: 944 unit: function _M.execute() file: kong/kong/plugins/request-transformer/access.lua start line: 527 end line: 534 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 945 unit: function ZipkinLogHandler:rewrite() file: kong/kong/plugins/zipkin/handler.lua start line: 196 end line: 204 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 946 unit: encoder[TAG.INTEGER] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 155 end line: 162 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 947 unit: encoder[TAG.OCTET_STRING] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 165 end line: 172 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 948 unit: encoder[TAG.ENUMERATED] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 174 end line: 181 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 949 unit: function _M.store_session_data() file: kong/kong/plugins/session/session.lua start line: 63 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 4 id: 950 unit: function _M:init_cp_worker() file: kong/kong/clustering/init.lua start line: 96 end line: 115 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 951 unit: function _M:init_worker() file: kong/kong/clustering/data_plane.lua start line: 58 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 952 unit: function _M:primary_key_violation() file: kong/kong/db/errors.lua start line: 256 end line: 265 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 953 unit: function _M:unique_violation() file: kong/kong/db/errors.lua start line: 352 end line: 361 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 954 unit: function _M:not_found() file: kong/kong/db/errors.lua start line: 364 end line: 373 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 955 unit: function _M:not_found_by_field() file: kong/kong/db/errors.lua start line: 376 end line: 385 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 956 unit: function _M:declarative_config() file: kong/kong/db/errors.lua start line: 480 end line: 489 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 957 unit: teardown = function() file: kong/kong/db/migrations/core/012_213_to_220.lua start line: 107 end line: 115 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 958 unit: ws_add_ws_id = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 321 end line: 333 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 959 unit: function OffConnector:infos() file: kong/kong/db/strategies/off/connector.lua start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 960 unit: one_of = function() file: kong/kong/db/schema/init.lua start line: 291 end line: 298 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 961 unit: not_one_of = function() file: kong/kong/db/schema/init.lua start line: 300 end line: 307 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 962 unit: contains = function() file: kong/kong/db/schema/init.lua start line: 320 end line: 328 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 963 unit: sort_core_first = function() file: kong/kong/db/schema/topological_sort.lua start line: 19 end line: 28 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 964 unit: fn = function() file: kong/kong/db/schema/entities/certificates.lua start line: 29 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 965 unit: function MetaSchema.get_supported_validator_set() file: kong/kong/db/schema/metaschema.lua start line: 800 end line: 807 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 966 unit: check = function() file: kong/kong/db/schema/metaschema.lua start line: 838 end line: 847 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 967 unit: emit_entity = function() file: kong/kong/db/declarative/init.lua start line: 500 end line: 507 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 968 unit: function declarative.sanitize_output() file: kong/kong/db/declarative/init.lua start line: 1064 end line: 1072 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 969 unit: function _RESPONSE.add_header() file: kong/kong/pdk/response.lua start line: 440 end line: 453 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 970 unit: function _REQUEST.get_header() file: kong/kong/pdk/request.lua start line: 597 end line: 608 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 971 unit: function span_mt:record_error() file: kong/kong/pdk/tracing.lua start line: 309 end line: 317 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 972 unit: attach_resp_headers_mt = function() file: kong/kong/pdk/service/response.lua start line: 59 end line: 68 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 973 unit: function response.get_status() file: kong/kong/pdk/service/response.lua start line: 150 end line: 159 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 974 unit: request.enable_buffering = function() file: kong/kong/pdk/service/request.lua start line: 90 end line: 100 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 975 unit: request.set_raw_body = function() file: kong/kong/pdk/service/request.lua start line: 448 end line: 465 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 976 unit: function _CLIENT.get_ip() file: kong/kong/pdk/client.lua start line: 51 end line: 62 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 977 unit: function _CLIENT.get_port() file: kong/kong/pdk/client.lua start line: 109 end line: 120 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 978 unit: local reports_send_ping = function() file: kong/spec/02-integration/10-go_plugins/01-reports_spec.lua start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 979 unit: local check_balancer = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 195 end line: 201 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 980 unit: local copyWheel = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 220 end line: 226 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 981 unit: client.toip = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 983 end line: 989 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 982 unit: client.toip = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 1518 end line: 1524 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 983 unit: client.toip = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 785 end line: 791 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 984 unit: client.toip = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 1089 end line: 1095 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 985 unit: local callback = function() file: kong/spec/01-unit/23-vaults_spec.lua start line: 205 end line: 211 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 986 unit: __index = function() file: kong/spec/01-unit/08-router_spec.lua start line: 37 end line: 44 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 987 unit: query_func = function() file: kong/spec/01-unit/14-dns_spec.lua start line: 66 end line: 74 size: 7 LOC McCabe index: 2 number of parameters: 4 id: 988 unit: each = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 989 unit: delete = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 647 end line: 654 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 990 unit: check = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 1027 end line: 1033 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 991 unit: fn = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 2562 end line: 2568 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 992 unit: fn = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 2633 end line: 2639 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 993 unit: func() file: kong/spec/fixtures/go/go-hello.go start line: 72 end line: 79 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 994 unit: function Blueprint:insert() file: kong/spec/fixtures/blueprints.lua start line: 18 end line: 24 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 995 unit: function Blueprint:insert_ws() file: kong/spec/fixtures/blueprints.lua start line: 28 end line: 36 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 996 unit: function Blueprint:remove() file: kong/spec/fixtures/blueprints.lua start line: 39 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 997 unit: function Blueprint:update() file: kong/spec/fixtures/blueprints.lua start line: 48 end line: 54 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 998 unit: function Blueprint:insert_n() file: kong/spec/fixtures/blueprints.lua start line: 57 end line: 63 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 999 unit: function ReportsApiHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/reports-api/handler.lua start line: 6 end line: 12 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1000 unit: function SharedDict:add() file: kong/spec/fixtures/shm-stub.lua start line: 29 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1001 unit: function SharedDict:replace() file: kong/spec/fixtures/shm-stub.lua start line: 38 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1002 unit: get_upstream = function() file: kong/spec/fixtures/balancer_utils.lua start line: 218 end line: 224 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1003 unit: get_upstream_health = function() file: kong/spec/fixtures/balancer_utils.lua start line: 226 end line: 232 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1004 unit: get_balancer_health = function() file: kong/spec/fixtures/balancer_utils.lua start line: 234 end line: 240 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1005 unit: get_router_version = function() file: kong/spec/fixtures/balancer_utils.lua start line: 247 end line: 253 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1006 unit: function request() file: kong/spec/04-perf/02-flamegraph/01-simple_spec.lua start line: 29 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1007 unit: function request() file: kong/spec/04-perf/01-rps/01-simple_spec.lua start line: 28 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1008 unit: function request() file: kong/spec/04-perf/01-rps/04-simple_hybrid_spec.lua start line: 28 end line: 37 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1009 unit: local calc_duration = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 56 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1010 unit: local gen_create_method = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 208 end line: 214 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1011 unit: get_available_port = function() file: kong/spec/helpers.lua start line: 3473 end line: 3479 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1012 unit: function _M:save_pgdump() file: kong/spec/helpers/perf/drivers/docker.lua start line: 547 end line: 554 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1013 unit: function _M.save_error_log() file: kong/spec/helpers/perf.lua start line: 524 end line: 532 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1014 unit: function _GLOBAL.new() file: kong/kong/global.lua start line: 73 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1015 unit: function structpb_list() file: kong/kong/tools/protobuf.lua start line: 36 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1016 unit: function structpb_struct() file: kong/kong/tools/protobuf.lua start line: 44 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1017 unit: _M.validate_safe = function() file: kong/kong/tools/sandbox.lua start line: 188 end line: 196 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1018 unit: function _M:close() file: kong/kong/tools/wrpc/init.lua start line: 53 end line: 59 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1019 unit: function _M:error() file: kong/kong/tools/wrpc/future.lua start line: 82 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 1020 unit: function _M:wait() file: kong/kong/tools/wrpc/future.lua start line: 102 end line: 109 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1021 unit: function _M:pop() file: kong/kong/tools/wrpc/queue.lua start line: 20 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1022 unit: function _M:encode_args() file: kong/kong/tools/wrpc/proto.lua start line: 156 end line: 163 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1023 unit: ngx.sleep = function() file: kong/kong/globalpatches.lua start line: 64 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1024 unit: function SharedDict:replace() file: kong/kong/globalpatches.lua start line: 158 end line: 164 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1025 unit: function plugin_servers.load_plugin() file: kong/kong/runloop/plugin_servers/init.lua start line: 293 end line: 300 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1026 unit: function plugin_servers.load_schema() file: kong/kong/runloop/plugin_servers/init.lua start line: 302 end line: 309 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1027 unit: function msgpack.packers.userdata() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 7 end line: 13 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1028 unit: function structpb_list() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 127 end line: 133 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1029 unit: function structpb_struct() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 135 end line: 141 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1030 unit: after = function() file: kong/kong/runloop/handler.lua start line: 1258 end line: 1264 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1031 unit: function balancer_mt:eachAddress() file: kong/kong/runloop/balancer/balancers.lua start line: 269 end line: 275 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 1032 unit: RS256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 88 end line: 94 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1033 unit: RS384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 95 end line: 101 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1034 unit: RS512 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 102 end line: 108 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1035 unit: function _M:get() file: kong/kong/plugins/acme/storage/kong.lua start line: 64 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1036 unit: function _M:purge() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 85 end line: 92 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1037 unit: function _M:flush() file: kong/kong/plugins/proxy-cache/strategies/memory.lua start line: 130 end line: 139 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1038 unit: base64url_encode = function() file: kong/kong/plugins/oauth2/access.lua start line: 69 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1039 unit: function deco:frame() file: kong/kong/plugins/grpc-web/deco.lua start line: 168 end line: 176 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1040 unit: function statsd_mt:close_socket() file: kong/kong/plugins/datadog/statsd_logger.lua start line: 65 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1041 unit: app.handle_404 = function() file: kong/kong/plugins/prometheus/serve.lua start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1042 unit: local printable_metric_data = function() file: kong/kong/plugins/prometheus/api.lua start line: 3 end line: 12 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 1043 unit: function _ACLs:post_crud_event() file: kong/kong/plugins/acl/acls.lua start line: 29 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1044 unit: function storage.new() file: kong/kong/plugins/session/storage/kong.lua start line: 13 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1045 unit: function storage:insert_session() file: kong/kong/plugins/session/storage/kong.lua start line: 47 end line: 53 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1046 unit: function storage:destroy() file: kong/kong/plugins/session/storage/kong.lua start line: 75 end line: 82 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1047 unit: function _M.get_negotiated_service() file: kong/kong/clustering/services/negotiation.lua start line: 324 end line: 330 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1048 unit: function workspaces.get_workspace_id() file: kong/kong/workspaces/init.lua start line: 42 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1049 unit: function _M:invalid_primary_key() file: kong/kong/db/errors.lua start line: 185 end line: 193 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1050 unit: function _M:invalid_foreign_key() file: kong/kong/db/errors.lua start line: 196 end line: 204 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1051 unit: function _M:invalid_unique() file: kong/kong/db/errors.lua start line: 424 end line: 431 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1052 unit: function _M:invalid_workspace() file: kong/kong/db/errors.lua start line: 492 end line: 500 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1053 unit: function _M:invalid_unique_global() file: kong/kong/db/errors.lua start line: 503 end line: 510 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1054 unit: function DB:init_worker() file: kong/kong/db/init.lua start line: 162 end line: 173 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1055 unit: function DB:connect() file: kong/kong/db/init.lua start line: 176 end line: 183 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1056 unit: function DB:setkeepalive() file: kong/kong/db/init.lua start line: 186 end line: 193 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1057 unit: function DB:close() file: kong/kong/db/init.lua start line: 196 end line: 203 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1058 unit: function DB:reset() file: kong/kong/db/init.lua start line: 206 end line: 213 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1059 unit: function _mt:truncate() file: kong/kong/db/strategies/postgres/init.lua start line: 547 end line: 553 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1060 unit: function _mt:schema_reset() file: kong/kong/db/strategies/postgres/connector.lua start line: 803 end line: 810 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1061 unit: local unsupported = function() file: kong/kong/db/strategies/off/init.lua start line: 263 end line: 269 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1062 unit: local unsupported_by = function() file: kong/kong/db/strategies/off/init.lua start line: 271 end line: 277 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1063 unit: function _SNIs:update() file: kong/kong/db/dao/snis.lua start line: 131 end line: 138 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1064 unit: function _SNIs:update_by_name() file: kong/kong/db/dao/snis.lua start line: 142 end line: 149 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1065 unit: function _SNIs:upsert() file: kong/kong/db/dao/snis.lua start line: 153 end line: 160 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1066 unit: function _SNIs:upsert_by_name() file: kong/kong/db/dao/snis.lua start line: 164 end line: 171 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1067 unit: function _TARGETS:delete_by_target() file: kong/kong/db/dao/targets.lua start line: 113 end line: 120 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1068 unit: function _TARGETS:get_balancer_health() file: kong/kong/db/dao/targets.lua start line: 332 end line: 339 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1069 unit: function Plugins:insert() file: kong/kong/db/dao/plugins.lua start line: 82 end line: 88 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1070 unit: function Plugins:upsert() file: kong/kong/db/dao/plugins.lua start line: 105 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1071 unit: eq = function() file: kong/kong/db/schema/init.lua start line: 196 end line: 202 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1072 unit: ne = function() file: kong/kong/db/schema/init.lua start line: 204 end line: 210 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1073 unit: match = function() file: kong/kong/db/schema/init.lua start line: 231 end line: 237 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1074 unit: not_match = function() file: kong/kong/db/schema/init.lua start line: 244 end line: 250 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1075 unit: __index = function() file: kong/kong/db/schema/init.lua start line: 1344 end line: 1350 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1076 unit: on_write = function() file: kong/kong/db/schema/entities/ca_certificates.lua start line: 20 end line: 26 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1077 unit: function _M.marshall() file: kong/kong/db/declarative/marshaller.lua start line: 11 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1078 unit: function _M.unmarshall() file: kong/kong/db/declarative/marshaller.lua start line: 22 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1079 unit: emit_entity = function() file: kong/kong/db/declarative/init.lua start line: 540 end line: 546 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 1080 unit: local wrapped_handler = function() file: kong/kong/api/api_helpers.lua start line: 442 end line: 449 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 1081 unit: function _M.is_new_db_routes() file: kong/kong/api/api_helpers.lua start line: 518 end line: 524 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 1082 unit: function multipart_mt:__index() file: kong/kong/api/arguments.lua start line: 42 end line: 49 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1083 unit: function _M:server_time() file: kong/kong/cluster_events/strategies/postgres.lua start line: 184 end line: 191 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1084 unit: function _M:server_time() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 149 end line: 156 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 1085 unit: function deprecation.init() file: kong/kong/deprecation.lua start line: 46 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1086 unit: service.set_tls_verify = function() file: kong/kong/pdk/service.lua start line: 174 end line: 182 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1087 unit: service.set_tls_verify_depth = function() file: kong/kong/pdk/service.lua start line: 202 end line: 210 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1088 unit: service.set_tls_verify_store = function() file: kong/kong/pdk/service.lua start line: 237 end line: 245 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1089 unit: function checks.normalize_header() file: kong/kong/pdk/private/checks.lua start line: 33 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1090 unit: [5] = function() file: kong/kong/pdk/log.lua start line: 158 end line: 164 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 1091 unit: request.set_raw_query = function() file: kong/kong/pdk/service/request.lua start line: 169 end line: 177 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1092 unit: request.clear_header = function() file: kong/kong/pdk/service/request.lua start line: 363 end line: 371 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 1093 unit: [CONTENT_TYPE_JSON] = function() file: kong/kong/pdk/service/request.lua start line: 486 end line: 493 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 1094 unit: get = function() file: kong/spec/02-integration/04-admin_api/15-off_spec.lua start line: 1067 end line: 1073 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1095 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 934 end line: 939 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 1096 unit: get = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 34 end line: 39 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1097 unit: local updateWheelState = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 228 end line: 233 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 1098 unit: get = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1099 unit: get = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 35 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1100 unit: get = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 32 end line: 37 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1101 unit: get = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 30 end line: 35 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1102 unit: __index = function() file: kong/spec/01-unit/08-router_spec.lua start line: 2935 end line: 2940 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1103 unit: get = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1104 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 273 end line: 279 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1105 unit: local check = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 963 end line: 968 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1106 unit: func = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3772 end line: 3777 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1107 unit: func = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3799 end line: 3804 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1108 unit: func = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3828 end line: 3833 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1109 unit: func = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3856 end line: 3861 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1110 unit: function WorkerEventsHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/worker-events/handler.lua start line: 51 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1111 unit: function DummyHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/dummy/handler.lua start line: 7 end line: 13 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1112 unit: function FailOnceAuth:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/fail-once-auth/handler.lua start line: 10 end line: 15 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1113 unit: __index = function() file: kong/spec/fixtures/shm-stub.lua start line: 94 end line: 99 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1114 unit: bp.done = function() file: kong/spec/fixtures/dc_blueprints.lua start line: 80 end line: 85 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1115 unit: gen_port = function() file: kong/spec/fixtures/balancer_utils.lua start line: 280 end line: 285 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1116 unit: patch_api = function() file: kong/spec/fixtures/balancer_utils.lua start line: 372 end line: 377 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 1117 unit: function stress_generator.is_running() file: kong/spec/fixtures/stress_generator.lua start line: 24 end line: 30 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1118 unit: function request() file: kong/spec/04-perf/02-flamegraph/05-prometheus.lua start line: 28 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1119 unit: function request() file: kong/spec/04-perf/01-rps/05-prometheus.lua start line: 27 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1120 unit: local gen_get_method = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 225 end line: 230 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1121 unit: local gen_delete_method = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 232 end line: 237 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1122 unit: get = function() file: kong/spec/helpers.lua start line: 201 end line: 207 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1123 unit: res.read_body = function() file: kong/spec/helpers.lua start line: 685 end line: 690 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1124 unit: function SSL:close() file: kong/spec/helpers/ssl.lua start line: 268 end line: 273 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1125 unit: alias = function() file: kong/kong/conf_loader/init.lua start line: 430 end line: 435 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1126 unit: function _GLOBAL.reset_log() file: kong/kong/global.lua start line: 148 end line: 154 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1127 unit: function _GLOBAL.init_pdk() file: kong/kong/global.lua start line: 158 end line: 164 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1128 unit: function _M.disable() file: kong/kong/cmd/utils/log.lua start line: 37 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1129 unit: enabled = function() file: kong/kong/tools/sandbox.lua start line: 48 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1130 unit: sandbox_enabled = function() file: kong/kong/tools/sandbox.lua start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1131 unit: ["require"] = function() file: kong/kong/tools/sandbox.lua start line: 77 end line: 83 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1132 unit: function _M:send() file: kong/kong/tools/wrpc/init.lua start line: 62 end line: 68 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1133 unit: function _M.is_valid_uuid() file: kong/kong/tools/utils.lua start line: 261 end line: 266 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1134 unit: function SharedDict:delete() file: kong/kong/globalpatches.lua start line: 165 end line: 170 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1135 unit: function Rpc:notification() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 277 end line: 282 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1136 unit: function targets_M.fetch_targets() file: kong/kong/runloop/balancer/targets.lua start line: 126 end line: 132 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1137 unit: function targets_M.resolve_targets() file: kong/kong/runloop/balancer/targets.lua start line: 135 end line: 141 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1138 unit: function balancer_mt:disableAddress() file: kong/kong/runloop/balancer/balancers.lua start line: 317 end line: 323 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1139 unit: function balancer_mt:afterHostUpdate() file: kong/kong/runloop/balancer/balancers.lua start line: 548 end line: 554 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1140 unit: function get_current_suffix() file: kong/kong/reports.lua start line: 273 end line: 279 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1141 unit: hash = function() file: kong/kong/plugins/basic-auth/crypto.lua start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 1142 unit: __index = function() file: kong/kong/plugins/acme/handler.lua start line: 44 end line: 49 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1143 unit: function _M.new() file: kong/kong/plugins/acme/storage/kong.lua start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1144 unit: function _M:set() file: kong/kong/plugins/acme/storage/kong.lua start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1145 unit: local process = function() file: kong/kong/plugins/http-log/handler.lua start line: 159 end line: 164 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1146 unit: function ResponseRateLimitingHandler:log() file: kong/kong/plugins/response-ratelimiting/handler.lua start line: 22 end line: 27 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1147 unit: function _M.execute() file: kong/kong/plugins/response-ratelimiting/log.lua start line: 22 end line: 27 size: 6 LOC McCabe index: 2 number of parameters: 5 id: 1148 unit: PUT = function() file: kong/kong/plugins/acl/api.lua start line: 52 end line: 58 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 1149 unit: function _M.retrieve_session_data() file: kong/kong/plugins/session/session.lua start line: 49 end line: 55 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1150 unit: function _M:init_worker() file: kong/kong/clustering/wrpc_data_plane.lua start line: 57 end line: 65 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1151 unit: function _M.new() file: kong/kong/db/errors.lua start line: 176 end line: 182 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 1152 unit: function _M:invalid_size() file: kong/kong/db/errors.lua start line: 415 end line: 421 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1153 unit: function _M:operation_unsupported() file: kong/kong/db/errors.lua start line: 471 end line: 477 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1154 unit: function normalize_regex() file: kong/kong/db/migrations/migrate_path_280_300.lua start line: 66 end line: 72 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1155 unit: __index = function() file: kong/kong/db/strategies/init.lua start line: 39 end line: 46 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1156 unit: function Connector:get_page_size() file: kong/kong/db/strategies/connector.lua start line: 27 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1157 unit: function _mt:get_stored_connection() file: kong/kong/db/strategies/postgres/connector.lua start line: 280 end line: 285 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1158 unit: between = function() file: kong/kong/db/schema/init.lua start line: 189 end line: 194 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1159 unit: gt = function() file: kong/kong/db/schema/init.lua start line: 212 end line: 217 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1160 unit: starts_with = function() file: kong/kong/db/schema/init.lua start line: 283 end line: 289 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1161 unit: uuid = function() file: kong/kong/db/schema/init.lua start line: 313 end line: 318 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1162 unit: __index = function() file: kong/kong/db/schema/init.lua start line: 1467 end line: 1472 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1163 unit: function _REQUEST.get_raw_path() file: kong/kong/pdk/request.lua start line: 416 end line: 422 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 1164 unit: function span_mt:set_status() file: kong/kong/pdk/tracing.lua start line: 327 end line: 333 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1165 unit: function self.active_span() file: kong/kong/pdk/tracing.lua start line: 395 end line: 401 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 1166 unit: function self.start_span() file: kong/kong/pdk/tracing.lua start line: 427 end line: 433 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 1167 unit: [4] = function() file: kong/kong/pdk/log.lua start line: 151 end line: 156 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 1168 unit: _M.hostnameType = function() file: kong/kong/resty/dns/utils.lua start line: 310 end line: 315 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 1169 unit: [MATCH_RULES.METHOD] = function() file: kong/kong/router/traditional.lua start line: 997 end line: 1002 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1170 unit: [MATCH_RULES.SNI] = function() file: kong/kong/router/traditional.lua start line: 1004 end line: 1009 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 1171 unit: reduce = function() file: kong/kong/router/traditional.lua start line: 1130 end line: 1138 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 1172 unit: def setVersionToArtifact() file: stages/GetVersionDockerApplication.groovy start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1173 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1638 end line: 1643 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1174 unit: local x = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1720 end line: 1727 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1175 unit: post = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 69 end line: 73 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1176 unit: local table_size = function() file: kong/spec/01-unit/06-timestamp_spec.lua start line: 5 end line: 9 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1177 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 194 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1178 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 219 end line: 224 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1179 unit: connector.get_stored_connection = function() file: kong/spec/01-unit/01-db/06-postgres_spec.lua start line: 131 end line: 135 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1180 unit: connector.get_stored_connection = function() file: kong/spec/01-unit/01-db/06-postgres_spec.lua start line: 201 end line: 205 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1181 unit: func = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3746 end line: 3750 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1182 unit: post = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1183 unit: GET = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/admin-api-method/api.lua start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1184 unit: function DummyHandler:body_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/dummy/handler.lua start line: 29 end line: 33 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1185 unit: function ErrorHandlerLog:body_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-handler-log/handler.lua start line: 45 end line: 49 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1186 unit: function ErrorGeneratorLastHandler:certificate() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 14 end line: 18 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1187 unit: function ErrorGeneratorLastHandler:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 21 end line: 25 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1188 unit: function ErrorGeneratorLastHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 28 end line: 32 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1189 unit: function ErrorGeneratorLastHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 36 end line: 40 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1190 unit: function ErrorGeneratorLastHandler:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 43 end line: 47 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1191 unit: function ErrorGeneratorLastHandler:body_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 50 end line: 54 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1192 unit: function ErrorGeneratorLastHandler:log() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 57 end line: 61 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1193 unit: function Invalidations:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/invalidations/handler.lua start line: 14 end line: 18 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1194 unit: function ErrorGeneratorHandler:certificate() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 14 end line: 18 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1195 unit: function ErrorGeneratorHandler:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 21 end line: 25 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1196 unit: function ErrorGeneratorHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 28 end line: 32 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1197 unit: function ErrorGeneratorHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 35 end line: 39 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1198 unit: function ErrorGeneratorHandler:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 42 end line: 46 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1199 unit: function ErrorGeneratorHandler:body_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 49 end line: 53 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1200 unit: function ErrorGeneratorHandler:log() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 56 end line: 60 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1201 unit: function SharedDict:delete() file: kong/spec/fixtures/shm-stub.lua start line: 47 end line: 51 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1202 unit: function SharedDict:flush_all() file: kong/spec/fixtures/shm-stub.lua start line: 68 end line: 72 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1203 unit: local mod_request_id = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1204 unit: function init() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 326 end line: 331 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1205 unit: local feed_test_data = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 357 end line: 363 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1206 unit: get_plugins_list = function() file: kong/spec/helpers.lua start line: 3468 end line: 3472 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1207 unit: function _M:save_error_log() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 690 end line: 694 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1208 unit: function _M:save_pgdump() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 696 end line: 700 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1209 unit: function _M.start_worker() file: kong/spec/helpers/perf.lua start line: 194 end line: 198 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1210 unit: function _M.set_lvl() file: kong/kong/cmd/utils/log.lua start line: 31 end line: 35 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1211 unit: function Kong.exit_worker() file: kong/kong/init.lua start line: 766 end line: 770 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1212 unit: function Kong.serve_cluster_listener() file: kong/kong/init.lua start line: 1579 end line: 1585 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1213 unit: function Kong.serve_wrpc_listener() file: kong/kong/init.lua start line: 1588 end line: 1594 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1214 unit: env_vars = function() file: kong/kong/tools/sandbox.lua start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1215 unit: _M.validate = function() file: kong/kong/tools/sandbox.lua start line: 178 end line: 183 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1216 unit: function _M:call_no_return() file: kong/kong/tools/wrpc/init.lua start line: 145 end line: 149 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 1217 unit: function _M:done() file: kong/kong/tools/wrpc/future.lua start line: 73 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1218 unit: function _M.new() file: kong/kong/tools/wrpc/queue.lua start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1219 unit: function time_ns() file: kong/kong/tools/utils.lua start line: 1460 end line: 1466 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1220 unit: function SharedDict:flush_all() file: kong/kong/globalpatches.lua start line: 190 end line: 194 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1221 unit: ["kong.nginx.get_ctx"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1222 unit: ["kong.nginx.set_ctx"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1223 unit: ["kong.ctx.shared.get"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1224 unit: ["kong.ctx.shared.set"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 57 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1225 unit: function Rpc:call_close_instance() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 376 end line: 380 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1226 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1267 end line: 1271 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1227 unit: function upstreams_M.init() file: kong/kong/runloop/balancer/upstreams.lua start line: 34 end line: 38 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1228 unit: function upstreams_M.get_upstream_by_id() file: kong/kong/runloop/balancer/upstreams.lua start line: 74 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1229 unit: RS256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1230 unit: RS384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1231 unit: RS512 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1232 unit: check = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 337 end line: 341 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1233 unit: check = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 345 end line: 349 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1234 unit: function M.exit() file: kong/kong/plugins/oidc/utils.lua start line: 114 end line: 118 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1235 unit: function span_methods:each_tag() file: kong/kong/plugins/zipkin/span.lua start line: 114 end line: 118 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1236 unit: function span_methods:each_baggage_item() file: kong/kong/plugins/zipkin/span.lua start line: 140 end line: 144 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 1237 unit: local get_local_key = function() file: kong/kong/plugins/response-ratelimiting/policies/init.lua start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 1238 unit: local get_local_key = function() file: kong/kong/plugins/rate-limiting/policies/init.lua start line: 40 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 1239 unit: local sorted_keys = function() file: kong/kong/db/errors.lua start line: 19 end line: 23 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1240 unit: function DB:set_events_handler() file: kong/kong/db/init.lua start line: 241 end line: 245 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 1241 unit: function DB:schema_state() file: kong/kong/db/init.lua start line: 429 end line: 433 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1242 unit: function CassandraConnector:truncate_table() file: kong/kong/db/strategies/cassandra/connector.lua start line: 692 end line: 697 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1243 unit: self[method] = function() file: kong/kong/db/strategies/off/init.lua start line: 314 end line: 318 size: 5 LOC McCabe index: 1 number of parameters: 5 id: 1244 unit: function Entity.new_subschema() file: kong/kong/db/schema/entity.lua start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1245 unit: emit_toplevel = function() file: kong/kong/db/declarative/init.lua start line: 585 end line: 589 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1246 unit: function sha256() file: kong/kong/db/declarative/init.lua start line: 642 end line: 646 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1247 unit: routes[route_pattern]["methods"][method] = function() file: kong/kong/api/init.lua start line: 70 end line: 74 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1248 unit: POST = function() file: kong/kong/api/routes/kong.lua start line: 169 end line: 174 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1249 unit: DELETE = function() file: kong/kong/api/routes/cache.lua start line: 32 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 1250 unit: DELETE = function() file: kong/kong/api/routes/cache.lua start line: 41 end line: 46 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 1251 unit: POST = function() file: kong/kong/api/routes/upstreams.lua start line: 168 end line: 172 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 1252 unit: [3] = function() file: kong/kong/pdk/log.lua start line: 145 end line: 149 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 1253 unit: void call() file: upgrade-scripts/pre-upgrade/one-time/RemoveClusterRoleBinding.groovy start line: 1 end line: 5 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1254 unit: gen_uuid = function() file: kong/autodoc/admin-api/generate.lua start line: 208 end line: 211 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1255 unit: local get_local_key = function() file: kong/spec/03-plugins/23-rate-limiting/02-policies_spec.lua start line: 5 end line: 8 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1256 unit: get_name = function() file: kong/spec/02-integration/04-admin_api/06-certificates_routes_spec.lua start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1257 unit: gensym = function() file: kong/spec/02-integration/04-admin_api/03-consumers_routes_spec.lua start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1258 unit: get_name = function() file: kong/spec/02-integration/05-proxy/10-balancer/01-healthchecks_spec.lua start line: 514 end line: 517 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1259 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 839 end line: 842 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1260 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 887 end line: 890 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1261 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1497 end line: 1500 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1262 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1572 end line: 1575 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1263 unit: local x = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 1783 end line: 1789 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1264 unit: safe_set = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1265 unit: callback = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 787 end line: 793 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 1266 unit: safe_set = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1267 unit: callback = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 583 end line: 589 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 1268 unit: safe_set = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1269 unit: wait = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 65 end line: 68 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1270 unit: local f = function() file: kong/spec/01-unit/19-hooks_spec.lua start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1271 unit: lines = function() file: kong/spec/01-unit/19-hybrid/05-wrpc/proto_spec.lua start line: 10 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1272 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 300 end line: 303 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1273 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 352 end line: 355 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1274 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 375 end line: 378 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1275 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 398 end line: 401 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1276 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 421 end line: 424 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1277 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 444 end line: 447 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1278 unit: update = function() file: kong/spec/01-unit/01-db/09-no_broadcast_crud_event_spec.lua start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1279 unit: update = function() file: kong/spec/01-unit/01-db/09-no_broadcast_crud_event_spec.lua start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1280 unit: function Blueprint:build() file: kong/spec/fixtures/blueprints.lua start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1281 unit: function Sequence:next() file: kong/spec/fixtures/blueprints.lua start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1282 unit: GET = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/api-override/api.lua start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1283 unit: POST = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/api-override/api.lua start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1284 unit: GET = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/api-override/api.lua start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1285 unit: function SharedDict:set() file: kong/spec/fixtures/shm-stub.lua start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1286 unit: gen_sym = function() file: kong/spec/fixtures/balancer_utils.lua start line: 173 end line: 176 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1287 unit: patch_upstream = function() file: kong/spec/fixtures/balancer_utils.lua start line: 213 end line: 216 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1288 unit: put_target_address_health = function() file: kong/spec/fixtures/balancer_utils.lua start line: 242 end line: 245 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 1289 unit: gen_multi_host = function() file: kong/spec/fixtures/balancer_utils.lua start line: 290 end line: 293 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1290 unit: function setup() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 321 end line: 324 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1291 unit: resty_http_proxy_mt[method_name] = function() file: kong/spec/helpers.lua start line: 700 end line: 703 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1292 unit: function _M.setup_kong() file: kong/spec/helpers/perf.lua start line: 235 end line: 238 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1293 unit: function _M.teardown() file: kong/spec/helpers/perf.lua start line: 245 end line: 248 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1294 unit: function _M.enable() file: kong/kong/cmd/utils/log.lua start line: 44 end line: 47 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1295 unit: function _M.set_patch_dns_query_fn() file: kong/kong/tracing/instrumentation.lua start line: 246 end line: 249 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1296 unit: function Channel.put_back() file: kong/kong/tools/channel.lua start line: 158 end line: 161 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1297 unit: function _M:call() file: kong/kong/tools/wrpc/init.lua start line: 120 end line: 123 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1298 unit: function _M:call_async() file: kong/kong/tools/wrpc/init.lua start line: 133 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1299 unit: function _M:push() file: kong/kong/tools/wrpc/queue.lua start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1300 unit: function() file: kong/kong/tools/utils.lua start line: 1218 end line: 1221 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1301 unit: local timeout = function() file: kong/kong/tools/kong-lua-sandbox.lua start line: 153 end line: 156 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1302 unit: local alternative_sleep = function() file: kong/kong/globalpatches.lua start line: 50 end line: 57 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1303 unit: function SharedDict:set() file: kong/kong/globalpatches.lua start line: 135 end line: 138 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1304 unit: ["kong.log.serialize"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1305 unit: ["kong.request.get_headers"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 63 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1306 unit: ["kong.response.get_status"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1307 unit: ["kong.response.get_headers"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 87 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1308 unit: ["kong.response.get_source"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 106 end line: 109 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1309 unit: function reset_instance() file: kong/kong/runloop/plugin_servers/init.lua start line: 209 end line: 212 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1310 unit: function balancers_M.init() file: kong/kong/runloop/balancer/balancers.lua start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1311 unit: function balancers_M.get_upstream() file: kong/kong/runloop/balancer/balancers.lua start line: 68 end line: 71 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1312 unit: function upstreams_M.setUpstream_by_name() file: kong/kong/runloop/balancer/upstreams.lua start line: 160 end line: 163 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1313 unit: PATCH = function() file: kong/kong/plugins/acme/api.lua start line: 112 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1314 unit: ["uuid#counter"] = function() file: kong/kong/plugins/correlation-id/handler.lua start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1315 unit: function CorrelationIdHandler:init_worker() file: kong/kong/plugins/correlation-id/handler.lua start line: 49 end line: 52 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1316 unit: base64url_decode = function() file: kong/kong/plugins/oauth2/access.lua start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1317 unit: function M.injectIDToken() file: kong/kong/plugins/oidc/utils.lua start line: 124 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1318 unit: function storage:set_keepalive() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 88 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1319 unit: function storage:set() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 154 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1320 unit: function storage:expire() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 159 end line: 162 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1321 unit: function storage:delete() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 164 end line: 167 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1322 unit: service_name_or_host = function() file: kong/kong/plugins/statsd/log.lua start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1323 unit: workspace_name = function() file: kong/kong/plugins/statsd/log.lua start line: 133 end line: 136 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1324 unit: status_count = function() file: kong/kong/plugins/statsd/log.lua start line: 159 end line: 162 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 1325 unit: function Prometheus:collect() file: kong/kong/plugins/prometheus/prometheus.lua start line: 938 end line: 941 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1326 unit: function Prometheus:log_error() file: kong/kong/plugins/prometheus/prometheus.lua start line: 944 end line: 947 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1327 unit: function Prometheus:log_error_kv() file: kong/kong/plugins/prometheus/prometheus.lua start line: 950 end line: 953 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1328 unit: function storage:get() file: kong/kong/plugins/session/storage/kong.lua start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1329 unit: function _M.init_negotiation_client() file: kong/kong/clustering/services/negotiation.lua start line: 333 end line: 336 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1330 unit: function _M.__test_set_serivces() file: kong/kong/clustering/services/negotiation.lua start line: 343 end line: 346 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1331 unit: __tostring = function() file: kong/kong/meta.lua start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1332 unit: function workspaces.get_workspace() file: kong/kong/workspaces/init.lua start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1333 unit: function _M:database_error() file: kong/kong/db/errors.lua start line: 403 end line: 406 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1334 unit: function _M:transformation_error() file: kong/kong/db/errors.lua start line: 409 end line: 412 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1335 unit: function Connector:connect_migrations() file: kong/kong/db/strategies/connector.lua start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1336 unit: function Connector:schema_migrations() file: kong/kong/db/strategies/connector.lua start line: 130 end line: 133 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1337 unit: function Connector:schema_bootstrap() file: kong/kong/db/strategies/connector.lua start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1338 unit: function Connector:schema_reset() file: kong/kong/db/strategies/connector.lua start line: 142 end line: 145 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1339 unit: function Connector:run_up_migration() file: kong/kong/db/strategies/connector.lua start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1340 unit: function Connector:record_migration() file: kong/kong/db/strategies/connector.lua start line: 159 end line: 162 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1341 unit: add_statement = function() file: kong/kong/db/strategies/postgres/init.lua start line: 1105 end line: 1108 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1342 unit: function Tags:page_by_tag() file: kong/kong/db/strategies/off/tags.lua start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1343 unit: function _TARGETS:upsert_by_target() file: kong/kong/db/dao/targets.lua start line: 89 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1344 unit: is_regex = function() file: kong/kong/db/schema/init.lua start line: 239 end line: 242 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1345 unit: schema_to_jsonable = function() file: kong/kong/api/api_helpers.lua start line: 221 end line: 224 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1346 unit: PUT = function() file: kong/kong/api/routes/certificates.lua start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1347 unit: PATCH = function() file: kong/kong/api/routes/certificates.lua start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 1348 unit: function arguments_mt:__index() file: kong/kong/api/arguments.lua start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 1349 unit: function OffStrategy:select_interval() file: kong/kong/cluster_events/strategies/off.lua start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1350 unit: remove_sensitive = function() file: kong/kong/pdk/init.lua start line: 236 end line: 239 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1351 unit: function _RESPONSE.get_status() file: kong/kong/pdk/response.lua start line: 185 end line: 189 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1352 unit: function _REQUEST.get_scheme() file: kong/kong/pdk/request.lua start line: 76 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1353 unit: function _REQUEST.get_host() file: kong/kong/pdk/request.lua start line: 94 end line: 98 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1354 unit: function _REQUEST.get_port() file: kong/kong/pdk/request.lua start line: 112 end line: 116 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1355 unit: function _REQUEST.get_http_version() file: kong/kong/pdk/request.lua start line: 344 end line: 348 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1356 unit: function _REQUEST.get_path_with_query() file: kong/kong/pdk/request.lua start line: 436 end line: 439 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1357 unit: function _REQUEST.get_raw_query() file: kong/kong/pdk/request.lua start line: 454 end line: 458 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1358 unit: function _REQUEST.get_start_time() file: kong/kong/pdk/request.lua start line: 838 end line: 842 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1359 unit: function _ROUTER.get_route() file: kong/kong/pdk/router.lua start line: 36 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1360 unit: function _ROUTER.get_service() file: kong/kong/pdk/router.lua start line: 56 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1361 unit: [2] = function() file: kong/kong/pdk/log.lua start line: 140 end line: 143 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 1362 unit: request.disable_tls = function() file: kong/kong/pdk/service/request.lua start line: 690 end line: 694 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1363 unit: function _TLS.request_client_certificate() file: kong/kong/pdk/client/tls.lua start line: 60 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1364 unit: function _TLS.disable_session_reuse() file: kong/kong/pdk/client/tls.lua start line: 81 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1365 unit: function _TLS.get_full_client_certificate_chain() file: kong/kong/pdk/client/tls.lua start line: 111 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1366 unit: function _CLIENT.get_forwarded_ip() file: kong/kong/pdk/client.lua start line: 91 end line: 95 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1367 unit: function _CLIENT.get_forwarded_port() file: kong/kong/pdk/client.lua start line: 142 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1368 unit: function _CLIENT.get_credential() file: kong/kong/pdk/client.lua start line: 162 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1369 unit: function _CLIENT.get_consumer() file: kong/kong/pdk/client.lua start line: 228 end line: 232 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 1370 unit: lshift_uint64 = function() file: kong/kong/router/atc_compat.lua start line: 286 end line: 289 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1371 unit: [MATCH_RULES.SRC] = function() file: kong/kong/router/traditional.lua start line: 1081 end line: 1084 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1372 unit: [MATCH_RULES.DST] = function() file: kong/kong/router/traditional.lua start line: 1086 end line: 1089 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 1373 unit: private String getGitserverSpecField() file: stages/GitserversInit.groovy start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1374 unit: subs = setmetatable() file: kong/autodoc/admin-api/generate.lua start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1375 unit: reset_uuid = function() file: kong/autodoc/admin-api/generate.lua start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1376 unit: get = function() file: kong/spec/03-plugins/29-acme/01-client_spec.lua start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 6 id: 1377 unit: local hmac_sha1_binary = function() file: kong/spec/03-plugins/19-hmac-auth/03-access_spec.lua start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1378 unit: os.getenv = function() file: kong/spec/03-plugins/27-aws-lambda/04-iam-ecs-credentials_spec.lua start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1379 unit: __index = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1380 unit: local pb_encode_span = function() file: kong/spec/03-plugins/37-opentelemetry/01-otlp_spec.lua start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1381 unit: local pb_decode_span = function() file: kong/spec/03-plugins/37-opentelemetry/01-otlp_spec.lua start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1382 unit: function validate() file: kong/spec/03-plugins/03-http-log/02-schema_spec.lua start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1383 unit: _G.ngx.resp.get_headers = function() file: kong/spec/03-plugins/15-response-transformer/01-header_transformer_spec.lua start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1384 unit: ngx.log = function() file: kong/spec/02-integration/09-hybrid_mode/07-wrpc_spec.lua start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1385 unit: write = function() file: kong/spec/02-integration/03-db/08-declarative_spec.lua start line: 291 end line: 293 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1386 unit: write = function() file: kong/spec/02-integration/03-db/08-declarative_spec.lua start line: 426 end line: 428 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1387 unit: local cb = function() file: kong/spec/02-integration/06-invalidations/01-cluster_events_spec.lua start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1388 unit: wait_for_propagation = function() file: kong/spec/02-integration/06-invalidations/02-core_entities_invalidations_spec.lua start line: 1318 end line: 1320 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1389 unit: set_header = function() file: kong/spec/01-unit/26-tracing/02-propagation_spec.lua start line: 603 end line: 605 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1390 unit: warn = function() file: kong/spec/01-unit/26-tracing/02-propagation_spec.lua start line: 612 end line: 614 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1391 unit: os.getenv = function() file: kong/spec/01-unit/21-dns-client/01-utils_spec.lua start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1392 unit: local dump = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1393 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1394 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1395 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 284 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1396 unit: __index = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 425 end line: 428 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1397 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 464 end line: 466 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1398 unit: local dump = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1399 unit: query_func = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1400 unit: r.query = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1401 unit: utils.get_system_trusted_certs_filepath = function() file: kong/spec/01-unit/03-conf_loader_spec.lua start line: 831 end line: 833 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1402 unit: pl_path.exists = function() file: kong/spec/01-unit/03-conf_loader_spec.lua start line: 834 end line: 836 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1403 unit: pl_path.exists = function() file: kong/spec/01-unit/03-conf_loader_spec.lua start line: 860 end line: 862 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1404 unit: select_by_upstream_raw = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 275 end line: 277 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1405 unit: invalidate_local = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 295 end line: 297 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1406 unit: invalidate_local = function() file: kong/spec/01-unit/09-balancer/05-worker_consistency_spec.lua start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1407 unit: select_by_upstream_raw = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 237 end line: 239 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1408 unit: invalidate_local = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 257 end line: 259 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1409 unit: select_by_upstream_raw = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1410 unit: invalidate_local = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 211 end line: 213 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1411 unit: select_by_upstream_raw = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1412 unit: invalidate_local = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1413 unit: get = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1414 unit: exec = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1415 unit: semaphores[1].wait = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1416 unit: exec = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 224 end line: 226 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1417 unit: exec = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 262 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1418 unit: function() file: kong/spec/01-unit/22-grpc-utils_spec.lua start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1419 unit: function() file: kong/spec/01-unit/22-grpc-utils_spec.lua start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1420 unit: function() file: kong/spec/01-unit/22-grpc-utils_spec.lua start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1421 unit: pl_path.exists = function() file: kong/spec/01-unit/05-utils_spec.lua start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1422 unit: pl_path.exists = function() file: kong/spec/01-unit/05-utils_spec.lua start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1423 unit: local f = function() file: kong/spec/01-unit/19-hooks_spec.lua start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1424 unit: get_method = function() file: kong/spec/01-unit/08-router_spec.lua start line: 2943 end line: 2945 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1425 unit: get_headers = function() file: kong/spec/01-unit/08-router_spec.lua start line: 2946 end line: 2948 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1426 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 344 end line: 346 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1427 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 357 end line: 359 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1428 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 372 end line: 374 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1429 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 383 end line: 385 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1430 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 394 end line: 396 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1431 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 405 end line: 407 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1432 unit: read = function() file: kong/spec/01-unit/19-hybrid/05-wrpc/proto_spec.lua start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1433 unit: cache_key = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1434 unit: warn = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1435 unit: notice = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1436 unit: toip = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 208 end line: 210 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1437 unit: toip = function() file: kong/spec/01-unit/01-db/08-cache_warmup_spec.lua start line: 267 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1438 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1439 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1440 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1441 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1442 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1443 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1444 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 216 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1445 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1446 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 270 end line: 272 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1447 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 297 end line: 299 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1448 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 327 end line: 329 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1449 unit: update = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 330 end line: 332 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1450 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 349 end line: 351 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1451 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 372 end line: 374 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1452 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 395 end line: 397 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1453 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 418 end line: 420 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1454 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 441 end line: 443 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1455 unit: each_for_c = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 476 end line: 478 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1456 unit: page_for_c = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 479 end line: 481 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1457 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 491 end line: 493 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1458 unit: delete = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 494 end line: 497 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1459 unit: select = function() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 644 end line: 646 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1460 unit: func = function() file: kong/spec/01-unit/01-db/03-arguments_spec.lua start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1461 unit: infos = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1462 unit: connect_migrations = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1463 unit: schema_migrations = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1464 unit: is_014 = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1465 unit: local remove_all_metatables = function() file: kong/spec/01-unit/01-db/01-schema/11-declarative_config/03-flatten_spec.lua start line: 76 end line: 78 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 1466 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3961 end line: 3963 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1467 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3989 end line: 3991 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1468 unit: on_read = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 3992 end line: 3994 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1469 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4025 end line: 4027 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1470 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4054 end line: 4056 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1471 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4082 end line: 4084 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1472 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4112 end line: 4114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1473 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4118 end line: 4120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1474 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4150 end line: 4152 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1475 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4180 end line: 4182 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1476 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4212 end line: 4214 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1477 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 4245 end line: 4247 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1478 unit: fn = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 218 end line: 220 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1479 unit: fn = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 980 end line: 982 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1480 unit: validate = function() file: kong/spec/01-unit/01-db/01-schema/13-cluster_status_spec.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1481 unit: select = function() file: kong/spec/01-unit/01-db/09-no_broadcast_crud_event_spec.lua start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1482 unit: select = function() file: kong/spec/01-unit/01-db/09-no_broadcast_crud_event_spec.lua start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1483 unit: func New() file: kong/spec/fixtures/go/go-hello.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1484 unit: func main() file: kong/spec/fixtures/go/go-hello.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1485 unit: function CustomDAO:custom_method() file: kong/spec/fixtures/custom_plugins/kong/plugins/plugin-with-custom-dao/custom_dao.lua start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1486 unit: function CustomDAO:custom_method() file: kong/spec/fixtures/custom_plugins/kong/plugins/plugin-with-custom-dao/strategies/postgres/custom_dao.lua start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1487 unit: function CustomDAO:custom_method() file: kong/spec/fixtures/custom_plugins/kong/plugins/plugin-with-custom-dao/strategies/cassandra/custom_dao.lua start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1488 unit: function WorkerEventsHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/worker-events/handler.lua start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1489 unit: function Rewriter:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/rewriter/handler.lua start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1490 unit: GET = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/admin-api-method/status_api.lua start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1491 unit: function LoggerHandler:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1492 unit: function LoggerHandler:certificate() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1493 unit: function LoggerHandler:preread() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1494 unit: function LoggerHandler:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1495 unit: function LoggerHandler:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1496 unit: function LoggerHandler:header_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1497 unit: function LoggerHandler:body_filter() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1498 unit: function LoggerHandler:log() file: kong/spec/fixtures/custom_plugins/kong/plugins/logger/handler.lua start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1499 unit: function InitWorkerLuaError:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/init-worker-lua-error/handler.lua start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1500 unit: function ErrorHandlerLog:rewrite() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-handler-log/handler.lua start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1501 unit: function ErrorHandlerLog:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-handler-log/handler.lua start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1502 unit: function Invalidations:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/invalidations/handler.lua start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1503 unit: function EnableBuffering:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/enable-buffering/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1504 unit: function EnableBuffering:access() file: kong/spec/fixtures/custom_plugins/kong/plugins/enable-buffering-response/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1505 unit: local sort_by_start_time = function() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1506 unit: function ShortCircuitHandler:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/short-circuit/handler.lua start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1507 unit: function SharedDict:new() file: kong/spec/fixtures/shm-stub.lua start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1508 unit: function SharedDict:get() file: kong/spec/fixtures/shm-stub.lua start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1509 unit: bp.reset_back = function() file: kong/spec/fixtures/dc_blueprints.lua start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1510 unit: remove_upstream = function() file: kong/spec/fixtures/balancer_utils.lua start line: 209 end line: 211 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1511 unit: insert = function() file: kong/spec/fixtures/admin_api.lua start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1512 unit: remove = function() file: kong/spec/fixtures/admin_api.lua start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1513 unit: update = function() file: kong/spec/fixtures/admin_api.lua start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1514 unit: insert = function() file: kong/spec/fixtures/admin_api.lua start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1515 unit: remove = function() file: kong/spec/fixtures/admin_api.lua start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1516 unit: update = function() file: kong/spec/fixtures/admin_api.lua start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1517 unit: insert = function() file: kong/spec/fixtures/admin_api.lua start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1518 unit: remove = function() file: kong/spec/fixtures/admin_api.lua start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1519 unit: update = function() file: kong/spec/fixtures/admin_api.lua start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1520 unit: local concat_lua_string = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 189 end line: 191 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1521 unit: function dns_mock.new() file: kong/spec/helpers.lua start line: 2383 end line: 2385 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1522 unit: function _M.dnsExpire() file: kong/spec/helpers/dns.lua start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1523 unit: function SSL:dohandshake() file: kong/spec/helpers/ssl.lua start line: 222 end line: 224 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1524 unit: function _M:get_start_stapxx_cmd() file: kong/spec/helpers/perf/drivers/docker.lua start line: 523 end line: 525 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1525 unit: function _M:get_wait_stapxx_cmd() file: kong/spec/helpers/perf/drivers/docker.lua start line: 527 end line: 529 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1526 unit: function _M:generate_flamegraph() file: kong/spec/helpers/perf/drivers/docker.lua start line: 531 end line: 533 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1527 unit: function _M:get_based_version() file: kong/spec/helpers/perf/drivers/docker.lua start line: 586 end line: 588 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1528 unit: pret.admin_client = function() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 295 end line: 297 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1529 unit: function _M:get_admin_uri() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 586 end line: 588 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1530 unit: function _M:get_wait_stapxx_cmd() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 660 end line: 662 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1531 unit: def adjust_fig_tick_y() file: kong/spec/helpers/perf/charts/charts.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 4 id: 1532 unit: options = function() file: kong/spec/helpers/perf/charts.lua start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1533 unit: string.startswith = function() file: kong/spec/helpers/perf/utils.lua start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1534 unit: string.endswith = function() file: kong/spec/helpers/perf/utils.lua start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1535 unit: logger = function() file: kong/spec/helpers/perf/utils.lua start line: 109 end line: 111 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1536 unit: handler.testStart = function() file: kong/spec/helpers/perf/utils.lua start line: 155 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1537 unit: function _M.stop_kong() file: kong/spec/helpers/perf.lua start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1538 unit: function _M.setup() file: kong/spec/helpers/perf.lua start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1539 unit: function _M.wait_stap_probe() file: kong/spec/helpers/perf.lua start line: 469 end line: 471 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1540 unit: function _M.enable_charts() file: kong/spec/helpers/perf.lua start line: 516 end line: 518 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1541 unit: function _M.get_admin_uri() file: kong/spec/helpers/perf.lua start line: 538 end line: 540 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1542 unit: function _M.save_pgdump() file: kong/spec/helpers/perf.lua start line: 546 end line: 548 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1543 unit: function _M.load_pgdump() file: kong/spec/helpers/perf.lua start line: 556 end line: 558 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1544 unit: function _M.remote_execute() file: kong/spec/helpers/perf.lua start line: 565 end line: 567 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1545 unit: get_phase = function() file: kong/kong/conf_loader/init.lua start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1546 unit: add_default_path = function() file: kong/kong/conf_loader/init.lua start line: 1769 end line: 1771 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1547 unit: __call = function() file: kong/kong/conf_loader/init.lua start line: 1795 end line: 1797 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1548 unit: __call = function() file: kong/kong/cmd/utils/log.lua start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1549 unit: function _M.stop() file: kong/kong/cmd/utils/nginx_signals.lua start line: 207 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1550 unit: function _M.quit() file: kong/kong/cmd/utils/nginx_signals.lua start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1551 unit: function _M.clear_hooks() file: kong/kong/hooks.lua start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1552 unit: __newindex = function() file: kong/kong/tracing/propagation.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1553 unit: function _M.router() file: kong/kong/tracing/instrumentation.lua start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1554 unit: patch_dns_query = function() file: kong/kong/tracing/instrumentation.lua start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1555 unit: lazy_format_spans = function() file: kong/kong/tracing/instrumentation.lua start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1556 unit: function Kong.status_content() file: kong/kong/init.lua start line: 1571 end line: 1573 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1557 unit: function Kong.stream_api() file: kong/kong/init.lua start line: 1597 end line: 1599 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1558 unit: function _M.frame() file: kong/kong/tools/grpc.lua start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1559 unit: function _M:drop() file: kong/kong/tools/wrpc/future.lua start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1560 unit: function _M:then_do() file: kong/kong/tools/wrpc/future.lua start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1561 unit: function _M:is_expire() file: kong/kong/tools/wrpc/future.lua start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1562 unit: function _M:expire() file: kong/kong/tools/wrpc/future.lua start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1563 unit: function _M:addpath() file: kong/kong/tools/wrpc/proto.lua start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1564 unit: function _M:get_rpc() file: kong/kong/tools/wrpc/proto.lua start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1565 unit: _M.is_valid_ipv4 = function() file: kong/kong/tools/utils.lua start line: 777 end line: 779 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1566 unit: _M.is_valid_ipv6 = function() file: kong/kong/tools/utils.lua start line: 781 end line: 783 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1567 unit: _M.is_valid_ip = function() file: kong/kong/tools/utils.lua start line: 785 end line: 787 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1568 unit: _M.is_valid_cidr_v4 = function() file: kong/kong/tools/utils.lua start line: 789 end line: 791 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1569 unit: _M.is_valid_cidr_v6 = function() file: kong/kong/tools/utils.lua start line: 793 end line: 795 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1570 unit: _M.is_valid_cidr = function() file: kong/kong/tools/utils.lua start line: 797 end line: 799 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1571 unit: _M.is_valid_ip_or_cidr_v4 = function() file: kong/kong/tools/utils.lua start line: 801 end line: 803 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1572 unit: _M.is_valid_ip_or_cidr_v6 = function() file: kong/kong/tools/utils.lua start line: 805 end line: 807 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1573 unit: _M.is_valid_ip_or_cidr = function() file: kong/kong/tools/utils.lua start line: 809 end line: 811 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1574 unit: function _M.deflate_gzip() file: kong/kong/tools/utils.lua start line: 1233 end line: 1235 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1575 unit: function _M.inflate_gzip() file: kong/kong/tools/utils.lua start line: 1241 end line: 1243 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1576 unit: __newindex = function() file: kong/kong/tools/kong-lua-sandbox.lua start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1577 unit: function sandbox.run() file: kong/kong/tools/kong-lua-sandbox.lua start line: 171 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1578 unit: _G.ngx.timer.at = function() file: kong/kong/globalpatches.lua start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1579 unit: _G.ngx.timer.every = function() file: kong/kong/globalpatches.lua start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1580 unit: function SharedDict:new() file: kong/kong/globalpatches.lua start line: 122 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1581 unit: function SharedDict:capacity() file: kong/kong/globalpatches.lua start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1582 unit: function SharedDict:free_space() file: kong/kong/globalpatches.lua start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1583 unit: function SharedDict:get() file: kong/kong/globalpatches.lua start line: 131 end line: 133 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1584 unit: ["kong.nginx.get_var"] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1585 unit: plugin[phase] = function() file: kong/kong/runloop/plugin_servers/init.lua start line: 266 end line: 268 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1586 unit: msgpack.packers['function'] = function() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1587 unit: function Rpc:call_close_instance() file: kong/kong/runloop/plugin_servers/mp_rpc.lua start line: 271 end line: 273 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1588 unit: [".google.protobuf.ListValue"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1589 unit: [".kong_plugin_protocol.KV"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1590 unit: [".kong_plugin_protocol.Target"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1591 unit: [".kong_plugin_protocol.ExitArgs"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1592 unit: [".kong_plugin_protocol.ConsumerSpec"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1593 unit: [".kong_plugin_protocol.AuthenticateArgs"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1594 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1207 end line: 1209 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1595 unit: before = function() file: kong/kong/runloop/handler.lua start line: 1672 end line: 1674 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1596 unit: __index = function() file: kong/kong/runloop/balancer/targets.lua start line: 238 end line: 240 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1597 unit: __index = function() file: kong/kong/runloop/balancer/balancers.lua start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1598 unit: function balancers_M.get_balancer_by_id() file: kong/kong/runloop/balancer/balancers.lua start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1599 unit: function balancers_M.set_balancer() file: kong/kong/runloop/balancer/balancers.lua start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1600 unit: function balancers_M.getAddressPeer() file: kong/kong/runloop/balancer/balancers.lua start line: 557 end line: 559 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1601 unit: function healthcheckers_M.init() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1602 unit: balancer.report_http_status = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1603 unit: balancer.report_tcp_failure = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1604 unit: balancer.report_timeout = function() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 206 end line: 208 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1605 unit: function healthcheckers_M.subscribe_to_healthcheck_events() file: kong/kong/runloop/balancer/healthcheckers.lua start line: 393 end line: 395 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1606 unit: get_ping_value = function() file: kong/kong/reports.lua start line: 430 end line: 432 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1607 unit: toggle = function() file: kong/kong/reports.lua start line: 454 end line: 456 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1608 unit: local iter = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1609 unit: function _M:verify_signature() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 323 end line: 325 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1610 unit: function _M:base64_decode() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 328 end line: 330 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1611 unit: function ServerlessFunction:certificate() file: kong/kong/plugins/pre-function/_handler.lua start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1612 unit: function ServerlessFunction:rewrite() file: kong/kong/plugins/pre-function/_handler.lua start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1613 unit: function ServerlessFunction:access() file: kong/kong/plugins/pre-function/_handler.lua start line: 106 end line: 108 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1614 unit: function ServerlessFunction:header_filter() file: kong/kong/plugins/pre-function/_handler.lua start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1615 unit: function ServerlessFunction:body_filter() file: kong/kong/plugins/pre-function/_handler.lua start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1616 unit: function ServerlessFunction:log() file: kong/kong/plugins/pre-function/_handler.lua start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1617 unit: function BasicAuthHandler:access() file: kong/kong/plugins/basic-auth/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1618 unit: on_write = function() file: kong/kong/plugins/basic-auth/daos.lua start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1619 unit: __call = function() file: kong/kong/plugins/proxy-cache/strategies/init.lua start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1620 unit: ["uuid"] = function() file: kong/kong/plugins/correlation-id/handler.lua start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1621 unit: teardown = function() file: kong/kong/plugins/oauth2/migrations/005_210_to_211.lua start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1622 unit: function OAuthHandler:access() file: kong/kong/plugins/oauth2/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1623 unit: function crypt.hash() file: kong/kong/plugins/oauth2/secret.lua start line: 143 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1624 unit: function crypt.verify() file: kong/kong/plugins/oauth2/secret.lua start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1625 unit: function crypt.hash() file: kong/kong/plugins/oauth2/secret.lua start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1626 unit: function crypt.verify() file: kong/kong/plugins/oauth2/secret.lua start line: 184 end line: 186 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1627 unit: function crypt.hash() file: kong/kong/plugins/oauth2/secret.lua start line: 248 end line: 250 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1628 unit: function oauth2_tokens:cache_key() file: kong/kong/plugins/oauth2/daos/oauth2_tokens.lua start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1629 unit: function M.shouldProcessRequest() file: kong/kong/plugins/oidc/filter.lua start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1630 unit: function M.injectAccessToken() file: kong/kong/plugins/oidc/utils.lua start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1631 unit: function M.injectUserAttr() file: kong/kong/plugins/oidc/utils.lua start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1632 unit: function M.removeAuthorizationHeader() file: kong/kong/plugins/oidc/utils.lua start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1633 unit: function storage:key() file: kong/kong/plugins/oidc/resty/session/storage/sentinel.lua start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1634 unit: function StatsdHandler:log() file: kong/kong/plugins/statsd/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1635 unit: consumer_id = function() file: kong/kong/plugins/statsd/log.lua start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1636 unit: custom_id = function() file: kong/kong/plugins/statsd/log.lua start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1637 unit: username = function() file: kong/kong/plugins/statsd/log.lua start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1638 unit: service_id = function() file: kong/kong/plugins/statsd/log.lua start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1639 unit: service_name = function() file: kong/kong/plugins/statsd/log.lua start line: 117 end line: 119 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1640 unit: service_host = function() file: kong/kong/plugins/statsd/log.lua start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1641 unit: workspace_id = function() file: kong/kong/plugins/statsd/log.lua start line: 130 end line: 132 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1642 unit: ["hmac-sha1"] = function() file: kong/kong/plugins/hmac-auth/access.lua start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1643 unit: ["hmac-sha256"] = function() file: kong/kong/plugins/hmac-auth/access.lua start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1644 unit: ["hmac-sha384"] = function() file: kong/kong/plugins/hmac-auth/access.lua start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1645 unit: ["hmac-sha512"] = function() file: kong/kong/plugins/hmac-auth/access.lua start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1646 unit: function HMACAuthHandler:access() file: kong/kong/plugins/hmac-auth/handler.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1647 unit: headers = function() file: kong/kong/plugins/request-transformer/access.lua start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1648 unit: query_params = function() file: kong/kong/plugins/request-transformer/access.lua start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1649 unit: uri_captures = function() file: kong/kong/plugins/request-transformer/access.lua start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1650 unit: shared = function() file: kong/kong/plugins/request-transformer/access.lua start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1651 unit: __newindex = function() file: kong/kong/plugins/request-transformer/access.lua start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1652 unit: function RequestTransformerHandler:access() file: kong/kong/plugins/request-transformer/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1653 unit: __newindex = function() file: kong/kong/plugins/zipkin/span.lua start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1654 unit: function ResponseRateLimitingHandler:access() file: kong/kong/plugins/response-ratelimiting/handler.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1655 unit: function ResponseRateLimitingHandler:header_filter() file: kong/kong/plugins/response-ratelimiting/handler.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1656 unit: consumer_id = function() file: kong/kong/plugins/datadog/handler.lua start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1657 unit: custom_id = function() file: kong/kong/plugins/datadog/handler.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1658 unit: username = function() file: kong/kong/plugins/datadog/handler.lua start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1659 unit: function Prometheus:counter() file: kong/kong/plugins/prometheus/prometheus.lua start line: 836 end line: 838 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1660 unit: function Prometheus:gauge() file: kong/kong/plugins/prometheus/prometheus.lua start line: 842 end line: 844 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1661 unit: function Prometheus:histogram() file: kong/kong/plugins/prometheus/prometheus.lua start line: 848 end line: 850 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1662 unit: function PrometheusHandler.init_worker() file: kong/kong/plugins/prometheus/handler.lua start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1663 unit: prometheus_server = function() file: kong/kong/plugins/prometheus/serve.lua start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1664 unit: GET = function() file: kong/kong/plugins/prometheus/api.lua start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1665 unit: GET = function() file: kong/kong/plugins/prometheus/status_api.lua start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1666 unit: local is_present = function() file: kong/kong/plugins/request-termination/schema.lua start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1667 unit: encoder[TAG.SEQUENCE] = function() file: kong/kong/plugins/ldap-auth/asn1.lua start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1668 unit: function LdapAuthHandler:access() file: kong/kong/plugins/ldap-auth/handler.lua start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1669 unit: function deco:get_raw_downstream_body() file: kong/kong/plugins/grpc-gateway/deco.lua start line: 294 end line: 296 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1670 unit: function ResponseTransformerHandler:header_filter() file: kong/kong/plugins/response-transformer/handler.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1671 unit: function _M.is_json_body() file: kong/kong/plugins/response-transformer/body_transformer.lua start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1672 unit: function KongSessionHandler.header_filter() file: kong/kong/plugins/session/handler.lua start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1673 unit: function KongSessionHandler.access() file: kong/kong/plugins/session/handler.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1674 unit: function _M.open_session() file: kong/kong/plugins/session/session.lua start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1675 unit: function storage:update_session() file: kong/kong/plugins/session/storage/kong.lua start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1676 unit: function _M:handle_cp_websocket() file: kong/kong/clustering/init.lua start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1677 unit: function _M:handle_wrpc_websocket() file: kong/kong/clustering/init.lua start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1678 unit: function communicate() file: kong/kong/clustering/wrpc_data_plane.lua start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1679 unit: wait = function() file: kong/kong/clustering/control_plane.lua start line: 351 end line: 353 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1680 unit: post = function() file: kong/kong/clustering/control_plane.lua start line: 354 end line: 356 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1681 unit: function workspaces.set_workspace() file: kong/kong/workspaces/init.lua start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1682 unit: __index = function() file: kong/kong/constants.lua start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1683 unit: __concat = function() file: kong/kong/db/errors.lua start line: 93 end line: 95 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1684 unit: local f = function() file: kong/kong/db/errors.lua start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1685 unit: local sort = function() file: kong/kong/db/migrations/core/012_213_to_220.lua start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1686 unit: teardown = function() file: kong/kong/db/migrations/core/010_210_to_211.lua start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1687 unit: ws_unique_field = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 340 end line: 343 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1688 unit: ws_adjust_foreign_key = function() file: kong/kong/db/migrations/operations/200_to_210.lua start line: 353 end line: 356 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1689 unit: function State:is_up_to_date() file: kong/kong/db/migrations/state.lua start line: 307 end line: 309 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1690 unit: DB.__index = function() file: kong/kong/db/init.lua start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1691 unit: function DB:last_schema_state() file: kong/kong/db/init.lua start line: 436 end line: 438 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1692 unit: function Connector:init() file: kong/kong/db/strategies/connector.lua start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1693 unit: function Connector:init_worker() file: kong/kong/db/strategies/connector.lua start line: 21 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1694 unit: function Connector:infos() file: kong/kong/db/strategies/connector.lua start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1695 unit: function Connector:connect() file: kong/kong/db/strategies/connector.lua start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1696 unit: function Connector:setkeepalive() file: kong/kong/db/strategies/connector.lua start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1697 unit: function Connector:close() file: kong/kong/db/strategies/connector.lua start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1698 unit: function Connector:query() file: kong/kong/db/strategies/connector.lua start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1699 unit: function Connector:reset() file: kong/kong/db/strategies/connector.lua start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1700 unit: function Connector:truncate() file: kong/kong/db/strategies/connector.lua start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1701 unit: function Connector:setup_locks() file: kong/kong/db/strategies/connector.lua start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1702 unit: function Connector:insert_lock() file: kong/kong/db/strategies/connector.lua start line: 115 end line: 117 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1703 unit: function Connector:read_lock() file: kong/kong/db/strategies/connector.lua start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1704 unit: function Connector:remove_lock() file: kong/kong/db/strategies/connector.lua start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1705 unit: function Connector:wait_for_schema_consensus() file: kong/kong/db/strategies/connector.lua start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1706 unit: function _mt:page() file: kong/kong/db/strategies/postgres/init.lua start line: 724 end line: 726 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1707 unit: function _mt:escape_literal() file: kong/kong/db/strategies/postgres/init.lua start line: 729 end line: 731 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1708 unit: function _mt:connect_migrations() file: kong/kong/db/strategies/postgres/connector.lua start line: 409 end line: 411 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1709 unit: function Tags:page_by_tag() file: kong/kong/db/strategies/postgres/tags.lua start line: 141 end line: 143 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1710 unit: function Tags:page() file: kong/kong/db/strategies/postgres/tags.lua start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1711 unit: each_pk_field = function() file: kong/kong/db/strategies/cassandra/init.lua start line: 557 end line: 559 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1712 unit: each_non_pk_field = function() file: kong/kong/db/strategies/cassandra/init.lua start line: 561 end line: 563 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1713 unit: ttl_field = function() file: kong/kong/db/strategies/cassandra/init.lua start line: 565 end line: 567 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1714 unit: self[method_name] = function() file: kong/kong/db/strategies/cassandra/init.lua start line: 630 end line: 632 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 1715 unit: function _mt:update() file: kong/kong/db/strategies/cassandra/init.lua start line: 1541 end line: 1543 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1716 unit: function _mt:upsert() file: kong/kong/db/strategies/cassandra/init.lua start line: 1546 end line: 1548 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1717 unit: function _mt:update_by_field() file: kong/kong/db/strategies/cassandra/init.lua start line: 1551 end line: 1553 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1718 unit: function _mt:upsert_by_field() file: kong/kong/db/strategies/cassandra/init.lua start line: 1556 end line: 1558 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 1719 unit: local pager = function() file: kong/kong/db/strategies/cassandra/init.lua start line: 1650 end line: 1652 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1720 unit: function _mt:truncate() file: kong/kong/db/strategies/cassandra/init.lua start line: 1732 end line: 1734 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1721 unit: __newindex = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1722 unit: __newindex = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1723 unit: function OffConnector:connect_migrations() file: kong/kong/db/strategies/off/connector.lua start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1724 unit: function OffConnector:query() file: kong/kong/db/strategies/off/connector.lua start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1725 unit: local pager = function() file: kong/kong/db/dao/init.lua start line: 733 end line: 735 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1726 unit: function DAO:truncate() file: kong/kong/db/dao/init.lua start line: 966 end line: 968 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1727 unit: local pager = function() file: kong/kong/db/dao/init.lua start line: 1099 end line: 1101 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1728 unit: timestamp = function() file: kong/kong/db/schema/init.lua start line: 309 end line: 311 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1729 unit: custom_validator = function() file: kong/kong/db/schema/init.lua start line: 356 end line: 358 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1730 unit: fn = function() file: kong/kong/db/schema/init.lua start line: 751 end line: 753 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1731 unit: __index = function() file: kong/kong/db/schema/init.lua start line: 1339 end line: 1341 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1732 unit: function Schema:validate_insert() file: kong/kong/db/schema/init.lua start line: 1981 end line: 1983 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1733 unit: function Schema:validate_upsert() file: kong/kong/db/schema/init.lua start line: 2030 end line: 2032 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1734 unit: __index = function() file: kong/kong/db/schema/typedefs.lua start line: 588 end line: 590 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1735 unit: emit_toplevel = function() file: kong/kong/db/declarative/init.lua start line: 496 end line: 498 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1736 unit: done = function() file: kong/kong/db/declarative/init.lua start line: 509 end line: 511 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1737 unit: function fd_emitter.new() file: kong/kong/db/declarative/init.lua start line: 515 end line: 517 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1738 unit: emit_toplevel = function() file: kong/kong/db/declarative/init.lua start line: 536 end line: 538 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1739 unit: done = function() file: kong/kong/db/declarative/init.lua start line: 548 end line: 550 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1740 unit: function table_emitter.new() file: kong/kong/db/declarative/init.lua start line: 554 end line: 556 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1741 unit: done = function() file: kong/kong/db/declarative/init.lua start line: 603 end line: 605 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1742 unit: function proto_emitter.new() file: kong/kong/db/declarative/init.lua start line: 608 end line: 610 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1743 unit: function declarative.get_current_hash() file: kong/kong/db/declarative/init.lua start line: 625 end line: 627 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1744 unit: local wrapped_handler = function() file: kong/kong/api/api_helpers.lua start line: 398 end line: 400 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1745 unit: function _M.handle_404() file: kong/kong/api/api_helpers.lua start line: 495 end line: 497 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1746 unit: before = function() file: kong/kong/api/endpoints.lua start line: 843 end line: 845 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1747 unit: function Endpoints.new() file: kong/kong/api/endpoints.lua start line: 869 end line: 871 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1748 unit: POST = function() file: kong/kong/api/routes/kong.lua start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1749 unit: write = function() file: kong/kong/api/routes/config.lua start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1750 unit: DELETE = function() file: kong/kong/api/routes/upstreams.lua start line: 210 end line: 212 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1751 unit: GET = function() file: kong/kong/api/routes/upstreams.lua start line: 213 end line: 215 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1752 unit: PATCH = function() file: kong/kong/api/routes/upstreams.lua start line: 216 end line: 218 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1753 unit: PUT = function() file: kong/kong/api/routes/upstreams.lua start line: 219 end line: 221 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1754 unit: PUT = function() file: kong/kong/api/routes/upstreams.lua start line: 228 end line: 230 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1755 unit: PUT = function() file: kong/kong/api/routes/upstreams.lua start line: 234 end line: 236 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1756 unit: PUT = function() file: kong/kong/api/routes/upstreams.lua start line: 240 end line: 242 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1757 unit: PUT = function() file: kong/kong/api/routes/upstreams.lua start line: 246 end line: 248 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1758 unit: function multipart_mt:__tostring() file: kong/kong/api/arguments.lua start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1759 unit: __index = function() file: kong/kong/templates/nginx_kong_stream.lua start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1760 unit: function OffStrategy.should_use_polling() file: kong/kong/cluster_events/strategies/off.lua start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1761 unit: function OffStrategy:insert() file: kong/kong/cluster_events/strategies/off.lua start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 1762 unit: function OffStrategy:truncate_events() file: kong/kong/cluster_events/strategies/off.lua start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1763 unit: function OffStrategy:server_time() file: kong/kong/cluster_events/strategies/off.lua start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1764 unit: function off.new() file: kong/kong/cluster_events/strategies/off.lua start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1765 unit: function _M.should_use_polling() file: kong/kong/cluster_events/strategies/postgres.lua start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1766 unit: function _M:truncate_events() file: kong/kong/cluster_events/strategies/postgres.lua start line: 179 end line: 181 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1767 unit: function _M.should_use_polling() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1768 unit: function _M:truncate_events() file: kong/kong/cluster_events/strategies/cassandra.lua start line: 144 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1769 unit: __call = function() file: kong/kong/deprecation.lua start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1770 unit: function _CLUSTER.get_id() file: kong/kong/pdk/cluster.lua start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1771 unit: __index = function() file: kong/kong/pdk/init.lua start line: 241 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1772 unit: __newindex = function() file: kong/kong/pdk/init.lua start line: 245 end line: 247 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1773 unit: function _VAULT.is_reference() file: kong/kong/pdk/vault.lua start line: 598 end line: 600 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1774 unit: function _VAULT.parse_reference() file: kong/kong/pdk/vault.lua start line: 633 end line: 635 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1775 unit: function _VAULT.get() file: kong/kong/pdk/vault.lua start line: 648 end line: 650 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1776 unit: function _VAULT.try() file: kong/kong/pdk/vault.lua start line: 675 end line: 677 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1777 unit: _IP.is_trusted = function() file: kong/kong/pdk/ip.lua start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1778 unit: function _REQUEST.get_path() file: kong/kong/pdk/request.lua start line: 394 end line: 396 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1779 unit: function _NGINX.get_subsystem() file: kong/kong/pdk/nginx.lua start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1780 unit: __index = function() file: kong/kong/pdk/private/phases.lua start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1781 unit: tracer_mt.__call = function() file: kong/kong/pdk/tracing.lua start line: 483 end line: 485 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1782 unit: new = function() file: kong/kong/pdk/tracing.lua start line: 492 end line: 494 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1783 unit: [1] = function() file: kong/kong/pdk/log.lua start line: 136 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 1784 unit: new_deprecation = function() file: kong/kong/pdk/log.lua start line: 429 end line: 431 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1785 unit: __call = function() file: kong/kong/pdk/log.lua start line: 486 end line: 488 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1786 unit: function self.on() file: kong/kong/pdk/log.lua start line: 508 end line: 510 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1787 unit: function self.off() file: kong/kong/pdk/log.lua start line: 521 end line: 523 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1788 unit: __call = function() file: kong/kong/pdk/log.lua start line: 535 end line: 537 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1789 unit: new = function() file: kong/kong/pdk/log.lua start line: 946 end line: 948 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1790 unit: __tostring = function() file: kong/kong/resty/dns/client.lua start line: 316 end line: 318 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1791 unit: function _M:exec() file: kong/kong/router/init.lua start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 1792 unit: function _M.get_schema() file: kong/kong/router/atc.lua start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 1793 unit: log = function() file: kong/kong/router/traditional.lua start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1794 unit: [MATCH_RULES.SRC] = function() file: kong/kong/router/traditional.lua start line: 1011 end line: 1013 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1795 unit: [MATCH_RULES.DST] = function() file: kong/kong/router/traditional.lua start line: 1015 end line: 1017 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1796 unit: [MATCH_RULES.HOST] = function() file: kong/kong/router/traditional.lua start line: 1059 end line: 1061 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1797 unit: [MATCH_RULES.HEADER] = function() file: kong/kong/router/traditional.lua start line: 1063 end line: 1065 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1798 unit: [MATCH_RULES.URI] = function() file: kong/kong/router/traditional.lua start line: 1067 end line: 1071 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1799 unit: [MATCH_RULES.METHOD] = function() file: kong/kong/router/traditional.lua start line: 1073 end line: 1075 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1800 unit: [MATCH_RULES.SNI] = function() file: kong/kong/router/traditional.lua start line: 1077 end line: 1079 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 1801 unit: log = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 14 end line: 16 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1802 unit: close = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 28 end line: 29 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1803 unit: log = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 18 end line: 20 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1804 unit: function ErrorGeneratorLastHandler:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator-last/handler.lua start line: 10 end line: 11 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1805 unit: function ErrorGeneratorHandler:init_worker() file: kong/spec/fixtures/custom_plugins/kong/plugins/error-generator/handler.lua start line: 10 end line: 11 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 1806 unit: function M.configure() file: kong/kong/plugins/oidc/session.lua start line: 5 end line: 7 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 1807 unit: get_method = function() file: kong/spec/03-plugins/30-session/03-session_spec.lua start line: 4 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1808 unit: get_query_arg = function() file: kong/spec/03-plugins/30-session/03-session_spec.lua start line: 5 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1809 unit: get_body = function() file: kong/spec/03-plugins/30-session/03-session_spec.lua start line: 6 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1810 unit: http.new = function() file: kong/spec/03-plugins/27-aws-lambda/07-iam-sts-credentials_spec.lua start line: 12 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1811 unit: set_timeout = function() file: kong/spec/03-plugins/27-aws-lambda/07-iam-sts-credentials_spec.lua start line: 14 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1812 unit: http.new = function() file: kong/spec/03-plugins/27-aws-lambda/03-iam-ec2-credentials_spec.lua start line: 12 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1813 unit: set_timeout = function() file: kong/spec/03-plugins/27-aws-lambda/03-iam-ec2-credentials_spec.lua start line: 14 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1814 unit: http.new = function() file: kong/spec/03-plugins/27-aws-lambda/04-iam-ecs-credentials_spec.lua start line: 13 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1815 unit: set_timeout = function() file: kong/spec/03-plugins/27-aws-lambda/04-iam-ecs-credentials_spec.lua start line: 15 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1816 unit: get_headers = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 14 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1817 unit: get_uri_args = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 15 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1818 unit: read_body = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 16 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1819 unit: get_body_data = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 17 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1820 unit: log = function() file: kong/spec/03-plugins/27-aws-lambda/05-aws-serializer_spec.lua start line: 19 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1821 unit: log = function() file: kong/spec/03-plugins/15-response-transformer/02-body_transformer_spec.lua start line: 248 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1822 unit: something = { fun = function() file: kong/spec/01-unit/20-sandbox_spec.lua start line: 278 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1823 unit: resolver.new = function() file: kong/spec/01-unit/21-dns-client/03-client_cache_spec.lua start line: 37 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1824 unit: resolver.new = function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 47 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1825 unit: function() file: kong/spec/01-unit/21-dns-client/02-client_spec.lua start line: 93 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1826 unit: select = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 281 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1827 unit: callback = function() file: kong/spec/01-unit/09-balancer/04-round_robin_spec.lua start line: 356 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1828 unit: select = function() file: kong/spec/01-unit/09-balancer/03-consistent_hashing_spec.lua start line: 243 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1829 unit: select = function() file: kong/spec/01-unit/09-balancer/01-generic_spec.lua start line: 197 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1830 unit: select = function() file: kong/spec/01-unit/09-balancer/02-least_connections_spec.lua start line: 198 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1831 unit: at = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 18 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1832 unit: every = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 19 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1833 unit: err = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 28 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1834 unit: warn = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 29 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1835 unit: exit = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 32 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1836 unit: register = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 35 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1837 unit: subscribe = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 38 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1838 unit: new = function() file: kong/spec/01-unit/16-runloop_handler_spec.lua start line: 62 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1839 unit: get_uri_args = function() file: kong/spec/01-unit/10-log_serializer_spec.lua start line: 39 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1840 unit: get_method = function() file: kong/spec/01-unit/10-log_serializer_spec.lua start line: 40 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1841 unit: get_headers = function() file: kong/spec/01-unit/10-log_serializer_spec.lua start line: 41 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1842 unit: baz = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 23 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1843 unit: foobar = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 24 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1844 unit: nilval = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 26 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1845 unit: info = function() file: kong/spec/01-unit/11-reports_spec.lua start line: 333 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1846 unit: resolver.new = function() file: kong/spec/01-unit/14-dns_spec.lua start line: 79 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1847 unit: local parent_strategy = setmetatable() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 524 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1848 unit: local parent_strategy = setmetatable() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 549 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1849 unit: local parent_strategy = setmetatable() file: kong/spec/01-unit/01-db/04-dao_spec.lua start line: 574 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1850 unit: strategy = setmetatable() file: kong/spec/01-unit/01-db/07-dao/02-tags_spec.lua start line: 40 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1851 unit: new = function() file: kong/spec/01-unit/01-db/07-db_spec.lua start line: 8 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1852 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/01-schema_spec.lua start line: 2030 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1853 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 617 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1854 unit: on_read = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 631 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1855 unit: on_read = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 645 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1856 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 646 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1857 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 677 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1858 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 693 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1859 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 718 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1860 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 743 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1861 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 766 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1862 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 783 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1863 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 800 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1864 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 826 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1865 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 852 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1866 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 876 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1867 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1132 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1868 unit: on_read = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1145 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1869 unit: on_read = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1158 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1870 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1159 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1871 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1188 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1872 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1203 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1873 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1227 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1874 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1251 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1875 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1273 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1876 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1289 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1877 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1305 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1878 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1330 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1879 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1355 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1880 unit: on_write = function() file: kong/spec/01-unit/01-db/01-schema/02-metaschema_spec.lua start line: 1378 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1881 unit: err = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 25 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1882 unit: warn = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 26 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1883 unit: exit = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 29 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1884 unit: new = function() file: kong/spec/01-unit/17-concurrency_spec.lua start line: 36 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1885 unit: function _M:log() file: kong/spec/fixtures/custom_plugins/kong/plugins/tcp-trace-exporter/handler.lua start line: 94 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1886 unit: function mocker.table_where_every_key_returns() file: kong/spec/fixtures/mocker.lua start line: 52 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1887 unit: __index = function() file: kong/spec/fixtures/mocker.lua start line: 54 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1888 unit: function dc_blueprints.new() file: kong/spec/fixtures/dc_blueprints.lua start line: 30 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1889 unit: poll_wait_health = function() file: kong/spec/fixtures/balancer_utils.lua start line: 403 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1890 unit: function https_server.new() file: kong/spec/fixtures/https_server.lua start line: 213 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1891 unit: local gen_entities = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 51 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1892 unit: local gen_wrk_script = function() file: kong/spec/04-perf/01-rps/06-core_entities_crud_spec.lua start line: 186 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1893 unit: function resty_http_proxy_mt:send() file: kong/spec/helpers.lua start line: 633 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1894 unit: debug = function() file: kong/spec/helpers/perf/logger.lua start line: 48 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1895 unit: info = function() file: kong/spec/helpers/perf/logger.lua start line: 49 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1896 unit: warn = function() file: kong/spec/helpers/perf/logger.lua start line: 50 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1897 unit: err = function() file: kong/spec/helpers/perf/logger.lua start line: 51 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1898 unit: crit = function() file: kong/spec/helpers/perf/logger.lua start line: 52 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1899 unit: log_exec = function() file: kong/spec/helpers/perf/logger.lua start line: 53 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1900 unit: __call = function() file: kong/spec/helpers/perf/logger.lua start line: 55 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1901 unit: function _M:load_pgdump() file: kong/spec/helpers/perf/drivers/terraform.lua start line: 702 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1902 unit: on = function() file: kong/spec/helpers/perf/charts.lua start line: 108 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1903 unit: off = function() file: kong/spec/helpers/perf/charts.lua start line: 109 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1904 unit: stop_signal = function() file: kong/spec/helpers/perf/utils.lua start line: 112 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1905 unit: function _M.start_load() file: kong/spec/helpers/perf.lua start line: 263 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1906 unit: stop_signal = function() file: kong/spec/helpers/perf.lua start line: 297 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1907 unit: function _M.start_stapxx() file: kong/spec/helpers/perf.lua start line: 311 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1908 unit: stop_signal = function() file: kong/spec/helpers/perf.lua start line: 322 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1909 unit: array = function() file: kong/kong/conf_loader/init.lua start line: 555 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1910 unit: string = function() file: kong/kong/conf_loader/init.lua start line: 556 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1911 unit: number = function() file: kong/kong/conf_loader/init.lua start line: 557 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1912 unit: boolean = function() file: kong/kong/conf_loader/init.lua start line: 558 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1913 unit: ngx_boolean = function() file: kong/kong/conf_loader/init.lua start line: 559 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1914 unit: init = function() file: kong/kong/init.lua start line: 55 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1915 unit: environment = function() file: kong/kong/tools/sandbox.lua start line: 73 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1916 unit: function _M:import() file: kong/kong/tools/wrpc/proto.lua start line: 98 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1917 unit: function sandbox.protect() file: kong/kong/tools/kong-lua-sandbox.lua start line: 116 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1918 unit: setmetatable() file: kong/kong/tools/kong-lua-sandbox.lua start line: 176 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1919 unit: [".google.protobuf.Empty"] = function() file: kong/kong/runloop/plugin_servers/pb_rpc.lua start line: 65 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1920 unit: {__newindex = function() file: kong/kong/runloop/balancer/targets.lua start line: 33 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1921 unit: {__newindex = function() file: kong/kong/runloop/balancer/least_connections.lua start line: 18 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1922 unit: function balancer_mt:setCallback() file: kong/kong/runloop/balancer/balancers.lua start line: 469 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1923 unit: _sync_counter = function() file: kong/kong/reports.lua start line: 462 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1924 unit: HS256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 36 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1925 unit: HS384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 37 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1926 unit: HS512 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 38 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1927 unit: HS256 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 85 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1928 unit: HS384 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 86 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1929 unit: HS512 = function() file: kong/kong/plugins/jwt/jwt_parser.lua start line: 87 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1930 unit: custom_validator = function() file: kong/kong/plugins/acme/schema.lua start line: 13 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1931 unit: _set_is_dbless = function() file: kong/kong/plugins/acme/client.lua start line: 500 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1932 unit: function HttpLogHandler:log() file: kong/kong/plugins/http-log/handler.lua start line: 144 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1933 unit: __index = function() file: kong/kong/plugins/request-transformer/access.lua start line: 76 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1934 unit: down = function() file: kong/kong/plugins/request-transformer/migrations/postgres.lua start line: 8 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1935 unit: down = function() file: kong/kong/plugins/request-transformer/migrations/cassandra.lua start line: 8 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1936 unit: _log_error = function() file: kong/kong/plugins/prometheus/prometheus.lua start line: 808 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1937 unit: function _M:init_dp_worker() file: kong/kong/clustering/init.lua start line: 117 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1938 unit: function _M:handle_cp_websocket() file: kong/kong/clustering/control_plane.lua start line: 264 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1939 unit: function _M:handle_cp_websocket() file: kong/kong/clustering/wrpc_control_plane.lua start line: 216 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1940 unit: function _M.__index() file: kong/kong/db/errors.lua start line: 154 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1941 unit: function _M.new() file: kong/kong/db/strategies/init.lua start line: 17 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1942 unit: function _M.new() file: kong/kong/db/strategies/postgres/init.lua start line: 798 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1943 unit: get_names_of_tables_with_ttl = function() file: kong/kong/db/strategies/postgres/connector.lua start line: 110 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1944 unit: function _M.new() file: kong/kong/db/strategies/cassandra/init.lua start line: 522 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1945 unit: function _mt:delete() file: kong/kong/db/strategies/cassandra/init.lua start line: 1596 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1946 unit: function CassandraConnector.new() file: kong/kong/db/strategies/cassandra/connector.lua start line: 14 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1947 unit: ngx.socket.tcp = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 42 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1948 unit: ngx.socket.udp = function() file: kong/kong/db/strategies/cassandra/connector.lua start line: 72 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1949 unit: function off.new() file: kong/kong/db/strategies/off/init.lua start line: 295 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1950 unit: methods[each_method_name] = function() file: kong/kong/db/dao/init.lua start line: 725 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1951 unit: function DAO:each() file: kong/kong/db/dao/init.lua start line: 1075 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1952 unit: run_entity_checks = function() file: kong/kong/db/schema/init.lua start line: 1332 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1953 unit: function Schema.define() file: kong/kong/db/schema/init.lua start line: 2411 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1954 unit: local schema_topological_sort = function() file: kong/kong/db/schema/topological_sort.lua start line: 47 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1955 unit: function _M.attach_routes() file: kong/kong/api/api_helpers.lua start line: 390 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1956 unit: function _M.attach_new_db_routes() file: kong/kong/api/api_helpers.lua start line: 431 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1957 unit: GET = function() file: kong/kong/api/routes/config.lua start line: 29 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1958 unit: function _PDK.new() file: kong/kong/pdk/init.lua start line: 223 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1959 unit: new_inspect = function() file: kong/kong/pdk/log.lua start line: 492 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1960 unit: attach_buffered_headers_mt = function() file: kong/kong/pdk/service/response.lua start line: 77 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1961 unit: match_route = function() file: kong/kong/router/traditional.lua start line: 1021 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0 id: 1962 unit: function _M.new() file: kong/kong/router/traditional.lua start line: 1286 end line: 0 size: 0 LOC McCabe index: 1 number of parameters: 0