lib/ControlFreak/Service.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 70 | 87 | 80.4 |
pod | 28 | 48 | 58.3 |
line | count | pod | subroutine |
---|---|---|---|
2 | 8 | n/a | BEGIN |
3 | 8 | n/a | BEGIN |
5 | 8 | n/a | BEGIN |
6 | 8 | n/a | BEGIN |
7 | 8 | n/a | BEGIN |
8 | 8 | n/a | BEGIN |
9 | 8 | n/a | BEGIN |
10 | 8 | n/a | BEGIN |
11 | 8 | n/a | BEGIN |
12 | 8 | n/a | BEGIN |
13 | 8 | n/a | BEGIN |
14 | 8 | n/a | BEGIN |
16 | 8 | n/a | BEGIN |
17 | 8 | n/a | BEGIN |
18 | 8 | n/a | BEGIN |
19 | 8 | n/a | BEGIN |
48 | 8 | n/a | BEGIN |
102 | 26 | Yes | new |
132 | 2 | n/a | _err |
141 | 26 | Yes | is_fail |
152 | 79 | Yes | is_backoff |
163 | 15 | Yes | is_fatal |
174 | 53 | Yes | is_running |
185 | 61 | Yes | is_starting |
196 | 3 | Yes | is_stopping |
207 | 53 | Yes | is_stopped |
218 | 78 | Yes | is_up |
237 | 35 | Yes | is_down |
247 | 7 | Yes | fail_reason |
279 | 15 | Yes | stop |
281 | 0 | n/a | __ANON__ |
282 | 11 | n/a | __ANON__ |
316 | 1 | n/a | __ANON__ |
381 | 35 | Yes | start |
383 | 0 | n/a | __ANON__ |
384 | 32 | n/a | __ANON__ |
419 | 38 | No | set_check_running_state_timer |
423 | 12 | n/a | __ANON__ |
436 | 3 | Yes | has_stopped |
451 | 1 | n/a | _check_stopping_state |
485 | 1 | Yes | kill |
495 | 12 | n/a | _check_running_state |
517 | 4 | n/a | _backoff_restart |
528 | 7 | n/a | _exponential_backoff_delay |
542 | 1 | Yes | up |
554 | 2 | Yes | down |
570 | 2 | Yes | restart |
572 | 0 | n/a | __ANON__ |
573 | 0 | n/a | __ANON__ |
575 | 0 | n/a | __ANON__ |
581 | 1 | n/a | __ANON__ |
600 | 0 | Yes | proxy_as_text |
636 | 0 | Yes | status_as_text |
664 | 0 | Yes | desc_as_text |
674 | 3 | Yes | assign_proxy |
684 | 4 | Yes | assign_pid |
691 | 56 | n/a | _set |
715 | 5 | No | unset |
736 | 0 | Yes | tags_as_text |
742 | 3 | Yes | tag_list |
747 | 31 | No | set_cmd |
752 | 14 | No | set_cmd_from_con |
756 | 4 | n/a | __ANON__ |
758 | 3 | n/a | __ANON__ |
767 | 0 | No | set_desc |
773 | 3 | No | set_tags |
780 | 0 | No | set_add_env |
794 | 2 | Yes | add_env |
807 | 1 | Yes | clear_env |
812 | 5 | No | set_stopwait_secs |
817 | 8 | No | set_startwait_secs |
822 | 2 | No | set_tie_stdin_to |
827 | 0 | No | set_ignore_stderr |
833 | 0 | No | set_ignore_stdout |
839 | 4 | No | set_respawn_on_fail |
845 | 4 | No | set_respawn_on_stop |
851 | 2 | No | set_respawn_max_retries |
857 | 0 | No | set_no_new_session |
863 | 29 | n/a | _run_cmd |
909 | 0 | n/a | __ANON__ |
915 | 28 | n/a | __ANON__ |
922 | 0 | No | prepare_child |
940 | 0 | Yes | setup_environment |
953 | 32 | No | acknowledge_exit |
985 | 15 | No | deal_with_failure |
1016 | 4 | n/a | __ANON__ |
1028 | 17 | No | optionally_respawn |