id: 1 unit: def get_dns_name_and_fallback_mount_target_ip_address() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 84 LOC McCabe index: 18 number of parameters: 3 id: 2 unit: def get_mount_target_in_az() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 71 LOC McCabe index: 16 number of parameters: 4 id: 3 unit: def start_watchdog() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 58 LOC McCabe index: 9 number of parameters: 1 id: 4 unit: def start_tls_tunnel() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 57 LOC McCabe index: 15 number of parameters: 4 id: 5 unit: def mount_nfs() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 51 LOC McCabe index: 9 number of parameters: 6 id: 6 unit: def get_current_local_nfs_mounts() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 51 LOC McCabe index: 16 number of parameters: 1 id: 7 unit: def match_device() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 50 LOC McCabe index: 11 number of parameters: 3 id: 8 unit: fn test_parse_config() file: src/proxy/src/config_parser.rs start line: 102 end line: 154 size: 50 LOC McCabe index: 2 number of parameters: 0 id: 9 unit: def check_and_create_private_key() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 48 LOC McCabe index: 11 number of parameters: 1 id: 10 unit: def publish_cloudwatch_log() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 48 LOC McCabe index: 12 number of parameters: 2 id: 11 unit: def get_aws_security_credentials_from_webidentity() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 48 LOC McCabe index: 5 number of parameters: 4 id: 12 unit: def check_and_create_private_key() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 48 LOC McCabe index: 12 number of parameters: 1 id: 13 unit: fn test_parse_config_fips_disabled() file: src/proxy/src/config_parser.rs start line: 157 end line: 205 size: 46 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: def get_az_id_by_az_name_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 43 LOC McCabe index: 11 number of parameters: 3 id: 15 unit: def main() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 42 LOC McCabe index: 7 number of parameters: 0 id: 16 unit: def get_aws_security_credentials_from_pod_identity() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 41 LOC McCabe index: 12 number of parameters: 2 id: 17 unit: def create_cloudwatch_log_group() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 41 LOC McCabe index: 9 number of parameters: 2 id: 18 unit: def get_log_stream_next_token() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 41 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: def get_mount_targets_info() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 41 LOC McCabe index: 8 number of parameters: 2 id: 20 unit: def get_nfs_mount_options_on_macos() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 38 LOC McCabe index: 6 number of parameters: 2 id: 21 unit: def is_mount_stunnel_proc_running() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 38 LOC McCabe index: 10 number of parameters: 3 id: 22 unit: def url_request_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 37 LOC McCabe index: 14 number of parameters: 5 id: 23 unit: def create_cloudwatch_log_stream() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 37 LOC McCabe index: 8 number of parameters: 3 id: 24 unit: def url_request_helper() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 37 LOC McCabe index: 14 number of parameters: 5 id: 25 unit: def main() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 36 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: def get_instance_identity_info_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 35 LOC McCabe index: 5 number of parameters: 2 id: 27 unit: def check_options_validity() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 35 LOC McCabe index: 19 number of parameters: 1 id: 28 unit: def get_aws_ec2_metadata_token() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 35 LOC McCabe index: 10 number of parameters: 1 id: 29 unit: def bootstrap_logging() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 34 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: def get_target_region() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 32 LOC McCabe index: 5 number of parameters: 2 id: 31 unit: def get_nfs_mount_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 32 LOC McCabe index: 19 number of parameters: 2 id: 32 unit: def get_aws_security_credentials_from_pod_identity() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 32 LOC McCabe index: 8 number of parameters: 2 id: 33 unit: def optimize_readahead_window() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 31 LOC McCabe index: 4 number of parameters: 3 id: 34 unit: def get_int_value_from_config_file() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 35 unit: def get_fallback_mount_target_ip_address() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 30 LOC McCabe index: 7 number of parameters: 4 id: 36 unit: def bootstrap_cloudwatch_logging() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 3 id: 37 unit: def credentials_file_helper() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 30 LOC McCabe index: 6 number of parameters: 2 id: 38 unit: def get_int_value_from_config_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 30 LOC McCabe index: 4 number of parameters: 3 id: 39 unit: def clean_up_previous_tunnel_pids() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 29 LOC McCabe index: 7 number of parameters: 1 id: 40 unit: def get_az_id_info_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 41 unit: def credentials_file_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 42 unit: def choose_tls_port_and_get_bind_sock() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 28 LOC McCabe index: 5 number of parameters: 3 id: 43 unit: def get_aws_security_credentials_from_instance_metadata() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 44 unit: def get_certificate_renewal_interval_mins() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 45 unit: def parse_arguments() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 27 LOC McCabe index: 16 number of parameters: 2 id: 46 unit: def get_public_key_sha1() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 47 unit: fn test_parse_batch_multiple_message() file: src/proxy/src/rpc.rs start line: 171 end line: 205 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: def get_public_key_sha1() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 49 unit: def add_tunnel_ca_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 24 LOC McCabe index: 4 number of parameters: 4 id: 50 unit: def is_nfs_mount() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 51 unit: def get_aws_security_credentials() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 24 LOC McCabe index: 8 number of parameters: 3 id: 52 unit: def botocore_credentials_helper() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: def get_cloudwatchlog_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 54 unit: def subprocess_call() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 55 unit: def bootstrap_logging() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: def get_botocore_client() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 22 LOC McCabe index: 6 number of parameters: 3 id: 57 unit: def botocore_credentials_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: def get_resp_obj() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 59 unit: def find_tls_port_in_range_and_get_bind_sock() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 60 unit: fn run_sighup_handler() file: src/proxy/src/main.rs start line: 125 end line: 146 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: def get_resp_obj() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 62 unit: def create_required_directory() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 63 unit: def get_aws_security_credentials_from_awsprofile() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 19 LOC McCabe index: 8 number of parameters: 2 id: 64 unit: def create_required_directory() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 65 unit: def get_token() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: def get_aws_security_credentials_from_ecs() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 18 LOC McCabe index: 6 number of parameters: 3 id: 67 unit: def get_aws_security_credentials_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 68 unit: fn multiple_messages() file: src/proxy/src/rpc.rs start line: 110 end line: 129 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: def get_state_files() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 70 unit: def subprocess_call() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: def ca_supporting_files_check() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 17 LOC McCabe index: 5 number of parameters: 4 id: 72 unit: def get_system_release_version() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 16 LOC McCabe index: 7 number of parameters: 0 id: 73 unit: def throw_dns_resolve_failure_with_fallback_message() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: def get_aws_security_credentials_from_ecs() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 75 unit: def get_system_release_version() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 16 LOC McCabe index: 7 number of parameters: 0 id: 76 unit: def find_command_path() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 77 unit: def write_stunnel_config_file() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: def get_log_level_from_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: fn test_response_serde() file: src/proxy/src/efs_rpc.rs start line: 110 end line: 127 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 80 unit: fn new() file: src/proxy/src/controller.rs start line: 55 end line: 69 size: 15 LOC McCabe index: 1 number of parameters: 4 id: 81 unit: def find_command_path() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: def get_az_id_from_ecs_fargate_response() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 3 id: 83 unit: def check_network_target() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: def verify_tlsport_can_be_connected() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 85 unit: fn test_parse_bind_client_to_partition_response_program_mismatch() file: src/proxy/src/efs_rpc.rs start line: 170 end line: 183 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 86 unit: def get_instance_az_id_metadata_url() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 87 unit: def get_mount_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 88 unit: def get_client_info() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 89 unit: def get_cloudwatch_log_stream_name() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 90 unit: def get_mount_config() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 91 unit: def get_client_info() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 92 unit: def get_iam_role_name() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: def get_aws_profile() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 9 number of parameters: 2 id: 94 unit: def find_existing_mount_using_tls_port() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 95 unit: def get_init_system() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 96 unit: def check_and_remove_lock_file() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 97 unit: def get_linux_kernel_version() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 98 unit: fn test_parse_batch_single_message() file: src/proxy/src/rpc.rs start line: 154 end line: 168 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: def get_aws_security_credentials_from_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 100 unit: def create_ca_conf() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: def check_and_remove_lock_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 102 unit: def serialize_stunnel_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 2 id: 103 unit: def test_tunnel_process() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 104 unit: def test_tlsport() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 105 unit: def create_ca_conf() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: def ca_supporting_files_check() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 4 id: 107 unit: def tls_paths_dictionary() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: def cloudwatch_put_log_events_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 109 unit: def should_revise_readahead() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 110 unit: fn deserialize_bool() file: src/proxy/src/config_parser.rs start line: 11 end line: 21 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: fn should_scale_up() file: src/proxy/src/controller.rs start line: 256 end line: 267 size: 11 LOC McCabe index: 5 number of parameters: 3 id: 112 unit: def get_file_safe_mountpoint() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 113 unit: def rewrite_state_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 114 unit: def restart_tls_tunnel() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 115 unit: def tls_paths_dictionary() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: def get_region_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 117 unit: def get_tls_port_range() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 118 unit: def bootstrap_proxy() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: def create_certificate() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: def ca_extension_builder() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 121 unit: def calculate_signature() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 122 unit: def check_unsupported_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: def handle_general_botocore_exceptions() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 124 unit: fn test_increment() file: src/proxy/src/proxy_identifier.rs start line: 34 end line: 43 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 125 unit: def check_child_procs() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 126 unit: def ca_extension_builder() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 127 unit: def calculate_signature() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 128 unit: def get_region_from_legacy_dns_format() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 129 unit: def parse_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 130 unit: def is_ocsp_enabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: def write_tunnel_state_file() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: def get_fallback_mount_target_ip_address_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 133 unit: def mount_with_proxy() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: fn create_connection() file: src/proxy/src/proxy.rs start line: 79 end line: 87 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 135 unit: fn test_request_serde() file: src/proxy/src/efs_rpc.rs start line: 97 end line: 107 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: fn test_invalid_rpc_small_fragment() file: src/proxy/src/rpc.rs start line: 132 end line: 140 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: fn test_invalid_rpc_big_fragment() file: src/proxy/src/rpc.rs start line: 143 end line: 151 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: def get_aws_security_credentials_from_assumed_profile() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: def parse_options() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 140 unit: def parse_arguments() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 141 unit: def recreate_certificate() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: def check_process_name() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 143 unit: def check_and_remove_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 144 unit: def get_target_az() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 145 unit: def get_aws_security_credentials() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: def get_stunnel_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 147 unit: def parse_arguments_early_exit() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 148 unit: def efs_client_auth_builder() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: def create_string_to_sign() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 150 unit: def check_if_cloudwatch_log_enabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 151 unit: def get_az_id_by_az_name() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 152 unit: fn test_parse_bind_client_to_partition_response_denied() file: src/proxy/src/efs_rpc.rs start line: 141 end line: 149 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: fn test_parse_bind_client_to_partition_response_procedure_unavailable() file: src/proxy/src/efs_rpc.rs start line: 186 end line: 193 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: fn test_wrap_around() file: src/proxy/src/proxy_identifier.rs start line: 46 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: def get_pid_in_state_dir() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 156 unit: def is_pid_running() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 157 unit: def efs_client_auth_builder() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: def create_string_to_sign() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 159 unit: def setns() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 160 unit: def fatal_error() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 161 unit: def get_az_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 162 unit: def fetch_ec2_metadata_token_disabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: def get_config_section() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 164 unit: def poll_tunnel_process() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 165 unit: def check_if_nfsvers_is_compatible_with_macos() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 7 number of parameters: 1 id: 166 unit: def create_certificate_signing_request() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 167 unit: def read_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: def get_efs_proxy_log_level() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 169 unit: def check_if_fall_back_to_mount_target_ip_address_is_enabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: fn test_parse_bind_client_to_partition_response_missing_reply() file: src/proxy/src/efs_rpc.rs start line: 130 end line: 138 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: fn test_parse_bind_client_to_partition_response_garbage_args() file: src/proxy/src/efs_rpc.rs start line: 152 end line: 158 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: fn test_parse_bind_client_to_partition_response_program_unavailable() file: src/proxy/src/efs_rpc.rs start line: 161 end line: 167 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: fn test_parse_bind_client_to_partition_response_system_error() file: src/proxy/src/efs_rpc.rs start line: 196 end line: 202 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: def fetch_ec2_metadata_token_disabled() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: def get_mount_config_section() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 176 unit: def clean_up_mount_state() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 177 unit: def get_mountpoint_from_nfs_mounts() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 178 unit: def read_config() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: def create_certificate_signing_request() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 180 unit: def get_mount_specific_filename() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 181 unit: def _stunnel_bin() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 182 unit: def legacy_stunnel_mode_enabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 183 unit: def get_ipv6_addresses() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 184 unit: def dns_name_can_be_resolved() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 185 unit: def create_default_cloudwatchlog_agent_if_not_exist() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 186 unit: def get_fips_config() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: def fatal_error() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 188 unit: def check_efs_mounts() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: def is_ipv6_address() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 190 unit: def errcheck() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 191 unit: def get_az_id_from_instance_metadata() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 192 unit: def is_ecs_fargate_client() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 193 unit: def is_stunnel_option_supported() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: def check_network_status() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 195 unit: def post_mount_nfs_success() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 196 unit: def usage() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 197 unit: def efs_client_info_builder() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: def ca_dirs_check() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 3 id: 199 unit: def cloudwatch_describe_log_streams_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: def command_uses_efs_proxy() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 201 unit: def mark_as_unmounted() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 202 unit: def efs_client_info_builder() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 203 unit: def ca_dirs_check() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 3 id: 204 unit: def __enter__() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def get_aws_ec2_metadata_token() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 206 unit: def rewrite_tunnel_state_file() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 207 unit: def assert_root() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 208 unit: def add_field_in_options() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 3 id: 209 unit: def check_if_mac_version_is_supported() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 210 unit: def decode_device_number() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: def assert_root() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 212 unit: def clean_up_certificate_lock_file() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 213 unit: def __init__() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 214 unit: def __exit__() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 215 unit: def __init__() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 216 unit: def get_sts_endpoint_url() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 217 unit: def _efs_proxy_bin() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: def create_public_key() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 219 unit: def get_certificate_timestamp() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: def cloudwatch_create_log_group_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: fn new() file: src/proxy/src/connections.rs start line: 481 end line: 483 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: fn default_log_level() file: src/proxy/src/config_parser.rs start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: fn from_str() file: src/proxy/src/config_parser.rs start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: fn test_read_config_from_file() file: src/proxy/src/config_parser.rs start line: 97 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 225 unit: fn extract_u32_from_bytes() file: src/proxy/src/rpc.rs start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: fn verify_host_name() file: src/proxy/src/tls.rs start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 227 unit: fn main() file: src/proxy/build.rs start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 228 unit: def get_sts_endpoint_url() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 229 unit: def create_public_key() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 230 unit: def get_certificate_timestamp() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 231 unit: def get_boolean_config_item_value() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: def get_aws_security_credentials_from_webidentity() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: def get_dns_name_suffix() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 234 unit: def is_instance_metadata_url() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: def update_tunnel_temp_state_file_with_tunnel_pid() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: def get_tls_port_from_sock() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: def tls_enabled() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: def call_nfs_mount_command_with_retry_succeed() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 239 unit: def backoff_function() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: def get_private_key_path() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 241 unit: def get_utc_now() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: def mount_target_ip_address_can_be_resolved() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 243 unit: def throw_ip_address_connect_failure_with_fallback_message() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: def create_canonical_request() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: def create_canonical_query_string() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 246 unit: def get_credential_scope() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 247 unit: def check_if_platform_is_mac() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 248 unit: def cloudwatch_put_retention_policy_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 249 unit: def put_cloudwatch_log_retention_policy() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 250 unit: def cloudwatch_create_log_stream_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 251 unit: def ec2_describe_availability_zones_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: def efs_describe_mount_targets_helper() file: src/mount_efs/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: def get_boolean_config_item_value() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 254 unit: def get_dns_name_suffix() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 255 unit: def is_instance_metadata_url() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: def check_if_platform_is_mac() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 257 unit: def update_stunnel_command_for_ecs_amazon_linux_2() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: def cleanup_mount_state_if_stunnel_not_running() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 259 unit: def check_stunnel_health() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 260 unit: def check_certificate() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: def send_signal_to_running_stunnel_process_group() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: def get_private_key_path() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 263 unit: def create_canonical_request() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 264 unit: def create_canonical_query_string() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: def get_credential_scope() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 266 unit: def get_utc_now() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: def check_if_running_on_macos() file: src/watchdog/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0