Branch Coverage

blib/lib/Mojolicious/Plugin/Minion/Workers.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
16 0 0 if keys %$conf == 1
20 0 0 if $backend and ref $conf->{$backend} eq 'CODE'
22 0 0 unless $app->renderer->get_helper('minion') or not $backend
43 0 0 if $manage
53 0 0 unless $conf->{'is_manage'}
56 0 0 unless $workers ||= $conf->{'workers'}
60 0 0 if ($conf->{'is_prefork'}) { }
75 0 0 if $ENV{'HYPNOTOAD_PID'} and not $ENV{'HYPNOTOAD_STOP'}
79 0 0 if $ENV{'HYPNOTOAD_STOP'}
83 0 0 unless defined(my $pid = fork)
85 0 0 if $pid
139 0 0 unless POSIX::setsid() != -1
140 0 0 unless open STDIN, '< /dev/null'
141 0 0 unless open STDOUT, '> /dev/null'
142 0 0 unless open STDERR, '>&STDOUT'