blib/lib/Mojolicious/Plugin/ForkCart.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 34 | 17.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 1 | 0 | 0 | $caddy->is_alive and $ENV{'HYPNOTOAD_STOP'} |
33 | 1 | 0 | 0 | $caddy->is_alive and not $ENV{'MOJOLICIOUS_PLUGIN_FORKCART_ADD'} |
1 | 0 | 0 | $ARGV[0] and $ARGV[0] =~ /^(daemon|prefork)$/ | |
1 | 0 | 0 | $ENV{'HYPNOTOAD_REV'} and 2 <= $ENV{'HYPNOTOAD_REV'} | |
252 | 0 | 0 | 0 | $ARGV[0] && $ARGV[0] =~ /daemon/ |
257 | 0 | 0 | 0 | $@ and not $caddy->is_me |
300 | 0 | 0 | 0 | $data->{'caddy_pid'} and $$ != $data->{'caddy_pid'} |
line | l | !l | condition |
---|---|---|---|
15 | 0 | 1 | $ENV{'MOJOLICIOUS_PLUGIN_FORKCART_DEBUG'} || 0 |
275 | 0 | 0 | $data->{'slots'} //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
226 | 0 | 0 | 3 | -f $caddy->state->file or -s _ |
363 | 0 | 0 | 0 | $caddy->state->data->{'shutdown'} or not $caddy->is_alive |
375 | 0 | 0 | 0 | not $ret or $done < &steady_time() |