line |
true |
false |
branch |
19
|
0 |
0 |
if ($req->{'method'} eq '_bkpr.supervisor.worker_status' or $req->{'method'} eq '_bkpr.supervisor.worker_exit') { } |
22
|
0 |
0 |
unless $self->__has_authorization_token('BKPR_SYSTEM') |
26
|
0 |
0 |
unless $self->__has_authorization_token('BKPR_ADMIN') |
108
|
0 |
0 |
if ($status->{'queue'}) |
147
|
0 |
0 |
if defined $_ and !$host || $_->{'host'} eq $host and !$pool || $_->{'pool'} eq $pool |
161
|
0 |
0 |
unless defined $worker |
167
|
0 |
0 |
if (open my $fh, '<', "/proc/$pid/statm") { } |
186
|
0 |
0 |
if (open my $fh, '<', "/proc/$pid/stat") |
200
|
0 |
0 |
if (abs($mem_size - $old_msize) / $old_msize < 0.05 and abs($cpu_load - $old_load) / $old_load < 0.05) { } |
235
|
0 |
0 |
unless defined $worker |
238
|
0 |
0 |
if $worker->{'class'} eq 'Beekeeper::Service::Sinkhole::Worker' |
245
|
0 |
0 |
unless @unserviced |
313
|
0 |
0 |
if $args->{'host'} and $args->{'host'} ne $self->{'host'} |
314
|
0 |
0 |
if $args->{'pool'} and $args->{'pool'} ne $self->{'pool'} |
322
|
0 |
0 |
$args->{'class'} ? : |
328
|
0 |
0 |
if $worker->{'class'} eq 'Beekeeper::Service::Supervisor::Worker' |
331
|
0 |
0 |
if $pid |
334
|
0 |
0 |
if (not $args->{'delay'}) { } |
361
|
0 |
0 |
if $args->{'host'} and $args->{'host'} ne $self->{'host'} |
362
|
0 |
0 |
if $args->{'pool'} and $args->{'pool'} ne $self->{'pool'} |
367
|
0 |
0 |
if (not $delay) { } |
393
|
0 |
0 |
unless defined $worker |
397
|
0 |
0 |
unless $pools{"${host}:$pool"} |
402
|
0 |
0 |
if $key eq "${host}:$pool" |