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 ? :
67 0 0 unless my $job = $self->job($id)
68 0 0 unless $job->retry({"attempts", 1, "queue", "minion_foreground"})
77 0 0 defined($err = $job->execute) ? :
0 0 if ($job)
80 0 0 defined $err ? :
86 0 0 unless $self->lock($name, $duration, $options)
87 0 0 if &steady_time() < $time
97 0 0 unless my $job = $self->_info($id)
113 0 0 ref $e ? :
0 0 if $e
150 0 0 if $Minion::Config{'d_pseudofork'}
189 0 0 if (not $foreground) { }
0 0 elsif (defined(my $err = $job->execute)) { }
198 0 0 unless my $job = $self->_info($id)
199 0 0 if ($job->{'state'} eq 'finished') { }
0 0 elsif ($job->{'state'} eq 'failed') { }