Branch Coverage

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


line true false branch
15 0 0 eval { do { my $task = $self->minion->tasks->{$self->emit('start')->task}; ref $task ? $self->$task(@{$self->args;}) : $self->run(@{$self->args;}); not !$self->emit('finish') } } ? :
17 0 0 ref $task ? :
25 0 0 $ok ? :
31 0 0 $ok ? :
38 0 0 unless waitpid($self->{'pid'}, 1) == $self->{'pid'}
39 0 0 $? ? :
53 0 0 unless +($self->info || {})->{'parents'}
59 0 0 $? ? :
77 0 0 unless defined(my $pid = fork)
78 0 0 if $self->{'pid'} = $pid
86 0 0 if (defined(my $err = $self->execute))
96 0 0 $term ? :