id: 1 unit: list_processes file: chefctl/src/chefctl.rb start line: 463 end line: 544 size: 65 LOC McCabe index: 12 number of parameters: 0 id: 2 unit: run file: chefctl/src/chefctl.rb start line: 1056 end line: 1106 size: 31 LOC McCabe index: 5 number of parameters: 0 id: 3 unit: stop_or_wait_for_chef file: chefctl/src/chefctl.rb start line: 367 end line: 406 size: 25 LOC McCabe index: 9 number of parameters: 1 id: 4 unit: acquire_lock file: chefctl/src/chefctl.rb start line: 792 end line: 823 size: 25 LOC McCabe index: 5 number of parameters: 0 id: 5 unit: get_chef_cmd file: chefctl/src/chefctl.rb start line: 950 end line: 985 size: 25 LOC McCabe index: 8 number of parameters: 0 id: 6 unit: wait_for_lock file: chefctl/src/chefctl.rb start line: 745 end line: 776 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 7 unit: chef_run file: chefctl/src/chefctl.rb start line: 858 end line: 889 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 8 unit: parse_both_passes file: chefctl/src/chefctl.rb start line: 1142 end line: 1169 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: output_copier_thread file: chefctl/src/chefctl.rb start line: 1019 end line: 1054 size: 20 LOC McCabe index: 6 number of parameters: 0 id: 10 unit: self.load_file file: chefctl/src/chefctl.rb start line: 331 end line: 350 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 11 unit: chefctl_procs file: chefctl/src/chefctl.rb start line: 645 end line: 664 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 12 unit: chefclient_procs file: chefctl/src/chefctl.rb start line: 666 end line: 685 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: do_splay file: chefctl/src/chefctl.rb start line: 900 end line: 923 size: 18 LOC McCabe index: 5 number of parameters: 0 id: 14 unit: do_chef_runs file: chefctl/src/chefctl.rb start line: 926 end line: 948 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 15 unit: initialize file: chefctl/src/chefctl.rb start line: 720 end line: 741 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 16 unit: self.init_logger file: chefctl/src/chefctl.rb start line: 71 end line: 89 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: chefctl_procs file: chefctl/src/chefctl.rb start line: 546 end line: 569 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: self.get_plugin file: chefctl/src/chefctl.rb start line: 297 end line: 320 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 19 unit: release_lock file: chefctl/src/chefctl.rb start line: 825 end line: 844 size: 15 LOC McCabe index: 6 number of parameters: 0 id: 20 unit: symlink file: chefctl/src/chefctl.rb start line: 699 end line: 715 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: save_firstrun file: chefctl/src/chefctl.rb start line: 1109 end line: 1131 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 22 unit: rerun_chef? file: chefctl/sample_hooks/retry_on_log_message.rb start line: 25 end line: 39 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: keep_testing file: chefctl/src/chefctl.rb start line: 779 end line: 790 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: self.lib file: chefctl/src/chefctl.rb start line: 110 end line: 122 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 25 unit: parent_process file: chefctl/src/chefctl.rb start line: 597 end line: 607 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: lock file: chefctl/src/chefctl.rb start line: 846 end line: 856 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 27 unit: pre_start file: chefctl/sample_hooks/custom_attrs.rb start line: 41 end line: 50 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 28 unit: get_chef_env file: chefctl/src/chefctl.rb start line: 987 end line: 1000 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 29 unit: copy_output file: chefctl/src/chefctl.rb start line: 1003 end line: 1012 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 30 unit: cli_options file: chefctl/sample_hooks/custom_attrs.rb start line: 32 end line: 40 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: load_config file: chefctl/src/chefctl.rb start line: 427 end line: 435 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 32 unit: parent_group file: chefctl/src/chefctl.rb start line: 614 end line: 622 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: generate_certs file: chefctl/src/chefctl.rb start line: 250 end line: 257 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: self.register file: chefctl/src/chefctl.rb start line: 322 end line: 329 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: chef_client_binary file: chefctl/src/chefctl.rb start line: 355 end line: 362 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: validate_options file: chefctl/src/chefctl.rb start line: 436 end line: 443 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: chefclient_procs file: chefctl/src/chefctl.rb start line: 571 end line: 579 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: shell_output file: chefctl/src/chefctl.rb start line: 450 end line: 456 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: kill_processes file: chefctl/src/chefctl.rb start line: 687 end line: 693 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: self.close_logger file: chefctl/src/chefctl.rb start line: 104 end line: 109 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: initialize file: chefctl/sample_hooks/custom_attrs.rb start line: 27 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: quit file: chefctl/src/chefctl.rb start line: 35 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: self.program_name= file: chefctl/src/chefctl.rb start line: 58 end line: 62 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: self.logger file: chefctl/src/chefctl.rb start line: 99 end line: 103 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: set_mtime file: chefctl/src/chefctl.rb start line: 413 end line: 417 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: check_user file: chefctl/src/chefctl.rb start line: 420 end line: 424 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: symlink_output file: chefctl/src/chefctl.rb start line: 892 end line: 896 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: initialize file: chefctl/src/chefctl.rb start line: 1137 end line: 1141 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: post_run file: chefctl/sample_hooks/custom_attrs.rb start line: 51 end line: 54 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: self.program_name file: chefctl/src/chefctl.rb start line: 63 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: self.log_file file: chefctl/src/chefctl.rb start line: 90 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: self.flush_logger file: chefctl/src/chefctl.rb start line: 94 end line: 98 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 53 unit: hostname file: chefctl/src/chefctl.rb start line: 243 end line: 246 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: rerun_chef? file: chefctl/src/chefctl.rb start line: 283 end line: 286 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: logger file: chefctl/src/chefctl.rb start line: 292 end line: 295 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: get_timestamp file: chefctl/src/chefctl.rb start line: 408 end line: 411 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: kill_processes file: chefctl/src/chefctl.rb start line: 581 end line: 584 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: read_nonblock file: chefctl/src/chefctl.rb start line: 586 end line: 589 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: symlink file: chefctl/src/chefctl.rb start line: 590 end line: 593 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: initialize file: chefctl/src/chefctl.rb start line: 635 end line: 638 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: self.run_chef_via_subshell file: chefctl/src/chefctl.rb start line: 640 end line: 643 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: read_nonblock file: chefctl/src/chefctl.rb start line: 695 end line: 698 size: 3 LOC McCabe index: 1 number of parameters: 1