Branch Coverage

blib/lib/Minion.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
29 0 0 unless (ref $task)
31 0 0 ref $e ? :
0 0 if $e
32 0 0 unless $task->isa("Minion::Job")
44 0 0 !$class || ref $class ? :
57 0 0 unless my $job = $self->job($id)
58 0 0 unless $job->retry({"attempts", 1, "queue", "minion_foreground"})
67 0 0 defined($err = $job->execute) ? :
0 0 if ($job)
70 0 0 defined $err ? :
76 0 0 unless $self->lock($name, $duration, $options)
77 0 0 if &steady_time() < $time
87 0 0 unless my $job = $self->_info($id)
101 0 0 ref $e ? :
0 0 if $e
132 0 0 if $Minion::Config{'d_pseudofork'}
171 0 0 if (not $foreground) { }
0 0 elsif (defined(my $err = $job->execute)) { }
180 0 0 unless my $job = $self->_info($id)
181 0 0 if ($job->{'state'} eq 'finished') { }
0 0 elsif ($job->{'state'} eq 'failed') { }