id: 1 unit: def main() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/attachVolume.py start line: 0 end line: 0 size: 65 LOC McCabe index: 12 number of parameters: 0 id: 2 unit: build_env file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 49 end line: 122 size: 55 LOC McCabe index: 14 number of parameters: 0 id: 3 unit: def main() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/ec2_dev_2_volid.py start line: 0 end line: 0 size: 49 LOC McCabe index: 10 number of parameters: 0 id: 4 unit: def main() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 48 LOC McCabe index: 2 number of parameters: 0 id: 5 unit: def _get_session_token() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 36 LOC McCabe index: 8 number of parameters: 2 id: 6 unit: allow_gpu_acceleration file: cookbooks/aws-parallelcluster-config/recipes/dcv.rb start line: 21 end line: 64 size: 34 LOC McCabe index: 7 number of parameters: 0 id: 7 unit: check_sudoers_permissions file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 83 end line: 110 size: 25 LOC McCabe index: 4 number of parameters: 5 id: 8 unit: add_package_repository file: libraries/helpers.rb start line: 354 end line: 379 size: 25 LOC McCabe index: 3 number of parameters: 4 id: 9 unit: build_static_env file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 155 end line: 181 size: 24 LOC McCabe index: 2 number of parameters: 4 id: 10 unit: check_run_level_script file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 167 end line: 193 size: 23 LOC McCabe index: 7 number of parameters: 3 id: 11 unit: def update_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 12 unit: def _call_update_event() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: def add_scheduler_plugin_log() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: def do_GET() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 15 unit: def _get_basic_config() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 16 unit: def _run_clusterstatusmgtd() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: build_dynamic_env file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 131 end line: 154 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 18 unit: def parse_args() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: def do_POST() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 20 unit: def manage_cluster_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: check_imds_access file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 111 end line: 131 size: 19 LOC McCabe index: 8 number of parameters: 2 id: 22 unit: check_ssh_target_checker_vpc_cidr_list file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 205 end line: 226 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: def select_configs_for_feature() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 19 LOC McCabe index: 10 number of parameters: 1 id: 24 unit: check_path_permissions file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 63 end line: 82 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 25 unit: def _config_logger() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: check_process_running_as_user file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 14 end line: 32 size: 17 LOC McCabe index: 3 number of parameters: 2 id: 27 unit: install_package_list file: cookbooks/aws-parallelcluster-install/recipes/dcv.rb start line: 20 end line: 37 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: def _get_metadata() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: def _run_server() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 16 LOC McCabe index: 4 number of parameters: 3 id: 30 unit: find_rhel_minor_version file: libraries/helpers.rb start line: 325 end line: 345 size: 16 LOC McCabe index: 7 number of parameters: 0 id: 31 unit: check_directories_in_path file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 148 end line: 166 size: 15 LOC McCabe index: 6 number of parameters: 2 id: 32 unit: def _gpu_count() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: def _validate_timestamp_keys() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: remove_package_repository file: libraries/helpers.rb start line: 382 end line: 397 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 35 unit: def _get_compute_fleet_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 36 unit: command_with_retries file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 199 end line: 214 size: 14 LOC McCabe index: 4 number of parameters: 5 id: 37 unit: check_user_definition file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 33 end line: 47 size: 14 LOC McCabe index: 3 number of parameters: 5 id: 38 unit: check_group_definition file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 48 end line: 62 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: def _get_request_token() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 40 unit: ami_bootstrapped? file: libraries/helpers.rb start line: 161 end line: 177 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 41 unit: setup_munge_head_node file: libraries/helpers.rb start line: 422 end line: 440 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: def _log_exception() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: def main() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: def main() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 45 unit: fetch_cluster_config file: cookbooks/aws-parallelcluster-config/resources/fetch_config.rb start line: 30 end line: 44 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: validate_os_type file: libraries/helpers.rb start line: 181 end line: 194 size: 13 LOC McCabe index: 7 number of parameters: 0 id: 47 unit: hit_dynamodb_info file: libraries/helpers.rb start line: 217 end line: 235 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 48 unit: restart_network_service file: libraries/helpers.rb start line: 250 end line: 263 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: setup_munge_compute_node file: libraries/helpers.rb start line: 455 end line: 473 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: def convert_dev() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/attachVolume.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: def generate_instance_type_mapping_file() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 52 unit: def main() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 53 unit: fetch_instance_type_data file: cookbooks/aws-parallelcluster-config/resources/fetch_config.rb start line: 45 end line: 58 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: def retry() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 55 unit: check_iptables_rules_file file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 133 end line: 144 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 56 unit: disable_lock_screen file: cookbooks/aws-parallelcluster-install/recipes/dcv.rb start line: 52 end line: 66 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: def _vcpus() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: def parse_args() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: def main() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 60 unit: download_intel_hpc_pkg_from_s3 file: cookbooks/aws-parallelcluster-config/recipes/intel.rb start line: 19 end line: 31 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 61 unit: reload_network_config file: libraries/helpers.rb start line: 268 end line: 279 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: share_munge_head_node file: libraries/helpers.rb start line: 441 end line: 454 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: load_cluster_config file: libraries/helpers.rb start line: 535 end line: 546 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: check_sudo_command file: cookbooks/aws-parallelcluster-test/libraries/helpers.rb start line: 194 end line: 204 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: def get_all_devices() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/attachVolume.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 66 unit: install_ext_auth_virtual_env file: cookbooks/aws-parallelcluster-install/recipes/dcv.rb start line: 39 end line: 50 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 67 unit: def _validate_log_config_fields_uniqueness() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 68 unit: def retry() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 69 unit: def _check_auth() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 10 LOC McCabe index: 6 number of parameters: 3 id: 70 unit: def check_dcv_process() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 71 unit: wait_for_block_dev file: libraries/helpers.rb start line: 21 end line: 31 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: setup_disk file: libraries/helpers.rb start line: 43 end line: 55 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: def get_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: def get_imdsv2_token() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/ec2_dev_2_volid.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 75 unit: def get_imdsv2_token() file: cookbooks/aws-parallelcluster-install/files/default/ec2_udev_rules/attachVolume.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 76 unit: get_uuid file: libraries/helpers.rb start line: 85 end line: 94 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 77 unit: ignore_failure file: libraries/helpers.rb start line: 121 end line: 130 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 78 unit: efa_installed? file: libraries/helpers.rb start line: 524 end line: 533 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: def _sleep_remaining_loop_time() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 80 unit: setup_proxy file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 189 end line: 198 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 81 unit: check_gid file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/create_user.rb start line: 64 end line: 73 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 82 unit: check_uid file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/create_user.rb start line: 74 end line: 83 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: def main() file: cookbooks/aws-parallelcluster-install/files/default/cloudwatch_agent/verify_cloudwatch_agent_public_key_fingerprint.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 84 unit: def _get_jinja_env() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: def _read_json_at() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 86 unit: def _is_session_valid() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 87 unit: get_pt_type file: libraries/helpers.rb start line: 59 end line: 68 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: get_fs_type file: libraries/helpers.rb start line: 72 end line: 81 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 89 unit: get_1st_partition file: libraries/helpers.rb start line: 98 end line: 107 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 90 unit: configure_gc_thresh_values file: libraries/helpers.rb start line: 492 end line: 501 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: def log_exception() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: def _run_command() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: def _transform_compute_fleet_data() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def __init__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: def get_node_info() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 96 unit: def create_config() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: def _extract_parameters_values() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 98 unit: get_metadata_token file: libraries/helpers.rb start line: 474 end line: 482 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: get_metadata_with_token file: libraries/helpers.rb start line: 483 end line: 491 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 100 unit: def _update_compute_fleet_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 101 unit: def _update_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 4 id: 102 unit: copy_config file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 123 end line: 130 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 103 unit: def get_key_fingerprint() file: cookbooks/aws-parallelcluster-install/files/default/cloudwatch_agent/verify_cloudwatch_agent_public_key_fingerprint.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 104 unit: def get_input_json() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 105 unit: def _validate_json_schema() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 106 unit: def validate_json() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: def add_instance_log_stream_prefixes() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: def select_logs() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: def get_dict_value() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 3 id: 110 unit: def _set_headers() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 4 id: 111 unit: def _parse_args() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: def generate_sha512_hash() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 113 unit: raise_os_not_match file: libraries/helpers.rb start line: 198 end line: 204 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 114 unit: enable_munge_service file: libraries/helpers.rb start line: 415 end line: 421 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: def _get_config() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: def set_config() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 117 unit: format_stderr file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 43 end line: 48 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 118 unit: build_hash_from_node file: cookbooks/aws-parallelcluster-scheduler-plugin/resources/execute_event_handler.rb start line: 182 end line: 188 size: 5 LOC McCabe index: 5 number of parameters: 3 id: 119 unit: def _get_head_node_config() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: def write_validated_json() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: def remove_backup() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 122 unit: def generate_random_token() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 123 unit: network_interface_macs file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 17 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: device_name file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 23 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: gateway_address file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 39 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: graphic_instance? file: libraries/helpers.rb start line: 134 end line: 140 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: nvidia_installed? file: libraries/helpers.rb start line: 144 end line: 149 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 128 unit: hit_is_static_node? file: libraries/helpers.rb start line: 239 end line: 245 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 129 unit: aws_domain file: libraries/helpers.rb start line: 308 end line: 314 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 130 unit: get_nvswitches file: libraries/helpers.rb start line: 399 end line: 405 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: overwrite_nfs_template? file: libraries/helpers.rb start line: 409 end line: 414 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: get_system_users file: libraries/helpers.rb start line: 502 end line: 507 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: get_vpc_cidr_list file: libraries/helpers.rb start line: 509 end line: 514 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: def __eq__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 135 unit: def _initialize_compute_fleet_status_manager() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: def _write_rendered_template_to_file() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 137 unit: def _setup_logger() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: def _write_log_configs() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: def add_log_group_name_params() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 140 unit: def add_timestamps() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 141 unit: def add_token() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 142 unit: def _return_auth_ko() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: def _return_auth_ok() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 144 unit: device_number file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 29 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: device_ip file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 34 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 146 unit: subnet_cidr_block file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 45 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 147 unit: cidr_to_netmask file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 54 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: get_vpc_ipv4_cidr_blocks file: libraries/helpers.rb start line: 111 end line: 115 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: pip_install_package file: libraries/helpers.rb start line: 116 end line: 120 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 150 unit: dcv_gpu_accel_supported? file: libraries/helpers.rb start line: 153 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: hit_slurm_nodename file: libraries/helpers.rb start line: 208 end line: 213 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 152 unit: def _write_json_to_file() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 153 unit: def __init__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 154 unit: def __repr__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: def _load_cluster_config() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: def _gpu_type() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 157 unit: def _get_duplicate_values() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: def write_config() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: def read_data() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: def get_node_roles() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: def load_config() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: def filter_output_fields() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 163 unit: def __init__() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: def log_message() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 165 unit: def _return_bad_request() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: def _validate_param() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 167 unit: def _prepare_auth_folder() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 168 unit: def fail() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 169 unit: cidr_prefix_length file: cookbooks/aws-parallelcluster-config/recipes/network_interfaces.rb start line: 50 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 170 unit: rescan_pci file: libraries/helpers.rb start line: 35 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 171 unit: arm_instance? file: libraries/helpers.rb start line: 283 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: virtualized? file: libraries/helpers.rb start line: 290 end line: 293 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: platform_supports_intel_hpc_platform? file: libraries/helpers.rb start line: 297 end line: 300 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: platform_supports_dcv? file: libraries/helpers.rb start line: 304 end line: 307 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: kernel_release file: libraries/helpers.rb start line: 315 end line: 318 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 176 unit: chrony_reload_command file: libraries/helpers.rb start line: 348 end line: 351 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: run_command file: libraries/helpers.rb start line: 515 end line: 518 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: kitchen_test? file: libraries/helpers.rb start line: 520 end line: 523 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 179 unit: def _seconds() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: def _minutes() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: def __str__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: def is_start_in_progress() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: def is_stop_in_progress() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: def is_protected_status() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: def __init__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: def __ne__() file: cookbooks/aws-parallelcluster-scheduler-plugin/files/default/clusterstatusmgtd/clusterstatusmgtd.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 187 unit: def generate_slurm_config_files() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: def _get_head_node_private_ip() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: def _generate_queue_config() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: def _generate_slurm_parallelcluster_configs() file: cookbooks/aws-parallelcluster-slurm/files/default/head_node_slurm/slurm/pcluster_slurm_config_generator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: def _fail() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: def _read_schema() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: def _read_log_configs() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 194 unit: def create_backup() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: def restore_backup() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/cloudwatch_log_configs_util.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 196 unit: def gethostname() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 197 unit: def select_configs_for_scheduler() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 2 id: 198 unit: def select_configs_for_node_role() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 2 id: 199 unit: def select_configs_for_platform() file: cookbooks/aws-parallelcluster-config/files/default/cloudwatch_agent/write_cloudwatch_agent_json.py start line: 0 end line: 0 size: 2 LOC McCabe index: 3 number of parameters: 2 id: 200 unit: def get_token_info() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 201 unit: def _verify_session_existence() file: cookbooks/aws-parallelcluster-config/files/default/dcv/pcluster_dcv_authenticator.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2