id: 1 unit: run_rspec_matchers_on_task_group file: elasticsearch-api/spec/rest_api/run_rspec_matchers.rb start line: 18 end line: 111 size: 76 LOC McCabe index: 12 number of parameters: 2 id: 2 unit: compare_hash file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 194 end line: 259 size: 53 LOC McCabe index: 17 number of parameters: 3 id: 3 unit: self.create_enterprise_search_users file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 61 end line: 109 size: 47 LOC McCabe index: 1 number of parameters: 1 id: 4 unit: msearch file: elasticsearch-api/lib/elasticsearch/api/actions/fleet/msearch.rb start line: 67 end line: 117 size: 41 LOC McCabe index: 12 number of parameters: 1 id: 5 unit: msearch file: elasticsearch-api/lib/elasticsearch/api/actions/msearch.rb start line: 79 end line: 129 size: 41 LOC McCabe index: 12 number of parameters: 1 id: 6 unit: status file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/status.rb start line: 62 end line: 101 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 7 unit: msearch_template file: elasticsearch-api/lib/elasticsearch/api/actions/msearch_template.rb start line: 62 end line: 102 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 8 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/stats.rb start line: 55 end line: 94 size: 31 LOC McCabe index: 14 number of parameters: 1 id: 9 unit: bulk file: elasticsearch-api/lib/elasticsearch/api/actions/bulk.rb start line: 155 end line: 193 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: update file: elasticsearch-api/lib/elasticsearch/api/actions/update.rb start line: 76 end line: 113 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 11 unit: get_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_role.rb start line: 47 end line: 82 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: get_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_user.rb start line: 44 end line: 79 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 13 unit: get_repository file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get_repository.rb start line: 48 end line: 83 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 14 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get.rb start line: 74 end line: 110 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 15 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/delete.rb start line: 47 end line: 83 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 16 unit: termvectors file: elasticsearch-api/lib/elasticsearch/api/actions/termvectors.rb start line: 83 end line: 120 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 17 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/get.rb start line: 117 end line: 153 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 18 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/delete.rb start line: 83 end line: 119 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: get_model_snapshots file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_model_snapshots.rb start line: 53 end line: 89 size: 27 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: get_categories file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_categories.rb start line: 51 end line: 87 size: 27 LOC McCabe index: 9 number of parameters: 1 id: 21 unit: get_buckets file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_buckets.rb start line: 57 end line: 93 size: 27 LOC McCabe index: 9 number of parameters: 1 id: 22 unit: wipe_cluster file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 113 end line: 142 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: usage file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/usage.rb start line: 46 end line: 79 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 24 unit: info file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/info.rb start line: 46 end line: 79 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 25 unit: get_alias file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_alias.rb start line: 57 end line: 90 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 26 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/indices/stats.rb start line: 61 end line: 94 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 27 unit: delete_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_template.rb start line: 47 end line: 80 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 28 unit: get_settings file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_settings.rb start line: 63 end line: 96 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 29 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete.rb start line: 61 end line: 94 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 30 unit: search_mvt file: elasticsearch-api/lib/elasticsearch/api/actions/search_mvt.rb start line: 190 end line: 227 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 31 unit: delete_repository file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/delete_repository.rb start line: 51 end line: 84 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 32 unit: delete_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/delete_watch.rb start line: 47 end line: 80 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 33 unit: delete_ruleset file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/delete_ruleset.rb start line: 44 end line: 77 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 34 unit: validate_query file: elasticsearch-api/lib/elasticsearch/api/actions/indices/validate_query.rb start line: 64 end line: 96 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 35 unit: analyze file: elasticsearch-api/lib/elasticsearch/api/actions/indices/analyze.rb start line: 50 end line: 82 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 36 unit: mtermvectors file: elasticsearch-api/lib/elasticsearch/api/actions/mtermvectors.rb start line: 64 end line: 96 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 37 unit: render_search_template file: elasticsearch-api/lib/elasticsearch/api/actions/render_search_template.rb start line: 44 end line: 76 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 38 unit: count file: elasticsearch-api/lib/elasticsearch/api/actions/count.rb start line: 80 end line: 112 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 39 unit: search file: elasticsearch-api/lib/elasticsearch/api/actions/search.rb start line: 165 end line: 197 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 40 unit: preview_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/preview_transform.rb start line: 50 end line: 82 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: create_service_token file: elasticsearch-api/lib/elasticsearch/api/actions/security/create_service_token.rb start line: 51 end line: 85 size: 25 LOC McCabe index: 10 number of parameters: 1 id: 42 unit: get_calendars file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_calendars.rb start line: 45 end line: 77 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 43 unit: preview_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/preview_datafeed.rb start line: 56 end line: 88 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 44 unit: preview_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/preview_data_frame_analytics.rb start line: 44 end line: 76 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 45 unit: explain_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/explain_data_frame_analytics.rb start line: 51 end line: 83 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 46 unit: field_caps file: elasticsearch-api/lib/elasticsearch/api/actions/field_caps.rb start line: 58 end line: 90 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 47 unit: get_service_accounts file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_service_accounts.rb start line: 48 end line: 79 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 48 unit: get_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_privileges.rb start line: 49 end line: 80 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 49 unit: put_script file: elasticsearch-api/lib/elasticsearch/api/actions/put_script.rb start line: 52 end line: 84 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 50 unit: explain file: elasticsearch-api/lib/elasticsearch/api/actions/explain.rb start line: 69 end line: 102 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 51 unit: index file: elasticsearch-api/lib/elasticsearch/api/actions/index.rb start line: 156 end line: 188 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 52 unit: state file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/state.rb start line: 64 end line: 95 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 53 unit: update file: elasticsearch-api/lib/elasticsearch/api/actions/inference/update.rb start line: 48 end line: 80 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 54 unit: put file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put.rb start line: 47 end line: 79 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 55 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/inference/get.rb start line: 43 end line: 74 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 56 unit: verify_elasticsearch file: elasticsearch/lib/elasticsearch.rb start line: 85 end line: 109 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 57 unit: bulkify file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 100 end line: 132 size: 23 LOC McCabe index: 10 number of parameters: 1 id: 58 unit: clear_repositories_metering_archive file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb start line: 48 end line: 80 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 59 unit: exists_alias file: elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_alias.rb start line: 54 end line: 85 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 60 unit: get_field_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_field_mapping.rb start line: 57 end line: 88 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 61 unit: rollover file: elasticsearch-api/lib/elasticsearch/api/actions/indices/rollover.rb start line: 80 end line: 111 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 62 unit: clone file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/clone.rb start line: 49 end line: 81 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 63 unit: ack_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/ack_watch.rb start line: 50 end line: 81 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 64 unit: put_azureaistudio file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 65 unit: put_watsonx file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_watsonx.rb start line: 48 end line: 80 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 66 unit: put_mistral file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_mistral.rb start line: 46 end line: 78 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 67 unit: put_azureopenai file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_azureopenai.rb start line: 50 end line: 82 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 68 unit: put_googleaistudio file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 69 unit: put_cohere file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_cohere.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 70 unit: put_elasticsearch file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb start line: 46 end line: 78 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 71 unit: put_googlevertexai file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 72 unit: inference file: elasticsearch-api/lib/elasticsearch/api/actions/inference/inference.rb start line: 49 end line: 80 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 73 unit: put_jinaai file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_jinaai.rb start line: 47 end line: 79 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 74 unit: put_alibabacloud file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 75 unit: put_anthropic file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_anthropic.rb start line: 46 end line: 78 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 76 unit: put_hugging_face file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_hugging_face.rb start line: 56 end line: 88 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 77 unit: put_amazonbedrock file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb start line: 45 end line: 77 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 78 unit: put_voyageai file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_voyageai.rb start line: 46 end line: 78 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 79 unit: put_openai file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_openai.rb start line: 46 end line: 78 size: 23 LOC McCabe index: 7 number of parameters: 1 id: 80 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/inference/delete.rb start line: 45 end line: 76 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 81 unit: delete_forecast file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_forecast.rb start line: 56 end line: 87 size: 23 LOC McCabe index: 8 number of parameters: 1 id: 82 unit: msearch_body_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 98 end line: 121 size: 22 LOC McCabe index: 6 number of parameters: 0 id: 83 unit: wipe_all_templates file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 270 end line: 300 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 84 unit: put_settings file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_settings.rb start line: 78 end line: 107 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 85 unit: search_template file: elasticsearch-api/lib/elasticsearch/api/actions/search_template.rb start line: 64 end line: 93 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 86 unit: search file: elasticsearch-api/lib/elasticsearch/api/actions/fleet/search.rb start line: 96 end line: 126 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 87 unit: ingest file: elasticsearch-api/lib/elasticsearch/api/actions/simulate/ingest.rb start line: 63 end line: 92 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 88 unit: change_password file: elasticsearch-api/lib/elasticsearch/api/actions/security/change_password.rb start line: 46 end line: 75 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 89 unit: has_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/has_privileges.rb start line: 46 end line: 75 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 90 unit: clear_cached_service_tokens file: elasticsearch-api/lib/elasticsearch/api/actions/security/clear_cached_service_tokens.rb start line: 51 end line: 82 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 91 unit: delete_service_token file: elasticsearch-api/lib/elasticsearch/api/actions/security/delete_service_token.rb start line: 46 end line: 77 size: 22 LOC McCabe index: 8 number of parameters: 1 id: 92 unit: search file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/search.rb start line: 50 end line: 80 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 93 unit: sync_job_claim file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_claim.rb start line: 53 end line: 83 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 94 unit: sync_job_error file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_error.rb start line: 50 end line: 80 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 95 unit: sync_job_update_stats file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_update_stats.rb start line: 52 end line: 82 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 96 unit: simulate file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/simulate.rb start line: 47 end line: 76 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 97 unit: rank_eval file: elasticsearch-api/lib/elasticsearch/api/actions/rank_eval.rb start line: 49 end line: 78 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 98 unit: explore file: elasticsearch-api/lib/elasticsearch/api/actions/graph/explore.rb start line: 52 end line: 82 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 99 unit: mget file: elasticsearch-api/lib/elasticsearch/api/actions/mget.rb start line: 67 end line: 96 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 100 unit: thread_pool file: elasticsearch-api/lib/elasticsearch/api/actions/cat/thread_pool.rb start line: 61 end line: 89 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 101 unit: recovery file: elasticsearch-api/lib/elasticsearch/api/actions/cat/recovery.rb start line: 60 end line: 88 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 102 unit: count file: elasticsearch-api/lib/elasticsearch/api/actions/cat/count.rb start line: 57 end line: 85 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 103 unit: indices file: elasticsearch-api/lib/elasticsearch/api/actions/cat/indices.rb start line: 70 end line: 98 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 104 unit: allocation file: elasticsearch-api/lib/elasticsearch/api/actions/cat/allocation.rb start line: 59 end line: 87 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 105 unit: shards file: elasticsearch-api/lib/elasticsearch/api/actions/cat/shards.rb start line: 59 end line: 87 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 106 unit: aliases file: elasticsearch-api/lib/elasticsearch/api/actions/cat/aliases.rb start line: 60 end line: 88 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 107 unit: get_overall_buckets file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_overall_buckets.rb start line: 82 end line: 112 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 108 unit: get_records file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_records.rb start line: 63 end line: 93 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 109 unit: get_influencers file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_influencers.rb start line: 60 end line: 90 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 110 unit: terms_enum file: elasticsearch-api/lib/elasticsearch/api/actions/terms_enum.rb start line: 46 end line: 76 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 111 unit: check_for_unexpectedly_recreated_objects file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 147 end line: 171 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 112 unit: search_shards file: elasticsearch-api/lib/elasticsearch/api/actions/search_shards.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 113 unit: reload_secure_settings file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb start line: 51 end line: 78 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 114 unit: hot_threads file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/hot_threads.rb start line: 53 end line: 80 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 115 unit: get_policy file: elasticsearch-api/lib/elasticsearch/api/actions/enrich/get_policy.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 116 unit: segments file: elasticsearch-api/lib/elasticsearch/api/actions/indices/segments.rb start line: 53 end line: 80 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 117 unit: create_from file: elasticsearch-api/lib/elasticsearch/api/actions/indices/create_from.rb start line: 49 end line: 78 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 118 unit: get_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_data_stream.rb start line: 49 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 119 unit: recovery file: elasticsearch-api/lib/elasticsearch/api/actions/indices/recovery.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 120 unit: simulate_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_template.rb start line: 49 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 121 unit: get_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_mapping.rb start line: 55 end line: 82 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 122 unit: get_index_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_index_template.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 123 unit: shard_stores file: elasticsearch-api/lib/elasticsearch/api/actions/indices/shard_stores.rb start line: 57 end line: 84 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 124 unit: downsample file: elasticsearch-api/lib/elasticsearch/api/actions/indices/downsample.rb start line: 54 end line: 83 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 125 unit: resolve_cluster file: elasticsearch-api/lib/elasticsearch/api/actions/indices/resolve_cluster.rb start line: 95 end line: 122 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 126 unit: clear_cache file: elasticsearch-api/lib/elasticsearch/api/actions/indices/clear_cache.rb start line: 61 end line: 88 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 127 unit: get_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_template.rb start line: 50 end line: 77 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 128 unit: flush file: elasticsearch-api/lib/elasticsearch/api/actions/indices/flush.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 129 unit: data_streams_stats file: elasticsearch-api/lib/elasticsearch/api/actions/indices/data_streams_stats.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 130 unit: forcemerge file: elasticsearch-api/lib/elasticsearch/api/actions/indices/forcemerge.rb start line: 88 end line: 115 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 131 unit: refresh file: elasticsearch-api/lib/elasticsearch/api/actions/indices/refresh.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 132 unit: deprecations file: elasticsearch-api/lib/elasticsearch/api/actions/migration/deprecations.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 133 unit: get_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/get_lifecycle.rb start line: 44 end line: 71 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 134 unit: cancel file: elasticsearch-api/lib/elasticsearch/api/actions/tasks/cancel.rb start line: 58 end line: 85 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 135 unit: clear_scroll file: elasticsearch-api/lib/elasticsearch/api/actions/clear_scroll.rb start line: 50 end line: 76 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 136 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/stats.rb start line: 43 end line: 70 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 137 unit: mount file: elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/mount.rb start line: 52 end line: 81 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 138 unit: clear_cache file: elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/clear_cache.rb start line: 51 end line: 78 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 139 unit: cache_stats file: elasticsearch-api/lib/elasticsearch/api/actions/searchable_snapshots/cache_stats.rb start line: 48 end line: 75 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 140 unit: get_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/logstash/get_pipeline.rb start line: 43 end line: 70 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 141 unit: get_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/get_transform.rb start line: 57 end line: 84 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 142 unit: get_role_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_role_mapping.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 143 unit: get_behavioral_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/get_behavioral_analytics.rb start line: 46 end line: 73 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 144 unit: post_behavioral_analytics_event file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/post_behavioral_analytics_event.rb start line: 49 end line: 78 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 145 unit: sync_job_delete file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_delete.rb start line: 48 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 146 unit: sync_job_check_in file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_check_in.rb start line: 49 end line: 77 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 147 unit: sync_job_cancel file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_cancel.rb start line: 48 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 148 unit: put file: elasticsearch-api/lib/elasticsearch/api/actions/connector/put.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 149 unit: sync_job_get file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_get.rb start line: 46 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 150 unit: get_ip_location_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/get_ip_location_database.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 151 unit: get_geoip_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/get_geoip_database.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 152 unit: get_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/get_pipeline.rb start line: 49 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 153 unit: execute_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/execute_watch.rb start line: 53 end line: 80 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 154 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/stats.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 155 unit: get_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 156 unit: put_rule file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/put_rule.rb start line: 49 end line: 78 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 157 unit: submit file: elasticsearch-api/lib/elasticsearch/api/actions/async_search/submit.rb start line: 93 end line: 120 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 158 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/stats.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 159 unit: health file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/health.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 160 unit: get_component_template file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_component_template.rb start line: 50 end line: 77 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 161 unit: find_structure file: elasticsearch-api/lib/elasticsearch/api/actions/text_structure/find_structure.rb start line: 118 end line: 145 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 162 unit: get_auto_follow_pattern file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/get_auto_follow_pattern.rb start line: 47 end line: 74 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 163 unit: segments file: elasticsearch-api/lib/elasticsearch/api/actions/cat/segments.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 164 unit: transforms file: elasticsearch-api/lib/elasticsearch/api/actions/cat/transforms.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 165 unit: component_templates file: elasticsearch-api/lib/elasticsearch/api/actions/cat/component_templates.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 166 unit: templates file: elasticsearch-api/lib/elasticsearch/api/actions/cat/templates.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 167 unit: snapshots file: elasticsearch-api/lib/elasticsearch/api/actions/cat/snapshots.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 168 unit: ml_datafeeds file: elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_datafeeds.rb start line: 64 end line: 91 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 169 unit: ml_trained_models file: elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_trained_models.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 170 unit: fielddata file: elasticsearch-api/lib/elasticsearch/api/actions/cat/fielddata.rb start line: 56 end line: 83 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 171 unit: ml_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_data_frame_analytics.rb start line: 57 end line: 84 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 172 unit: ml_jobs file: elasticsearch-api/lib/elasticsearch/api/actions/cat/ml_jobs.rb start line: 65 end line: 92 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 173 unit: put_synonym_rule file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/put_synonym_rule.rb start line: 49 end line: 78 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 174 unit: get_trained_models file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_trained_models.rb start line: 62 end line: 89 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 175 unit: get_datafeed_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_datafeed_stats.rb start line: 58 end line: 85 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 176 unit: get_filters file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_filters.rb start line: 45 end line: 72 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 177 unit: get_memory_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_memory_stats.rb start line: 49 end line: 76 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 178 unit: delete_expired_data file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_expired_data.rb start line: 55 end line: 82 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 179 unit: get_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics.rb start line: 61 end line: 88 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 180 unit: get_data_frame_analytics_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_data_frame_analytics_stats.rb start line: 56 end line: 83 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 181 unit: put_trained_model_definition_part file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_definition_part.rb start line: 45 end line: 74 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 182 unit: get_trained_models_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_trained_models_stats.rb start line: 53 end line: 80 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 183 unit: update_model_snapshot file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_model_snapshot.rb start line: 45 end line: 74 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 184 unit: get_job_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_job_stats.rb start line: 53 end line: 80 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 185 unit: get_datafeeds file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_datafeeds.rb start line: 60 end line: 87 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 186 unit: get_jobs file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_jobs.rb start line: 59 end line: 86 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 187 unit: health_report file: elasticsearch-api/lib/elasticsearch/api/actions/health_report.rb start line: 56 end line: 83 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 188 unit: create file: elasticsearch-api/lib/elasticsearch/api/actions/create.rb start line: 125 end line: 154 size: 21 LOC McCabe index: 8 number of parameters: 1 id: 189 unit: self.build_client_query file: rake_tasks/doc_generator.rake start line: 90 end line: 111 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 190 unit: parse_http_path file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 127 end line: 149 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 191 unit: put_alias file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_alias.rb start line: 53 end line: 81 size: 20 LOC McCabe index: 9 number of parameters: 1 id: 192 unit: split file: elasticsearch-api/lib/elasticsearch/api/actions/indices/split.rb start line: 75 end line: 103 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 193 unit: clone file: elasticsearch-api/lib/elasticsearch/api/actions/indices/clone.rb start line: 80 end line: 108 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 194 unit: shrink file: elasticsearch-api/lib/elasticsearch/api/actions/indices/shrink.rb start line: 72 end line: 100 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 195 unit: delete_alias file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_alias.rb start line: 50 end line: 78 size: 20 LOC McCabe index: 9 number of parameters: 1 id: 196 unit: add_block file: elasticsearch-api/lib/elasticsearch/api/actions/indices/add_block.rb start line: 61 end line: 89 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 197 unit: get_source file: elasticsearch-api/lib/elasticsearch/api/actions/get_source.rb start line: 67 end line: 95 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 198 unit: get_service_credentials file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_service_credentials.rb start line: 47 end line: 75 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 199 unit: delete_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/delete_privileges.rb start line: 48 end line: 76 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 200 unit: restore file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/restore.rb start line: 63 end line: 91 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 201 unit: create file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/create.rb start line: 51 end line: 79 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 202 unit: exists file: elasticsearch-api/lib/elasticsearch/api/actions/exists.rb start line: 80 end line: 108 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 203 unit: exists_source file: elasticsearch-api/lib/elasticsearch/api/actions/exists_source.rb start line: 63 end line: 91 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 204 unit: get_rule file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/get_rule.rb start line: 44 end line: 72 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 205 unit: delete_rule file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/delete_rule.rb start line: 45 end line: 73 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 206 unit: put_elser file: elasticsearch-api/lib/elasticsearch/api/actions/inference/put_elser.rb start line: 46 end line: 74 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 207 unit: delete_synonym_rule file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/delete_synonym_rule.rb start line: 46 end line: 74 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 208 unit: get_synonym_rule file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/get_synonym_rule.rb start line: 44 end line: 72 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 209 unit: get_model_snapshot_upgrade_stats file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_model_snapshot_upgrade_stats.rb start line: 52 end line: 80 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 210 unit: put_trained_model_alias file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_alias.rb start line: 62 end line: 90 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 211 unit: put_calendar_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_calendar_job.rb start line: 43 end line: 71 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 212 unit: delete_calendar_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_calendar_job.rb start line: 44 end line: 72 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 213 unit: revert_model_snapshot file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/revert_model_snapshot.rb start line: 59 end line: 87 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 214 unit: delete_model_snapshot file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_model_snapshot.rb start line: 46 end line: 74 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 215 unit: upgrade_job_snapshot file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/upgrade_job_snapshot.rb start line: 55 end line: 83 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 216 unit: delete_calendar_event file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_calendar_event.rb start line: 44 end line: 72 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 217 unit: delete_trained_model_alias file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_trained_model_alias.rb start line: 46 end line: 74 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 218 unit: list file: elasticsearch-api/utils/thor/lister.rb start line: 33 end line: 54 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 219 unit: put_policy file: elasticsearch-api/lib/elasticsearch/api/actions/enrich/put_policy.rb start line: 45 end line: 71 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 220 unit: put_index_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_index_template.rb start line: 67 end line: 93 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 221 unit: put_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_mapping.rb start line: 74 end line: 100 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 222 unit: put_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_template.rb start line: 64 end line: 90 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 223 unit: search file: elasticsearch-api/lib/elasticsearch/api/actions/eql/search.rb start line: 54 end line: 80 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 224 unit: put_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/logstash/put_pipeline.rb start line: 45 end line: 71 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 225 unit: update_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/update_transform.rb start line: 54 end line: 80 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 226 unit: put_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/put_transform.rb start line: 67 end line: 93 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 227 unit: delete_by_query file: elasticsearch-api/lib/elasticsearch/api/actions/delete_by_query.rb start line: 157 end line: 183 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 228 unit: put_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/put_user.rb start line: 50 end line: 76 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 229 unit: put_role_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/security/put_role_mapping.rb start line: 62 end line: 88 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 230 unit: update_user_profile_data file: elasticsearch-api/lib/elasticsearch/api/actions/security/update_user_profile_data.rb start line: 60 end line: 86 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 231 unit: put_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/put_role.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 232 unit: update_cross_cluster_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/update_cross_cluster_api_key.rb start line: 53 end line: 79 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 233 unit: create_repository file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/create_repository.rb start line: 57 end line: 83 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 234 unit: put file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/put.rb start line: 48 end line: 74 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 235 unit: update_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_pipeline.rb start line: 48 end line: 74 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 236 unit: update_configuration file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_configuration.rb start line: 48 end line: 74 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 237 unit: update_filtering_validation file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_filtering_validation.rb start line: 48 end line: 74 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 238 unit: update_service_type file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_service_type.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 239 unit: update_scheduling file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_scheduling.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 240 unit: update_index_name file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_index_name.rb start line: 48 end line: 74 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 241 unit: update_status file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_status.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 242 unit: update_filtering file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_filtering.rb start line: 50 end line: 76 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 243 unit: update_error file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_error.rb start line: 50 end line: 76 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 244 unit: update_features file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_features.rb start line: 57 end line: 83 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 245 unit: update_name file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_name.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 246 unit: update_api_key_id file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_api_key_id.rb start line: 51 end line: 77 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 247 unit: update_native file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_native.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 248 unit: put_geoip_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/put_geoip_database.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 249 unit: put_ip_location_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/put_ip_location_database.rb start line: 49 end line: 75 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 250 unit: put_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/put_pipeline.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 251 unit: put_ruleset file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/put_ruleset.rb start line: 49 end line: 75 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 252 unit: put_component_template file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/put_component_template.rb start line: 63 end line: 89 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 253 unit: put_auto_follow_pattern file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/put_auto_follow_pattern.rb start line: 49 end line: 75 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 254 unit: forget_follower file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/forget_follower.rb start line: 53 end line: 79 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 255 unit: follow file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow.rb start line: 50 end line: 76 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 256 unit: chat_completion_unified file: elasticsearch-api/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb start line: 52 end line: 78 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 257 unit: put_synonym file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/put_synonym.rb start line: 49 end line: 75 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 258 unit: update_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_job.rb start line: 44 end line: 70 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 259 unit: put_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_data_frame_analytics.rb start line: 50 end line: 76 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 260 unit: update_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_datafeed.rb start line: 60 end line: 86 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 261 unit: put_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_job.rb start line: 56 end line: 82 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 262 unit: update_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_data_frame_analytics.rb start line: 45 end line: 71 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 263 unit: post_data file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/post_data.rb start line: 47 end line: 73 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 264 unit: put_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_datafeed.rb start line: 69 end line: 95 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 265 unit: put_filter file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_filter.rb start line: 45 end line: 71 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 266 unit: update_filter file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_filter.rb start line: 44 end line: 70 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 267 unit: post_calendar_events file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/post_calendar_events.rb start line: 43 end line: 69 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 268 unit: put_trained_model file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model.rb start line: 49 end line: 75 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 269 unit: put_trained_model_vocabulary file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_trained_model_vocabulary.rb start line: 45 end line: 71 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 270 unit: infer_trained_model file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/infer_trained_model.rb start line: 44 end line: 70 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 271 unit: method_missing file: elasticsearch/lib/elasticsearch.rb start line: 58 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 3 id: 272 unit: initialize file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 26 end line: 46 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 273 unit: wipe_snapshots file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 236 end line: 256 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 274 unit: get_repositories_metering_info file: elasticsearch-api/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 275 unit: execute_policy file: elasticsearch-api/lib/elasticsearch/api/actions/enrich/execute_policy.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 276 unit: delete_policy file: elasticsearch-api/lib/elasticsearch/api/actions/enrich/delete_policy.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 277 unit: delete_dangling_index file: elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 278 unit: import_dangling_index file: elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 279 unit: reload_search_analyzers file: elasticsearch-api/lib/elasticsearch/api/actions/indices/reload_search_analyzers.rb start line: 56 end line: 81 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 280 unit: resolve_index file: elasticsearch-api/lib/elasticsearch/api/actions/indices/resolve_index.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 281 unit: create_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/create_data_stream.rb start line: 50 end line: 75 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 282 unit: disk_usage file: elasticsearch-api/lib/elasticsearch/api/actions/indices/disk_usage.rb start line: 64 end line: 89 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 283 unit: promote_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/promote_data_stream.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 284 unit: put_data_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/indices/put_data_lifecycle.rb start line: 54 end line: 79 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 285 unit: get_migrate_reindex_status file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_migrate_reindex_status.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 286 unit: migrate_to_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/migrate_to_data_stream.rb start line: 54 end line: 79 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 287 unit: field_usage_stats file: elasticsearch-api/lib/elasticsearch/api/actions/indices/field_usage_stats.rb start line: 59 end line: 84 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 288 unit: simulate_index_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/simulate_index_template.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 289 unit: exists file: elasticsearch-api/lib/elasticsearch/api/actions/indices/exists.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 290 unit: delete_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_stream.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 291 unit: open file: elasticsearch-api/lib/elasticsearch/api/actions/indices/open.rb start line: 75 end line: 100 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 292 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get.rb start line: 57 end line: 82 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 293 unit: get_data_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb start line: 50 end line: 75 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 294 unit: close file: elasticsearch-api/lib/elasticsearch/api/actions/indices/close.rb start line: 68 end line: 93 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 295 unit: delete_index_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_index_template.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 296 unit: cancel_migrate_reindex file: elasticsearch-api/lib/elasticsearch/api/actions/indices/cancel_migrate_reindex.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 297 unit: explain_data_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/indices/explain_data_lifecycle.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 298 unit: exists_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_template.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 299 unit: delete_data_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/indices/delete_data_lifecycle.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 300 unit: create file: elasticsearch-api/lib/elasticsearch/api/actions/indices/create.rb start line: 72 end line: 97 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 301 unit: exists_index_template file: elasticsearch-api/lib/elasticsearch/api/actions/indices/exists_index_template.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 302 unit: reindex_rethrottle file: elasticsearch-api/lib/elasticsearch/api/actions/reindex_rethrottle.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 303 unit: global_checkpoints file: elasticsearch-api/lib/elasticsearch/api/actions/fleet/global_checkpoints.rb start line: 52 end line: 77 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 304 unit: explain_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/explain_lifecycle.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 305 unit: put_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/put_lifecycle.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 306 unit: retry file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/retry.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 307 unit: delete_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/delete_lifecycle.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 308 unit: move_to_step file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/move_to_step.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 309 unit: remove_policy file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/remove_policy.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 310 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/tasks/get.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 311 unit: async_query_stop file: elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query_stop.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 312 unit: async_query_get file: elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query_get.rb start line: 54 end line: 79 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 313 unit: async_query_delete file: elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query_delete.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 314 unit: get_query file: elasticsearch-api/lib/elasticsearch/api/actions/esql/get_query.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 315 unit: get_status file: elasticsearch-api/lib/elasticsearch/api/actions/eql/get_status.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 316 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/eql/get.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 317 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/eql/delete.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 318 unit: delete_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/logstash/delete_pipeline.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 319 unit: start_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/start_transform.rb start line: 57 end line: 82 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 320 unit: stop_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/stop_transform.rb start line: 56 end line: 81 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 321 unit: reset_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/reset_transform.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 322 unit: schedule_now_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/schedule_now_transform.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 323 unit: delete_transform file: elasticsearch-api/lib/elasticsearch/api/actions/transform/delete_transform.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 324 unit: get_transform_stats file: elasticsearch-api/lib/elasticsearch/api/actions/transform/get_transform_stats.rb start line: 55 end line: 80 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 325 unit: update_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/update_api_key.rb start line: 56 end line: 81 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 326 unit: clear_cached_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/clear_cached_privileges.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 327 unit: enable_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/enable_user.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 328 unit: delete_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/delete_user.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 329 unit: delete_role_mapping file: elasticsearch-api/lib/elasticsearch/api/actions/security/delete_role_mapping.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 330 unit: saml_service_provider_metadata file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_service_provider_metadata.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 331 unit: clear_api_key_cache file: elasticsearch-api/lib/elasticsearch/api/actions/security/clear_api_key_cache.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 332 unit: clear_cached_roles file: elasticsearch-api/lib/elasticsearch/api/actions/security/clear_cached_roles.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 333 unit: disable_user_profile file: elasticsearch-api/lib/elasticsearch/api/actions/security/disable_user_profile.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 334 unit: clear_cached_realms file: elasticsearch-api/lib/elasticsearch/api/actions/security/clear_cached_realms.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 335 unit: disable_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/disable_user.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 336 unit: delete_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/delete_role.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 337 unit: enable_user_profile file: elasticsearch-api/lib/elasticsearch/api/actions/security/enable_user_profile.rb start line: 52 end line: 77 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 338 unit: get_user_profile file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_user_profile.rb start line: 50 end line: 75 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 339 unit: cleanup_repository file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 340 unit: verify_repository file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/verify_repository.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 341 unit: repository_analyze file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb start line: 134 end line: 159 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 342 unit: render_query file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/render_query.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 343 unit: put_behavioral_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/put_behavioral_analytics.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 344 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/get.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 345 unit: delete_behavioral_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/delete_behavioral_analytics.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 346 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/delete.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 347 unit: open_point_in_time file: elasticsearch-api/lib/elasticsearch/api/actions/open_point_in_time.rb start line: 79 end line: 104 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 348 unit: update_active_filtering file: elasticsearch-api/lib/elasticsearch/api/actions/connector/update_active_filtering.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 349 unit: check_in file: elasticsearch-api/lib/elasticsearch/api/actions/connector/check_in.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 350 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/connector/get.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 351 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/connector/delete.rb start line: 52 end line: 77 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 352 unit: delete_geoip_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/delete_geoip_database.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 353 unit: delete_ip_location_database file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/delete_ip_location_database.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 354 unit: delete_pipeline file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 355 unit: get_script file: elasticsearch-api/lib/elasticsearch/api/actions/get_script.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 356 unit: activate_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/activate_watch.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 357 unit: deactivate_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/deactivate_watch.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 358 unit: put_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/put_watch.rb start line: 56 end line: 81 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 359 unit: get_watch file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_watch.rb start line: 42 end line: 67 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 360 unit: delete_script file: elasticsearch-api/lib/elasticsearch/api/actions/delete_script.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 361 unit: put_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb start line: 52 end line: 77 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 362 unit: execute_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_lifecycle.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 363 unit: delete_lifecycle file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/delete_lifecycle.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 364 unit: delete_by_query_rethrottle file: elasticsearch-api/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 365 unit: get_ruleset file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/get_ruleset.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 366 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/async_search/get.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 367 unit: status file: elasticsearch-api/lib/elasticsearch/api/actions/async_search/status.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 368 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/async_search/delete.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 369 unit: delete_component_template file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_component_template.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 370 unit: exists_component_template file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/exists_component_template.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 371 unit: info file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/info.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 372 unit: get_async_status file: elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async_status.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 373 unit: get_async file: elasticsearch-api/lib/elasticsearch/api/actions/sql/get_async.rb start line: 53 end line: 78 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 374 unit: delete_async file: elasticsearch-api/lib/elasticsearch/api/actions/sql/delete_async.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 375 unit: delete_auto_follow_pattern file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/delete_auto_follow_pattern.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 376 unit: pause_follow file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/pause_follow.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 377 unit: unfollow file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/unfollow.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 378 unit: follow_stats file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow_stats.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 379 unit: pause_auto_follow_pattern file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/pause_auto_follow_pattern.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 380 unit: follow_info file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow_info.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 381 unit: resume_auto_follow_pattern file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/resume_auto_follow_pattern.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 382 unit: resume_follow file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/resume_follow.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 383 unit: text_embedding file: elasticsearch-api/lib/elasticsearch/api/actions/inference/text_embedding.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 384 unit: stream_completion file: elasticsearch-api/lib/elasticsearch/api/actions/inference/stream_completion.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 385 unit: completion file: elasticsearch-api/lib/elasticsearch/api/actions/inference/completion.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 386 unit: rerank file: elasticsearch-api/lib/elasticsearch/api/actions/inference/rerank.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 387 unit: sparse_embedding file: elasticsearch-api/lib/elasticsearch/api/actions/inference/sparse_embedding.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 388 unit: delete_synonym file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/delete_synonym.rb start line: 54 end line: 79 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 389 unit: get_synonym file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/get_synonym.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 390 unit: delete_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_job.rb start line: 55 end line: 80 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 391 unit: start_trained_model_deployment file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb start line: 65 end line: 90 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 392 unit: delete_trained_model file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_trained_model.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 393 unit: clear_trained_model_deployment_cache file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/clear_trained_model_deployment_cache.rb start line: 46 end line: 71 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 394 unit: delete_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_datafeed.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 395 unit: stop_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_data_frame_analytics.rb start line: 58 end line: 83 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 396 unit: flush_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/flush_job.rb start line: 61 end line: 86 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 397 unit: put_calendar file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/put_calendar.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 398 unit: open_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/open_job.rb start line: 50 end line: 75 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 399 unit: start_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_datafeed.rb start line: 69 end line: 94 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 400 unit: start_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/start_data_frame_analytics.rb start line: 57 end line: 82 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 401 unit: delete_calendar file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_calendar.rb start line: 43 end line: 68 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 402 unit: delete_filter file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_filter.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 403 unit: delete_data_frame_analytics file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/delete_data_frame_analytics.rb start line: 44 end line: 69 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 404 unit: stop_trained_model_deployment file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_trained_model_deployment.rb start line: 48 end line: 73 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 405 unit: reset_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/reset_job.rb start line: 51 end line: 76 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 406 unit: update_trained_model_deployment file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/update_trained_model_deployment.rb start line: 49 end line: 74 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 407 unit: stop_datafeed file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/stop_datafeed.rb start line: 56 end line: 81 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 408 unit: close_job file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/close_job.rb start line: 52 end line: 77 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 409 unit: forecast file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/forecast.rb start line: 59 end line: 84 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 410 unit: get_calendar_events file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/get_calendar_events.rb start line: 47 end line: 72 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 411 unit: update_by_query_rethrottle file: elasticsearch-api/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb start line: 45 end line: 70 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 412 unit: update_by_query file: elasticsearch-api/lib/elasticsearch/api/actions/update_by_query.rb start line: 167 end line: 192 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 413 unit: download_file! file: rake_tasks/elasticsearch_tasks.rake start line: 55 end line: 74 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 414 unit: self.perform file: rake_tasks/doc_generator.rake start line: 183 end line: 202 size: 18 LOC McCabe index: 7 number of parameters: 2 id: 415 unit: generate_source file: elasticsearch-api/utils/thor/generate_source.rb start line: 62 end line: 86 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 416 unit: compare_string file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 260 end line: 281 size: 17 LOC McCabe index: 8 number of parameters: 4 id: 417 unit: scroll file: elasticsearch-api/lib/elasticsearch/api/actions/scroll.rb start line: 58 end line: 81 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 418 unit: api_key file: elasticsearch/lib/elasticsearch.rb start line: 125 end line: 141 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 419 unit: query_api_keys file: elasticsearch-api/lib/elasticsearch/api/actions/security/query_api_keys.rb start line: 53 end line: 74 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 420 unit: suggest_user_profiles file: elasticsearch-api/lib/elasticsearch/api/actions/security/suggest_user_profiles.rb start line: 51 end line: 72 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 421 unit: query_user file: elasticsearch-api/lib/elasticsearch/api/actions/security/query_user.rb start line: 47 end line: 68 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 422 unit: query_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/query_role.rb start line: 47 end line: 68 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 423 unit: query_watches file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/query_watches.rb start line: 44 end line: 65 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 424 unit: allocation_explain file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/allocation_explain.rb start line: 49 end line: 70 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 425 unit: scripts_painless_execute file: elasticsearch-api/lib/elasticsearch/api/actions/scripts_painless_execute.rb start line: 50 end line: 71 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 426 unit: self.included file: elasticsearch-api/spec/spec_helper.rb start line: 42 end line: 59 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 427 unit: parse_http_method file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 109 end line: 126 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 428 unit: ping file: elasticsearch-api/lib/elasticsearch/api/actions/ping.rb start line: 41 end line: 61 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 429 unit: wait_for_pending_rollup_tasks file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 197 end line: 213 size: 14 LOC McCabe index: 9 number of parameters: 1 id: 430 unit: compare_array file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 282 end line: 296 size: 14 LOC McCabe index: 7 number of parameters: 4 id: 431 unit: setup_cloud_host file: elasticsearch/lib/elasticsearch.rb start line: 110 end line: 124 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 432 unit: ping_perform_request file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 84 end line: 97 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 433 unit: stability_doc_helper file: elasticsearch-api/utils/thor/generator/docs_helper.rb start line: 34 end line: 59 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 434 unit: migrate_reindex file: elasticsearch-api/lib/elasticsearch/api/actions/indices/migrate_reindex.rb start line: 49 end line: 67 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 435 unit: modify_data_stream file: elasticsearch-api/lib/elasticsearch/api/actions/indices/modify_data_stream.rb start line: 43 end line: 61 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 436 unit: update_aliases file: elasticsearch-api/lib/elasticsearch/api/actions/indices/update_aliases.rb start line: 47 end line: 65 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 437 unit: query file: elasticsearch-api/lib/elasticsearch/api/actions/esql/query.rb start line: 52 end line: 70 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 438 unit: async_query file: elasticsearch-api/lib/elasticsearch/api/actions/esql/async_query.rb start line: 61 end line: 79 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 439 unit: oidc_authenticate file: elasticsearch-api/lib/elasticsearch/api/actions/security/oidc_authenticate.rb start line: 45 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 440 unit: bulk_update_api_keys file: elasticsearch-api/lib/elasticsearch/api/actions/security/bulk_update_api_keys.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 441 unit: saml_logout file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_logout.rb start line: 47 end line: 65 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 442 unit: delegate_pki file: elasticsearch-api/lib/elasticsearch/api/actions/security/delegate_pki.rb start line: 49 end line: 67 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 443 unit: put_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/put_privileges.rb start line: 55 end line: 73 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 444 unit: bulk_put_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/bulk_put_role.rb start line: 45 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 445 unit: has_privileges_user_profile file: elasticsearch-api/lib/elasticsearch/api/actions/security/has_privileges_user_profile.rb start line: 45 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 446 unit: update_settings file: elasticsearch-api/lib/elasticsearch/api/actions/security/update_settings.rb start line: 50 end line: 68 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 447 unit: grant_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/grant_api_key.rb start line: 57 end line: 75 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 448 unit: bulk_delete_role file: elasticsearch-api/lib/elasticsearch/api/actions/security/bulk_delete_role.rb start line: 45 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 449 unit: saml_complete_logout file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_complete_logout.rb start line: 50 end line: 68 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 450 unit: get_token file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_token.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 451 unit: saml_prepare_authentication file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_prepare_authentication.rb start line: 52 end line: 70 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 452 unit: create_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/create_api_key.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 453 unit: oidc_logout file: elasticsearch-api/lib/elasticsearch/api/actions/security/oidc_logout.rb start line: 46 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 454 unit: invalidate_token file: elasticsearch-api/lib/elasticsearch/api/actions/security/invalidate_token.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 455 unit: saml_authenticate file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_authenticate.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 456 unit: create_cross_cluster_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/create_cross_cluster_api_key.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 457 unit: activate_user_profile file: elasticsearch-api/lib/elasticsearch/api/actions/security/activate_user_profile.rb start line: 51 end line: 69 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 458 unit: saml_invalidate file: elasticsearch-api/lib/elasticsearch/api/actions/security/saml_invalidate.rb start line: 49 end line: 67 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 459 unit: oidc_prepare_authentication file: elasticsearch-api/lib/elasticsearch/api/actions/security/oidc_prepare_authentication.rb start line: 46 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 460 unit: invalidate_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/invalidate_api_key.rb start line: 52 end line: 70 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 461 unit: sync_job_post file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_post.rb start line: 47 end line: 65 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 462 unit: update_settings file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/update_settings.rb start line: 52 end line: 70 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 463 unit: reindex file: elasticsearch-api/lib/elasticsearch/api/actions/reindex.rb start line: 196 end line: 214 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 464 unit: put_settings file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/put_settings.rb start line: 58 end line: 76 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 465 unit: query file: elasticsearch-api/lib/elasticsearch/api/actions/sql/query.rb start line: 46 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 466 unit: translate file: elasticsearch-api/lib/elasticsearch/api/actions/sql/translate.rb start line: 44 end line: 62 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 467 unit: clear_cursor file: elasticsearch-api/lib/elasticsearch/api/actions/sql/clear_cursor.rb start line: 42 end line: 60 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 468 unit: find_message_structure file: elasticsearch-api/lib/elasticsearch/api/actions/text_structure/find_message_structure.rb start line: 115 end line: 133 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 469 unit: pending_tasks file: elasticsearch-api/lib/elasticsearch/api/actions/cat/pending_tasks.rb start line: 58 end line: 75 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 470 unit: health file: elasticsearch-api/lib/elasticsearch/api/actions/cat/health.rb start line: 61 end line: 78 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 471 unit: nodes file: elasticsearch-api/lib/elasticsearch/api/actions/cat/nodes.rb start line: 58 end line: 75 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 472 unit: evaluate_data_frame file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/evaluate_data_frame.rb start line: 46 end line: 64 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 473 unit: estimate_model_memory file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/estimate_model_memory.rb start line: 45 end line: 63 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 474 unit: msearch_template_body_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 122 end line: 134 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 475 unit: read_plugins file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 176 end line: 189 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 476 unit: wipe_searchable_snapshot_indices file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 222 end line: 235 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 477 unit: wait_for_cluster_tasks file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 318 end line: 331 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 478 unit: wipe_cluster_settings file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 350 end line: 363 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 479 unit: delete_trained_models file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 456 end line: 469 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 480 unit: get_features file: elasticsearch-api/lib/elasticsearch/api/actions/features/get_features.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 481 unit: reset_features file: elasticsearch-api/lib/elasticsearch/api/actions/features/reset_features.rb start line: 56 end line: 72 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 482 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/enrich/stats.rb start line: 43 end line: 59 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 483 unit: list_dangling_indices file: elasticsearch-api/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 484 unit: get_data_lifecycle_stats file: elasticsearch-api/lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb start line: 42 end line: 58 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 485 unit: get_script_context file: elasticsearch-api/lib/elasticsearch/api/actions/get_script_context.rb start line: 41 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 486 unit: get_script_languages file: elasticsearch-api/lib/elasticsearch/api/actions/get_script_languages.rb start line: 41 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 487 unit: usage file: elasticsearch-api/lib/elasticsearch/api/actions/xpack/usage.rb start line: 46 end line: 62 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 488 unit: info file: elasticsearch-api/lib/elasticsearch/api/actions/xpack/info.rb start line: 50 end line: 66 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 489 unit: get_feature_upgrade_status file: elasticsearch-api/lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 490 unit: post_feature_upgrade file: elasticsearch-api/lib/elasticsearch/api/actions/migration/post_feature_upgrade.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 491 unit: certificates file: elasticsearch-api/lib/elasticsearch/api/actions/ssl/certificates.rb start line: 51 end line: 67 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 492 unit: get_status file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/get_status.rb start line: 42 end line: 58 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 493 unit: migrate_to_data_tiers file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/migrate_to_data_tiers.rb start line: 57 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 494 unit: stop file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/stop.rb start line: 47 end line: 63 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 495 unit: start file: elasticsearch-api/lib/elasticsearch/api/actions/index_lifecycle_management/start.rb start line: 46 end line: 62 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 496 unit: list file: elasticsearch-api/lib/elasticsearch/api/actions/tasks/list.rb start line: 114 end line: 130 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 497 unit: list_queries file: elasticsearch-api/lib/elasticsearch/api/actions/esql/list_queries.rb start line: 46 end line: 62 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 498 unit: upgrade_transforms file: elasticsearch-api/lib/elasticsearch/api/actions/transform/upgrade_transforms.rb start line: 55 end line: 71 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 499 unit: get_node_stats file: elasticsearch-api/lib/elasticsearch/api/actions/transform/get_node_stats.rb start line: 30 end line: 46 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 500 unit: get_user_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_user_privileges.rb start line: 48 end line: 64 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 501 unit: authenticate file: elasticsearch-api/lib/elasticsearch/api/actions/security/authenticate.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 502 unit: get_settings file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_settings.rb start line: 48 end line: 64 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 503 unit: get_builtin_privileges file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_builtin_privileges.rb start line: 42 end line: 58 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 504 unit: enroll_kibana file: elasticsearch-api/lib/elasticsearch/api/actions/security/enroll_kibana.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 505 unit: enroll_node file: elasticsearch-api/lib/elasticsearch/api/actions/security/enroll_node.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 506 unit: get_api_key file: elasticsearch-api/lib/elasticsearch/api/actions/security/get_api_key.rb start line: 61 end line: 77 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 507 unit: list file: elasticsearch-api/lib/elasticsearch/api/actions/search_application/list.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 508 unit: list file: elasticsearch-api/lib/elasticsearch/api/actions/connector/list.rb start line: 53 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 509 unit: sync_job_list file: elasticsearch-api/lib/elasticsearch/api/actions/connector/sync_job_list.rb start line: 51 end line: 67 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 510 unit: post file: elasticsearch-api/lib/elasticsearch/api/actions/connector/post.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 511 unit: close_point_in_time file: elasticsearch-api/lib/elasticsearch/api/actions/close_point_in_time.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 512 unit: geo_ip_stats file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb start line: 42 end line: 58 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 513 unit: processor_grok file: elasticsearch-api/lib/elasticsearch/api/actions/ingest/processor_grok.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 514 unit: get_settings file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/get_settings.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 515 unit: stop file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/stop.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 516 unit: start file: elasticsearch-api/lib/elasticsearch/api/actions/watcher/start.rb start line: 43 end line: 59 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 517 unit: get_status file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_status.rb start line: 47 end line: 63 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 518 unit: get_stats file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_stats.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 519 unit: execute_retention file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_retention.rb start line: 47 end line: 63 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 520 unit: stop file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/stop.rb start line: 53 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 521 unit: start file: elasticsearch-api/lib/elasticsearch/api/actions/snapshot_lifecycle_management/start.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 522 unit: info file: elasticsearch-api/lib/elasticsearch/api/actions/info.rb start line: 41 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 523 unit: list_rulesets file: elasticsearch-api/lib/elasticsearch/api/actions/query_rules/list_rulesets.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 524 unit: remote_info file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/remote_info.rb start line: 43 end line: 59 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 525 unit: post_voting_config_exclusions file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb start line: 64 end line: 80 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 526 unit: pending_tasks file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/pending_tasks.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 527 unit: get_settings file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/get_settings.rb start line: 48 end line: 64 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 528 unit: reroute file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/reroute.rb start line: 58 end line: 74 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 529 unit: delete_voting_config_exclusions file: elasticsearch-api/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 530 unit: post_start_trial file: elasticsearch-api/lib/elasticsearch/api/actions/license/post_start_trial.rb start line: 48 end line: 64 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 531 unit: get_trial_status file: elasticsearch-api/lib/elasticsearch/api/actions/license/get_trial_status.rb start line: 41 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 532 unit: get file: elasticsearch-api/lib/elasticsearch/api/actions/license/get.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 533 unit: post_start_basic file: elasticsearch-api/lib/elasticsearch/api/actions/license/post_start_basic.rb start line: 49 end line: 65 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 534 unit: post file: elasticsearch-api/lib/elasticsearch/api/actions/license/post.rb start line: 51 end line: 67 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 535 unit: delete file: elasticsearch-api/lib/elasticsearch/api/actions/license/delete.rb start line: 45 end line: 61 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 536 unit: get_basic_status file: elasticsearch-api/lib/elasticsearch/api/actions/license/get_basic_status.rb start line: 41 end line: 57 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 537 unit: find_field_structure file: elasticsearch-api/lib/elasticsearch/api/actions/text_structure/find_field_structure.rb start line: 118 end line: 134 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 538 unit: stats file: elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/stats.rb start line: 46 end line: 62 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 539 unit: nodeattrs file: elasticsearch-api/lib/elasticsearch/api/actions/cat/nodeattrs.rb start line: 57 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 540 unit: plugins file: elasticsearch-api/lib/elasticsearch/api/actions/cat/plugins.rb start line: 58 end line: 74 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 541 unit: tasks file: elasticsearch-api/lib/elasticsearch/api/actions/cat/tasks.rb start line: 64 end line: 80 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 542 unit: help file: elasticsearch-api/lib/elasticsearch/api/actions/cat/help.rb start line: 31 end line: 47 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 543 unit: master file: elasticsearch-api/lib/elasticsearch/api/actions/cat/master.rb start line: 57 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 544 unit: repositories file: elasticsearch-api/lib/elasticsearch/api/actions/cat/repositories.rb start line: 57 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 545 unit: get_synonyms_sets file: elasticsearch-api/lib/elasticsearch/api/actions/synonyms/get_synonyms_sets.rb start line: 44 end line: 60 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 546 unit: info file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/info.rb start line: 48 end line: 64 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 547 unit: set_upgrade_mode file: elasticsearch-api/lib/elasticsearch/api/actions/machine_learning/set_upgrade_mode.rb start line: 57 end line: 73 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 548 unit: self.format_code file: rake_tasks/doc_generator.rake start line: 112 end line: 130 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 549 unit: self.query file: elasticsearch/lib/elasticsearch/helpers/esql_helper.rb start line: 57 end line: 69 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 550 unit: set_user_agent! file: elasticsearch/lib/elasticsearch.rb start line: 169 end line: 180 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 551 unit: set_content_type! file: elasticsearch/lib/elasticsearch.rb start line: 181 end line: 192 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 552 unit: specific_params file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 58 end line: 69 size: 11 LOC McCabe index: 6 number of parameters: 2 id: 553 unit: docs file: elasticsearch-api/utils/thor/generator/docs_helper.rb start line: 21 end line: 33 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 554 unit: documentation_url file: elasticsearch-api/utils/thor/generator/files_helper.rb start line: 46 end line: 59 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 555 unit: ingest file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 47 end line: 57 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 556 unit: update file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 77 end line: 87 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 557 unit: initialize file: elasticsearch/lib/elasticsearch.rb start line: 47 end line: 57 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 558 unit: add_hash file: elasticsearch-api/utils/thor/generator/build_hash_helper.rb start line: 30 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: parse_full_namespace file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 88 end line: 99 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 560 unit: platinum_template? file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 301 end line: 313 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 561 unit: skippable_task? file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 332 end line: 342 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 562 unit: listify file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 51 end line: 62 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: write_file file: rake_tasks/doc_generator.rake start line: 158 end line: 168 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 564 unit: results file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 54 end line: 63 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 565 unit: bulk_body_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 135 end line: 144 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 566 unit: post_and_get file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 188 end line: 198 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 567 unit: compare_pairs file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 184 end line: 193 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 568 unit: rescue_from_not_found file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 169 end line: 178 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 569 unit: generate_docs file: rake_tasks/doc_generator.rake start line: 79 end line: 89 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 570 unit: ingest_json file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 109 end line: 118 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 571 unit: setup_cloud file: elasticsearch/lib/elasticsearch.rb start line: 142 end line: 150 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: close file: elasticsearch-api/spec/rspec_formatter.rb start line: 22 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: generate_tests file: elasticsearch-api/utils/thor/generate_source.rb start line: 87 end line: 98 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 574 unit: parse_endpoint_parts file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 100 end line: 108 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 575 unit: parse_required_parts file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 177 end line: 187 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 576 unit: wipe_datastreams file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 257 end line: 265 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 577 unit: clear_tasks file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 404 end line: 412 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 578 unit: pathify file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 75 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 579 unit: show_parameters file: rake_tasks/doc_generator.rake start line: 131 end line: 139 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 580 unit: skip_test? file: elasticsearch-api/spec/rest_api/rest_api_yaml_spec.rb start line: 27 end line: 36 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 581 unit: build_hash file: elasticsearch-api/utils/thor/generator/build_hash_helper.rb start line: 22 end line: 29 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 582 unit: build_hash_comment file: elasticsearch-api/utils/thor/generator/build_hash_helper.rb start line: 41 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 583 unit: original_build_hash file: elasticsearch-api/utils/thor/generator/build_hash_helper.rb start line: 51 end line: 60 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 584 unit: files file: elasticsearch-api/utils/thor/generator/files_helper.rb start line: 32 end line: 40 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 585 unit: clear_index_templates file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 417 end line: 424 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: delete_all_node_shutdown_metadata file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 438 end line: 446 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 587 unit: delete_data_frame_analytics file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 447 end line: 455 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 588 unit: method_missing file: elasticsearch-api/lib/elasticsearch/api/response.rb start line: 29 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 589 unit: show_body file: rake_tasks/doc_generator.rake start line: 140 end line: 147 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 590 unit: self.response_successful file: rake_tasks/doc_generator.rake start line: 220 end line: 227 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 591 unit: initialize file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 33 end line: 39 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 592 unit: each file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 44 end line: 50 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 593 unit: self.client_meta_version file: elasticsearch/lib/elasticsearch.rb start line: 211 end line: 218 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 594 unit: generate file: elasticsearch-api/utils/thor/generate_source.rb start line: 51 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 595 unit: print_source_code file: elasticsearch-api/utils/thor/generate_source.rb start line: 99 end line: 106 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: parse_path file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 150 end line: 156 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: self.run file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 47 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: self.create_xpack_rest_user file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 54 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: wipe_rollup_jobs file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 190 end line: 196 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 600 unit: delete_all_slm_policies file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 214 end line: 221 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: delete_all_ilm_policies file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 343 end line: 349 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 602 unit: delete_all_follow_patterns file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 364 end line: 371 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: clear_ml_jobs file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 390 end line: 396 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: clear_datafeeds file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 397 end line: 403 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: clear_ml_filters file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 431 end line: 437 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 606 unit: wipe_calendars file: elasticsearch-api/api-spec-testing/custom_cleanup.rb start line: 22 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: delete_first_log_line file: rake_tasks/doc_generator.rake start line: 169 end line: 175 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: self.log_successful_code file: rake_tasks/doc_generator.rake start line: 207 end line: 213 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 609 unit: initial_search file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 73 end line: 78 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 610 unit: initialize file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 32 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 611 unit: bulk_request file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 121 end line: 126 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 612 unit: set_header file: elasticsearch/lib/elasticsearch.rb start line: 193 end line: 198 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 613 unit: print_tree file: elasticsearch-api/utils/thor/generate_source.rb start line: 107 end line: 113 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 614 unit: cleanup_directory! file: elasticsearch-api/utils/thor/generate_source.rb start line: 114 end line: 120 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 615 unit: path_variables file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 157 end line: 162 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 616 unit: parse_path_variables file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 163 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 617 unit: clear_roles file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 372 end line: 377 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 618 unit: clear_users file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 378 end line: 383 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 619 unit: clear_privileges file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 384 end line: 389 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 620 unit: clear_transforms file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 425 end line: 430 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 621 unit: version_from_buildkite file: rake_tasks/elasticsearch_tasks.rake start line: 121 end line: 126 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 622 unit: version_from_running_cluster file: rake_tasks/elasticsearch_tasks.rake start line: 127 end line: 132 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 623 unit: is_boolean? file: rake_tasks/doc_generator.rake start line: 152 end line: 157 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 624 unit: self.log_elasticsearch_error file: rake_tasks/doc_generator.rake start line: 214 end line: 219 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 625 unit: clear file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 66 end line: 70 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 626 unit: delete file: elasticsearch/lib/elasticsearch/helpers/bulk_helper.rb start line: 63 end line: 67 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 627 unit: encode file: elasticsearch/lib/elasticsearch.rb start line: 154 end line: 158 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 628 unit: sent_user_agent? file: elasticsearch/lib/elasticsearch.rb start line: 163 end line: 168 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 629 unit: module_name_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 78 end line: 83 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 630 unit: bulk_doc_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 149 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 631 unit: cleanup_output_dir! file: elasticsearch-api/utils/thor/generator/files_helper.rb start line: 61 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 632 unit: compare_string_response file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 297 end line: 301 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 633 unit: respond_to_missing? file: elasticsearch-api/lib/elasticsearch/api/response.rb start line: 37 end line: 41 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 634 unit: escape file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 30 end line: 35 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 635 unit: process_params file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 133 end line: 137 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 636 unit: termvector file: elasticsearch-api/lib/elasticsearch/api/actions/termvectors.rb start line: 123 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 637 unit: meta_version file: elasticsearch/spec/spec_helper.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 638 unit: jruby? file: elasticsearch/spec/spec_helper.rb start line: 29 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 639 unit: scroll_request file: elasticsearch/lib/elasticsearch/helpers/scroll_helper.rb start line: 79 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 640 unit: respond_to_missing? file: elasticsearch/lib/elasticsearch.rb start line: 79 end line: 82 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 641 unit: elasticsearch_validation_request file: elasticsearch/lib/elasticsearch.rb start line: 159 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 642 unit: initialize file: elasticsearch/lib/elasticsearch.rb start line: 202 end line: 205 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 643 unit: run_rubocop file: elasticsearch-api/utils/thor/generate_source.rb start line: 121 end line: 124 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 644 unit: needs_ignore_404? file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 70 end line: 73 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 645 unit: needs_complex_ignore_404? file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 74 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 646 unit: find_structure_body_helper file: elasticsearch-api/utils/thor/endpoint_specifics.rb start line: 145 end line: 148 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 647 unit: output_dir file: elasticsearch-api/utils/thor/generator/files_helper.rb start line: 42 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 648 unit: body file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 61 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 649 unit: documentation file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 65 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: stability file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 69 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 651 unit: visibility file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 73 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 652 unit: skippable? file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 77 end line: 80 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 653 unit: specific_params file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 82 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 654 unit: extract_path_variables file: elasticsearch-api/utils/thor/endpoint_spec.rb start line: 170 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: logger file: elasticsearch-api/api-spec-testing/logging.rb start line: 22 end line: 25 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 656 unit: ensure_no_initializing_shards file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 143 end line: 146 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 657 unit: platinum? file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 172 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 658 unit: wipe_all_indices file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 266 end line: 269 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 659 unit: preserve_policy? file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 314 end line: 317 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 660 unit: clear_machine_learning_indices file: elasticsearch-api/api-spec-testing/wipe_cluster.rb start line: 413 end line: 416 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 661 unit: sanitize_pairs file: elasticsearch-api/api-spec-testing/rspec_matchers.rb start line: 179 end line: 183 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 662 unit: initialize file: elasticsearch-api/lib/elasticsearch/api.rb start line: 41 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 663 unit: perform_request file: elasticsearch-api/lib/elasticsearch/api.rb start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 6 id: 664 unit: self.serializer file: elasticsearch-api/lib/elasticsearch/api.rb start line: 115 end line: 118 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 665 unit: self.settings file: elasticsearch-api/lib/elasticsearch/api.rb start line: 121 end line: 124 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 666 unit: initialize file: elasticsearch-api/lib/elasticsearch/api/response.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 667 unit: to_s file: elasticsearch-api/lib/elasticsearch/api/response.rb start line: 42 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: extract_parts file: elasticsearch-api/lib/elasticsearch/api/utils.rb start line: 154 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 669 unit: json_data file: rake_tasks/doc_generator.rake start line: 75 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 670 unit: is_number? file: rake_tasks/doc_generator.rake start line: 148 end line: 151 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 671 unit: self.client file: rake_tasks/doc_generator.rake start line: 203 end line: 206 size: 3 LOC McCabe index: 2 number of parameters: 0