Condition Coverage

blib/lib/Mojolicious/Plugin/Minion/Workers.pm
Criterion Covered Total %
condition 0 34 0.0


and 2 conditions

line l !l condition
47 0 0 $self->manage and $self->conf->{'is_manage'} = 0

and 3 conditions

line !l l&&!r l&&r condition
20 0 0 0 require Carp and Carp::croak('Too many config args for Mojolicious::Plugin::Minion')
0 0 0 @backend > 1 and not $helper
24 0 0 0 $backend[0] and ref $$conf{$backend[0]} eq 'CODE'
26 0 0 0 $backend[0] and not $helper
79 0 0 0 $ENV{'HYPNOTOAD_PID'} and not $ENV{'HYPNOTOAD_STOP'}
133 0 0 0 kill 'QUIT', $_->{'pid'} and $minion->app->log->info("Minion worker (pid $_->{'pid'}) was stopped")

or 2 conditions

line l !l condition
14 0 0 delete $conf->{'tasks'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 !$ARGV[0] || $ARGV[0] eq 'daemon' || $ARGV[0] eq 'prefork'
0 0 0 $ENV{'HYPNOTOAD_APP'} || $ARGV[0] && $ARGV[0] eq 'prefork'
60 0 0 0 $workers ||= $conf->{'workers'}
129 0 0 0 $workers ||= $minion->backend->list_workers(0, 1000)->{'workers'}