Condition Coverage

blib/lib/Net/Server/PreFork.pm
Criterion Covered Total %
condition 9 32 28.1


and 3 conditions

line !l l&&!r l&&r condition
54 0 1 0 not !defined($prop->{'min_servers'}) and $d->{'min_servers'} > $prop->{'max_servers'}
56 0 1 0 not defined $prop->{'max_spare_servers'} and $d->{'max_spare_servers'} >= $prop->{'max_servers'}
63 4 0 2 defined $prop->{$_} and $prop->{$_} =~ /^\d+(?:\.\d+)?$/
374 3 0 0 $tally->{'waiting'} < $prop->{'min_spare_servers'} and $total < $prop->{'max_servers'}
389 0 0 0 $tally->{'waiting'} > $prop->{'max_spare_servers'} and $total > $prop->{'min_servers'}
416 3 0 0 $time - $prop->{'last_process'} > 30 and $tally->{'waiting'} > $prop->{'min_spare_servers'}
426 0 0 0 defined $prop->{'max_dequeue'} and $tally->{'dequeue'} < $prop->{'max_dequeue'}

or 2 conditions

line l !l condition
354 3 0 $prop->{'tally'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
318 3 0 0 $child->{'status'} || $self->log(2, "No status for $pid when changing to $status")
369 0 0 0 $p or $w
459 1 0 0 $child->{'status'} || $self->log(2, "No status for $pid when deleting child")