Branch Coverage

blib/lib/Mojolicious/Plugin/Minion/Starter.pm
Criterion Covered Total %
branch 5 26 19.2


line true false branch
31 0 1 $spawn <= 0 ? :
36 2 0 if ($self->config->{'debug'})
44 0 2 if (ref $server eq 'Mojo::Server::Prefork')
47 0 0 if scalar @{$self->workers;} < $spawn
51 2 0 if (ref $server eq 'Mojo::Server::Daemon')
61 0 0 ref $_[0] ? :
65 0 0 if ($server eq 'Mojo::Server::Daemon') { }
0 0 elsif ($server eq 'Mojo::Server::Prefork') { }
80 4 0 if (my $pid = fork) { }
85 0 0 if ($self->config->{'debug'}) { }
97 0 0 if kill 0, $_
98 0 0 if (kill 'HUP', $_) { }
101 0 0 if $self->config->{'debug'}