| line |
true |
false |
branch |
|
11
|
0 |
0 |
if $_[0]->commands->{$_[1]} = $_[2] |
|
17
|
0 |
0 |
unless my $id = $self->id |
|
20
|
0 |
0 |
unless my $job = $minion->backend->dequeue($id, $wait, $options) |
|
40
|
0 |
0 |
unless my $cb = $self->commands->{shift @$command} |
|
44
|
0 |
0 |
if $called |
|
78
|
0 |
0 |
if ++$self->{'finished'} |
|
83
|
0 |
0 |
if ($_[1] // "") =~ /^\d+$/u |
|
85
|
0 |
0 |
if ($_[1] // "") =~ /^\d+$/u |
|
91
|
0 |
0 |
if $err |
|
102
|
0 |
0 |
unless grep {$signal eq $_;} "INT", "TERM", "KILL", "USR1", "USR2" |
|
113
|
0 |
0 |
if $self->{'last_heartbeat'} + $status->{'heartbeat_interval'} < &steady_time() |
|
118
|
0 |
0 |
if $self->{'last_command'} + $status->{'command_interval'} < &steady_time() |
|
122
|
0 |
0 |
if ($self->{'last_repair'} + $status->{'repair_interval'} < &steady_time()) |
|
129
|
0 |
0 |
if ($status->{'dispatch_interval'} and $self->{'last_dispatch'} + $status->{'dispatch_interval'} < &steady_time()) |
|
136
|
0 |
0 |
if ($_->is_finished and ++$status->{'performed'}) { } |
|
140
|
0 |
0 |
if ($self->{'finished'} or $status->{'jobs'} + $status->{'spare'} <= @$jobs) { } |
|
|
0 |
0 |
elsif ($status->{'jobs'} <= @$jobs) { } |
|
145
|
0 |
0 |
unless @$tasks |
|
148
|
0 |
0 |
if $job |