line |
true |
false |
branch |
31
|
0 |
0 |
unless ($pool_id) |
43
|
0 |
0 |
unless $self->load_config |
45
|
0 |
0 |
unless ($self->{'config'}{'log_file'}) |
50
|
0 |
0 |
-d "$dir/$user" ? : |
78
|
0 |
0 |
if $conf_dir |
83
|
0 |
0 |
unless ($pool_cfg) |
90
|
0 |
0 |
unless ($bus_cfg->{$bus_id}) |
120
|
0 |
0 |
if ($self->{'config'}{'use_toybroker'}) |
130
|
0 |
0 |
if grep {$_ eq $worker_class;} @spawn_workers |
138
|
0 |
0 |
unless defined $worker_count |
166
|
0 |
0 |
unless $mode |
181
|
0 |
0 |
unless $worker_class |
188
|
0 |
0 |
if ($exit_code or $signal) |
189
|
0 |
0 |
unless $mode ne '' and $exit_code == 0 and $signal == 2 || $signal == 15 |
193
|
0 |
0 |
if ($mode eq 'QUIT_IMMEDIATELY' or $mode eq 'QUIT_GRACEFULLY') { } |
|
0 |
0 |
elsif ($mode eq 'WAIT_CHILDS_TO_QUIT') { } |
|
0 |
0 |
elsif ($exit_code == 99) { } |
217
|
0 |
0 |
if ($mode eq 'QUIT_GRACEFULLY') { } |
|
0 |
0 |
elsif ($mode eq 'QUIT_IMMEDIATELY') { } |
|
0 |
0 |
elsif ($mode eq 'RESTART_POOL') { } |
|
0 |
0 |
elsif ($mode eq 'WAIT_CHILDS_TO_QUIT') { } |
255
|
0 |
0 |
unless @still_running |
258
|
0 |
0 |
if (@spawn_queue) |
270
|
0 |
0 |
unless ($worker_pid) |
277
|
0 |
0 |
unless exists $workers{$worker_pid} |
280
|
0 |
0 |
if $worker_class eq 'Beekeeper::Service::ToyBroker::Worker' |
285
|
0 |
0 |
unless defined $workers{$worker_pid} |
304
|
0 |
0 |
unless (defined $worker_pid) |
309
|
0 |
0 |
if ($worker_pid) |
327
|
0 |
0 |
if ($@) |
333
|
0 |
0 |
unless ($worker_class->can('__work_forever')) |