id: 1 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/ace_info.rb start line: 8 end line: 94 size: 81 LOC McCabe index: 39 number of parameters: 2 id: 2 unit: initialize file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 32 end line: 106 size: 65 LOC McCabe index: 23 number of parameters: 1 id: 3 unit: download_from_github file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 317 end line: 376 size: 50 LOC McCabe index: 10 number of parameters: 6 id: 4 unit: validate file: lib/aws/codedeploy/local/cli_validator.rb start line: 11 end line: 64 size: 43 LOC McCabe index: 29 number of parameters: 1 id: 5 unit: execute_script file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 144 end line: 185 size: 38 LOC McCabe index: 3 number of parameters: 2 id: 6 unit: unpack_bundle file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 399 end line: 446 size: 38 LOC McCabe index: 9 number of parameters: 3 id: 7 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/mode_info.rb start line: 12 end line: 52 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: generate_instructions file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 58 end line: 98 size: 36 LOC McCabe index: 10 number of parameters: 1 id: 9 unit: run file: lib/instance_agent/agent/base.rb start line: 23 end line: 63 size: 34 LOC McCabe index: 10 number of parameters: 0 id: 10 unit: stop file: lib/instance_agent/runner/master.rb start line: 33 end line: 68 size: 34 LOC McCabe index: 8 number of parameters: 0 id: 11 unit: self.configure file: lib/instance_agent/plugins/codedeploy/onpremise_config.rb start line: 6 end line: 40 size: 33 LOC McCabe index: 12 number of parameters: 0 id: 12 unit: self.delete_folder file: lib/instance_agent/platform/windows_util.rb start line: 74 end line: 112 size: 33 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: execute file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 110 end line: 142 size: 32 LOC McCabe index: 10 number of parameters: 0 id: 14 unit: download_from_s3 file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 241 end line: 276 size: 32 LOC McCabe index: 7 number of parameters: 5 id: 15 unit: process_command file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 108 end line: 142 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: initialize file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 78 end line: 109 size: 30 LOC McCabe index: 10 number of parameters: 1 id: 17 unit: get_range file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 97 end line: 128 size: 29 LOC McCabe index: 9 number of parameters: 0 id: 18 unit: initialize file: lib/instance_agent/config.rb start line: 21 end line: 49 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: self.delete_folder file: lib/instance_agent/platform/linux_util.rb start line: 89 end line: 121 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: s3_options file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 278 end line: 315 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 21 unit: self.parse_install_commands file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 20 end line: 46 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 22 unit: revision_data file: spec/aws/codedeploy/local/deployer_spec.rb start line: 648 end line: 677 size: 26 LOC McCabe index: 6 number of parameters: 5 id: 23 unit: register_on_premises_with_iam_user file: features/step_definitions/agent_steps.rb start line: 134 end line: 161 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: kill_children file: lib/instance_agent/runner/master.rb start line: 69 end line: 96 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: find_matches file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 137 end line: 161 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 26 unit: get_full_acl file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 299 end line: 323 size: 24 LOC McCabe index: 9 number of parameters: 1 id: 27 unit: parse_permissions file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 85 end line: 110 size: 24 LOC McCabe index: 6 number of parameters: 1 id: 28 unit: initialize file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 26 end line: 59 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 29 unit: get_ace file: lib/instance_agent/plugins/codedeploy/application_specification/ace_info.rb start line: 96 end line: 119 size: 23 LOC McCabe index: 5 number of parameters: 0 id: 30 unit: install file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 26 end line: 56 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: configure_local_agent file: features/step_definitions/agent_steps.rb start line: 62 end line: 88 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: configure_agent_for_on_premise file: features/step_definitions/agent_steps.rb start line: 169 end line: 192 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: set_permissions file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 98 end line: 124 size: 22 LOC McCabe index: 8 number of parameters: 2 id: 34 unit: map file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 142 end line: 165 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: matches_simple_glob file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 78 end line: 100 size: 22 LOC McCabe index: 5 number of parameters: 2 id: 36 unit: parse_hooks file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 61 end line: 84 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 37 unit: service_main file: lib/winagent.rb start line: 33 end line: 56 size: 22 LOC McCabe index: 7 number of parameters: 0 id: 38 unit: s3_revision file: lib/aws/codedeploy/local/deployer.rb start line: 182 end line: 209 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 39 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 353 end line: 374 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 40 unit: create_instance_role file: features/step_definitions/agent_steps.rb start line: 313 end line: 337 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 41 unit: execute_events file: lib/aws/codedeploy/local/deployer.rb start line: 71 end line: 94 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: create_config_file file: spec/aws/codedeploy/local/deployer_spec.rb start line: 54 end line: 74 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: deployment_spec file: spec/aws/codedeploy/local/deployer_spec.rb start line: 628 end line: 647 size: 19 LOC McCabe index: 4 number of parameters: 11 id: 44 unit: build_spec file: lib/aws/codedeploy/local/deployer.rb start line: 128 end line: 146 size: 18 LOC McCabe index: 4 number of parameters: 8 id: 45 unit: initialize file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 30 end line: 48 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 46 unit: with_error_handling file: lib/winagent.rb start line: 87 end line: 111 size: 18 LOC McCabe index: 10 number of parameters: 0 id: 47 unit: create_bundle_with_appspec_containing_source_and_destination_file file: features/step_definitions/codedeploy_local_steps.rb start line: 80 end line: 101 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: validate_app_spec_hooks file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 206 end line: 225 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 49 unit: initialize file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 9 end line: 30 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: next_command file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 144 end line: 161 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 51 unit: initialize file: lib/aws/codedeploy/local/deployer.rb start line: 38 end line: 58 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 52 unit: github_revision file: lib/aws/codedeploy/local/deployer.rb start line: 210 end line: 226 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 53 unit: self.parse_remove_commands file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 47 end line: 64 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 54 unit: cleanup_old_archives file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 462 end line: 488 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: matches_except? file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 60 end line: 76 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 56 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 8 end line: 24 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 57 unit: ensure_parts file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 25 end line: 41 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 58 unit: get_category_number file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 55 end line: 71 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 59 unit: generate_directory_copy file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 100 end line: 117 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 60 unit: verify_cert file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 67 end line: 85 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 61 unit: load_plugins file: lib/instance_agent/runner/child.rb start line: 10 end line: 26 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: eventually file: features/step_definitions/agent_steps.rb start line: 35 end line: 51 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 63 unit: app_spec_real_path file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 501 end line: 516 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 64 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 8 end line: 23 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 65 unit: matches_pattern? file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 44 end line: 59 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 66 unit: generate_normal_copy file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 119 end line: 135 size: 15 LOC McCabe index: 6 number of parameters: 3 id: 67 unit: self.extract_zip file: lib/instance_agent/platform/linux_util.rb start line: 50 end line: 66 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: with_error_handling file: lib/instance_agent/runner/child.rb start line: 76 end line: 91 size: 15 LOC McCabe index: 8 number of parameters: 0 id: 69 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 205 end line: 220 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 70 unit: append_to_log file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 14 end line: 31 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 71 unit: create_script_log_file_if_needed file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 197 end line: 211 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 72 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/script_info.rb start line: 8 end line: 22 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 73 unit: get_category_numbers file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 81 end line: 95 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: self.parse file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 109 end line: 128 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 75 unit: acknowledge_and_process_command file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 91 end line: 107 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: self.prepare_script_command file: lib/instance_agent/platform/linux_util.rb start line: 10 end line: 30 size: 14 LOC McCabe index: 7 number of parameters: 2 id: 77 unit: create_deployment_role file: features/step_definitions/agent_steps.rb start line: 277 end line: 292 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 78 unit: parse_app_spec file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 218 end line: 231 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 79 unit: get_default_ace file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 17 end line: 30 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 80 unit: has_base_named? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 51 end line: 64 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 81 unit: has_base_mask? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 65 end line: 78 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 82 unit: has_default_user? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 83 end line: 96 size: 13 LOC McCabe index: 7 number of parameters: 0 id: 83 unit: get_default_group_ace file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 102 end line: 115 size: 13 LOC McCabe index: 7 number of parameters: 0 id: 84 unit: has_default_other? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 116 end line: 129 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 85 unit: has_default_named? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 130 end line: 143 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 86 unit: has_default_mask? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 144 end line: 157 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 87 unit: expand_conf_path file: lib/winagent.rb start line: 70 end line: 86 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: write_zip_entries file: features/step_definitions/common_steps.rb start line: 44 end line: 57 size: 13 LOC McCabe index: 2 number of parameters: 4 id: 89 unit: create_iam_assume_role_session file: features/step_definitions/agent_steps.rb start line: 346 end line: 362 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: self.http_request file: lib/instance_metadata.rb start line: 102 end line: 114 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 91 unit: revision file: lib/aws/codedeploy/local/deployer.rb start line: 167 end line: 181 size: 12 LOC McCabe index: 8 number of parameters: 2 id: 92 unit: getSensitivityNumber file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 42 end line: 54 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 93 unit: fill_in_missing_ancestors file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 137 end line: 150 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 94 unit: verify_cert_fields file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 47 end line: 59 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 95 unit: self.execute_zip_command file: lib/instance_agent/platform/linux_util.rb start line: 123 end line: 138 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: tgz_app_bundle file: features/step_definitions/codedeploy_local_steps.rb start line: 108 end line: 123 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: create_aws_credentials_session_file file: features/step_definitions/agent_steps.rb start line: 193 end line: 206 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: self.imds_v2? file: lib/instance_metadata.rb start line: 42 end line: 53 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 99 unit: self.generate_commands_from_file file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 8 end line: 19 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 100 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 283 end line: 294 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: rollback_deployment_mapping_between_hooks_and_deployments file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 258 end line: 269 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: initialize file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 13 end line: 25 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 103 unit: get_deployment_specification file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 174 end line: 185 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: create_instance_user file: features/step_definitions/agent_steps.rb start line: 293 end line: 304 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 105 unit: local_revision file: lib/aws/codedeploy/local/deployer.rb start line: 227 end line: 237 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 106 unit: cleanup file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 172 end line: 182 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: execute_command file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 58 end line: 71 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 108 unit: validate_file_permission file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 24 end line: 34 size: 10 LOC McCabe index: 7 number of parameters: 1 id: 109 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 14 end line: 24 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 110 unit: get_acl file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 32 end line: 42 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: perform file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 69 end line: 81 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 112 unit: self.extract_zip file: lib/instance_agent/platform/windows_util.rb start line: 44 end line: 55 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 113 unit: trap_signals file: lib/instance_agent/runner/child.rb start line: 52 end line: 63 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: self.imds_v1? file: lib/instance_metadata.rb start line: 27 end line: 36 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 115 unit: self.get_instance_metadata file: lib/instance_metadata.rb start line: 91 end line: 100 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: select_correct_deployment_root_dir file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 233 end line: 242 size: 9 LOC McCabe index: 5 number of parameters: 3 id: 117 unit: handle_local_file file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 378 end line: 389 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 118 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/context_info.rb start line: 8 end line: 17 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: parse_type_list file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 128 end line: 137 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 120 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/file_info.rb start line: 8 end line: 17 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 121 unit: self.init_cert_store file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 20 end line: 29 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 122 unit: acknowledge_command file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 163 end line: 172 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: gather_diagnostics_from_error file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 194 end line: 203 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 124 unit: self.extract_tar file: lib/instance_agent/platform/linux_util.rb start line: 40 end line: 49 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 125 unit: initialize file: lib/winagent.rb start line: 18 end line: 28 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: zip_app_dir_bundle file: features/step_definitions/codedeploy_local_steps.rb start line: 56 end line: 67 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: create_local_deployment file: features/step_definitions/codedeploy_local_steps.rb start line: 145 end line: 157 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 128 unit: ensure_correct_order_of_download_bundle_and_install_events file: lib/aws/codedeploy/local/deployer.rb start line: 109 end line: 118 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: initialize file: lib/instance_agent/log.rb start line: 8 end line: 16 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 130 unit: copy file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 81 end line: 89 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 131 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 229 end line: 239 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 132 unit: log_script file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 282 end line: 290 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: validate_file_acl file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 35 end line: 43 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 134 unit: expand file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 102 end line: 110 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 135 unit: get_category_range file: lib/instance_agent/plugins/codedeploy/application_specification/range_info.rb start line: 72 end line: 80 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 136 unit: self.delete_deployment_command_tracking_file file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 36 end line: 44 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 137 unit: validate file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 60 end line: 68 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 138 unit: gather_diagnostics file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 205 end line: 213 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: prepare_run file: lib/instance_agent/runner/child.rb start line: 27 end line: 35 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 140 unit: key file: lib/core_ext.rb start line: 22 end line: 30 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: demodulize file: lib/core_ext.rb start line: 52 end line: 60 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 142 unit: tar_app_bundle file: features/step_definitions/codedeploy_local_steps.rb start line: 68 end line: 79 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: self.partition file: lib/instance_metadata.rb start line: 54 end line: 61 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 144 unit: self.domain file: lib/instance_metadata.rb start line: 62 end line: 69 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 145 unit: self.instance_id file: lib/instance_metadata.rb start line: 70 end line: 77 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 146 unit: self.region file: lib/instance_metadata.rb start line: 78 end line: 85 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 147 unit: self.get_request file: lib/instance_metadata.rb start line: 123 end line: 130 size: 7 LOC McCabe index: 2 number of parameters: 3 id: 148 unit: self.configure_windows_certificate file: lib/aws/codedeploy/local/deployer.rb start line: 59 end line: 66 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: ordered_lifecycle_events file: lib/aws/codedeploy/local/deployer.rb start line: 95 end line: 102 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 150 unit: self.events_from_comma_separated_list file: lib/aws/codedeploy/local/deployer.rb start line: 147 end line: 154 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: mkdir file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 90 end line: 97 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 152 unit: script_error_prefix file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 187 end line: 195 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 153 unit: select_correct_mapping_for_hooks file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 244 end line: 251 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 154 unit: self.command file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 49 end line: 57 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 155 unit: last_successful_deployment_dir file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 182 end line: 189 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 156 unit: most_recent_deployment_dir file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 191 end line: 198 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 157 unit: to_bits file: lib/instance_agent/plugins/codedeploy/application_specification/ace_info.rb start line: 120 end line: 127 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 158 unit: parse_files file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 52 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: parse_simple_glob_list file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 116 end line: 123 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 160 unit: initialize file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 8 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: to_bits file: lib/instance_agent/plugins/codedeploy/application_specification/mode_info.rb start line: 53 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 162 unit: validate_ssl_config file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 31 end line: 38 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 163 unit: self.parse_deployment_spec_data file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 130 end line: 139 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 164 unit: valid_github_revision? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 148 end line: 155 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 165 unit: self.delete_deployment_tracking_file_if_stale? file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 20 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 166 unit: self.check_deployment_event_inprogress? file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 28 end line: 35 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 167 unit: self.deployment_event_tracking_file_path file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 58 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: self.delete_dirs_command file: lib/instance_agent/platform/linux_util.rb start line: 80 end line: 87 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 169 unit: self.prepare_script_command file: lib/instance_agent/platform/windows_util.rb start line: 16 end line: 23 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 170 unit: self.delete_dirs_command file: lib/instance_agent/platform/windows_util.rb start line: 65 end line: 72 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 171 unit: description file: lib/instance_agent/runner/child.rb start line: 64 end line: 71 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 172 unit: service_stop file: lib/winagent.rb start line: 57 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: self.configure_windows_certificate file: features/step_definitions/step_constants.rb start line: 12 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: recreate_instance_user_access_key file: features/step_definitions/agent_steps.rb start line: 305 end line: 312 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 74 end line: 80 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: concat_log file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 32 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: to_json file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 56 end line: 62 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 178 unit: parse_version file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 34 end line: 40 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: parse_os file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 45 end line: 51 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: graceful_shutdown file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 82 end line: 90 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: validate file: lib/instance_agent/config.rb start line: 14 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: self.underscore file: lib/instance_agent/string_utils.rb start line: 3 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: symbolize_keys! file: lib/core_ext.rb start line: 36 end line: 42 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 184 unit: singleton_class file: lib/core_ext.rb start line: 65 end line: 71 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: zip_directory file: features/step_definitions/common_steps.rb start line: 36 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: register_on_premises_with_iam_session file: features/step_definitions/agent_steps.rb start line: 162 end line: 168 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: create_deployment_group file: features/step_definitions/agent_steps.rb start line: 270 end line: 276 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: assert_deployment_status file: features/step_definitions/agent_steps.rb start line: 363 end line: 369 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 189 unit: self.put_request file: lib/instance_metadata.rb start line: 116 end line: 121 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: any_new_revision_event_or_install_before_download_bundle file: lib/aws/codedeploy/local/cli_validator.rb start line: 65 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: any_new_revision_event_before_install file: lib/aws/codedeploy/local/cli_validator.rb start line: 71 end line: 76 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: events_using_previous_successfuly_deployment_revision file: lib/aws/codedeploy/local/cli_validator.rb start line: 77 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: events_using_new_revision file: lib/aws/codedeploy/local/cli_validator.rb start line: 83 end line: 88 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 194 unit: self.runner file: lib/instance_agent/agent/base.rb start line: 8 end line: 13 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 195 unit: self.generate_instructions file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 65 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: copying_file? file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 125 end line: 130 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 197 unit: making_directory? file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 131 end line: 136 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 330 end line: 335 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 199 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 336 end line: 341 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 200 unit: initialize file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 50 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 201 unit: update_last_successful_install file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 448 end line: 453 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: update_most_recent_install file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 455 end line: 460 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: gather_diagnostics_from_script_error file: lib/instance_agent/plugins/codedeploy/command_poller.rb start line: 187 end line: 192 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 204 unit: validate_use_fips_mode errors file: lib/instance_agent/config.rb start line: 54 end line: 59 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 205 unit: self.extract_tgz file: lib/instance_agent/platform/windows_util.rb start line: 38 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 206 unit: joinOrFail file: lib/instance_agent/platform/thread_joiner.rb start line: 6 end line: 11 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 207 unit: refresh file: lib/instance_agent/file_credentials.rb start line: 15 end line: 20 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 208 unit: run file: lib/instance_agent/runner/child.rb start line: 36 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: stop file: lib/instance_agent/runner/child.rb start line: 44 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: zip_app_bundle file: features/step_definitions/common_steps.rb start line: 30 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: self.host_identifier file: lib/instance_metadata.rb start line: 37 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: self.realpath path file: lib/codedeploy-agent.rb start line: 5 end line: 9 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 213 unit: add_download_bundle_and_install_events file: lib/aws/codedeploy/local/deployer.rb start line: 104 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: hook_mapping file: lib/aws/codedeploy/local/deployer.rb start line: 123 end line: 127 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: log file: lib/instance_agent/log.rb start line: 17 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: log file: lib/instance_agent/agent/base.rb start line: 18 end line: 22 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 217 unit: to_json file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 162 end line: 166 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: log file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 194 end line: 198 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 219 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 224 end line: 228 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 220 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 250 end line: 256 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 263 end line: 267 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 222 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 278 end line: 282 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 223 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 348 end line: 352 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 224 unit: log file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 276 end line: 280 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 225 unit: self.log file: lib/instance_agent/plugins/codedeploy/onpremise_config.rb start line: 41 end line: 45 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: command_method file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 72 end line: 76 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 227 unit: default_app_spec file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 200 end line: 204 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: handle_local_directory file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 391 end line: 397 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 229 unit: log file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 523 end line: 527 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 230 unit: log file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 157 end line: 161 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 231 unit: initialize file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 62 end line: 66 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: self.create_ongoing_deployment_tracking_file file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 15 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 233 unit: self.init file: lib/instance_agent/config.rb start line: 9 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 234 unit: self.log file: lib/instance_agent/platform/linux_util.rb start line: 140 end line: 144 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 235 unit: self.extract_tar file: lib/instance_agent/platform/windows_util.rb start line: 33 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 236 unit: initialize file: lib/instance_agent/file_credentials.rb start line: 8 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: self.realpath path file: lib/core_ext.rb start line: 12 end line: 16 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 238 unit: log file: lib/winagent.rb start line: 65 end line: 69 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 239 unit: self.current_aws_account file: features/step_definitions/step_constants.rb start line: 6 end line: 11 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 240 unit: bundle_original_directory_location file: features/step_definitions/codedeploy_local_steps.rb start line: 171 end line: 176 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 241 unit: instance_name file: features/step_definitions/agent_steps.rb start line: 30 end line: 34 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 242 unit: self.imds_supported? file: lib/instance_metadata.rb start line: 23 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 243 unit: self.identity_document file: lib/instance_metadata.rb start line: 86 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: self.running_as_developer_utility? file: lib/aws/codedeploy/local/deployer.rb start line: 67 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: all_possible_lifecycle_events file: lib/aws/codedeploy/local/deployer.rb start line: 119 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: self.random_deployment_id file: lib/aws/codedeploy/local/deployer.rb start line: 155 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 247 unit: self.random_alphanumeric file: lib/aws/codedeploy/local/deployer.rb start line: 159 end line: 162 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: deployment_folder file: lib/aws/codedeploy/local/deployer.rb start line: 163 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: print_script_error_message file: lib/aws/codedeploy/local/deployer.rb start line: 238 end line: 241 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 250 unit: print_deployment_log_location file: lib/aws/codedeploy/local/deployer.rb start line: 242 end line: 245 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 251 unit: plugins file: lib/instance_agent/agent/plugin.rb start line: 6 end line: 9 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 252 unit: inherited file: lib/instance_agent/agent/plugin.rb start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 253 unit: self.included file: lib/instance_agent/agent/plugin.rb start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: description file: lib/instance_agent/agent/base.rb start line: 14 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 255 unit: each file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 167 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: sanitize_dir_path file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 184 end line: 187 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 257 unit: description file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 189 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 201 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 259 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 240 end line: 243 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 260 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 246 end line: 249 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 261 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 257 end line: 260 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 262 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 268 end line: 271 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 272 end line: 275 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 264 unit: clear_full_acl file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 295 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 265 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 324 end line: 327 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 266 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 342 end line: 345 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: to_h file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 375 end line: 378 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: initialize file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 381 end line: 384 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 269 unit: execute file: lib/instance_agent/plugins/codedeploy/install_instruction.rb start line: 385 end line: 388 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 270 unit: script_absolute_path file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 213 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 271 unit: mapping_between_hooks_and_deployments file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 253 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 272 unit: description file: lib/instance_agent/plugins/codedeploy/hook_executor.rb start line: 271 end line: 274 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 273 unit: deployment_root_dir file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 167 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: deployment_instructions_dir file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 172 end line: 175 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: archive_root_dir file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 177 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: custom_lifecycle_events file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 226 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: last_successful_install_file_path file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 231 end line: 234 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: most_recent_install_file_path file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 236 end line: 239 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: artifact_bundle file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 490 end line: 493 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: app_spec_path file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 495 end line: 498 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: description file: lib/instance_agent/plugins/codedeploy/command_executor.rb start line: 518 end line: 521 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 282 unit: sanitize_dir_path file: lib/instance_agent/plugins/codedeploy/application_specification/linux_permission_info.rb start line: 112 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: self.parse file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 284 unit: supported_versions file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 30 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 285 unit: supported_oses file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 41 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: parse_simple_glob file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 112 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: supported_types file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 124 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 288 unit: parse_mode file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 138 end line: 141 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: parse_acl file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 142 end line: 145 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 290 unit: parse_context file: lib/instance_agent/plugins/codedeploy/application_specification/application_specification.rb start line: 146 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: add_ace file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: clear_additional file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 47 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: has_default? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 79 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 294 unit: has_default_group? file: lib/instance_agent/plugins/codedeploy/application_specification/acl_info.rb start line: 97 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 295 unit: description file: lib/instance_agent/plugins/codedeploy/installer.rb start line: 152 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: get_client file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 39 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: ssl_verify_peer file: lib/instance_agent/plugins/codedeploy/codedeploy_control.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 298 unit: property_set? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 140 end line: 143 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 299 unit: valid_s3_revision? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 144 end line: 147 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 300 unit: valid_local_revision? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 156 end line: 159 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 301 unit: valid_bundle_type? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 161 end line: 164 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 302 unit: valid_local_bundle_type? file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 165 end line: 168 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 303 unit: getDeploymentIdFromArn file: lib/instance_agent/plugins/codedeploy/deployment_specification.rb start line: 170 end line: 174 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: self.directories_and_files_inside file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 45 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: self.deployment_dir_path file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 50 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: self.check_if_lifecycle_event_is_stale? file: lib/instance_agent/plugins/codedeploy/deployment_command_tracker.rb start line: 54 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: validate_children file: lib/instance_agent/config.rb start line: 50 end line: 53 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 308 unit: region file: lib/instance_agent/config.rb start line: 61 end line: 64 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 309 unit: self.supported_versions file: lib/instance_agent/platform/linux_util.rb start line: 2 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: self.supported_oses file: lib/instance_agent/platform/linux_util.rb start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: self.quit file: lib/instance_agent/platform/linux_util.rb start line: 31 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 312 unit: self.script_executable? file: lib/instance_agent/platform/linux_util.rb start line: 36 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: self.supports_process_groups? file: lib/instance_agent/platform/linux_util.rb start line: 67 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: self.codedeploy_version_file file: lib/instance_agent/platform/linux_util.rb start line: 71 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 315 unit: self.fallback_version_file file: lib/instance_agent/platform/linux_util.rb start line: 75 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 316 unit: self.supported_versions file: lib/instance_agent/platform/windows_util.rb start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: self.supported_oses file: lib/instance_agent/platform/windows_util.rb start line: 12 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: self.quit file: lib/instance_agent/platform/windows_util.rb start line: 24 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: self.script_executable? file: lib/instance_agent/platform/windows_util.rb start line: 29 end line: 32 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 320 unit: self.codedeploy_version_file file: lib/instance_agent/platform/windows_util.rb start line: 56 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 321 unit: self.fallback_version_file file: lib/instance_agent/platform/windows_util.rb start line: 60 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 322 unit: initialize file: lib/instance_agent/platform/thread_joiner.rb start line: 2 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 323 unit: self.is_pascal_case file: lib/instance_agent/string_utils.rb start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: self.util file: lib/instance_agent/platform.rb start line: 6 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: self.util= file: lib/instance_agent/platform.rb start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: self.description file: lib/instance_agent/runner/master.rb start line: 11 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: self.child_class file: lib/instance_agent/runner/master.rb start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 328 unit: self.pid_description file: lib/instance_agent/runner/master.rb start line: 19 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: self.log_file file: lib/instance_agent/runner/master.rb start line: 23 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 330 unit: self.pid_file file: lib/instance_agent/runner/master.rb start line: 27 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 331 unit: validate_index file: lib/instance_agent/runner/child.rb start line: 72 end line: 75 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 332 unit: symbolize_keys file: lib/core_ext.rb start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 333 unit: description file: lib/winagent.rb start line: 29 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 334 unit: expected_executed_lifecycle_events_from_first_time_revision_is_deployed file: features/step_definitions/codedeploy_local_steps.rb start line: 193 end line: 196 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 335 unit: self.reset file: features/step_definitions/agent_steps.rb start line: 99 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: instance_role_policy file: features/step_definitions/agent_steps.rb start line: 338 end line: 341 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 337 unit: current_user_or_role_arn file: features/step_definitions/agent_steps.rb start line: 342 end line: 345 size: 3 LOC McCabe index: 1 number of parameters: 0