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+)?$/
373 3 0 0 $tally->{'waiting'} < $prop->{'min_spare_servers'} and $total < $prop->{'max_servers'}
388 0 0 0 $tally->{'waiting'} > $prop->{'max_spare_servers'} and $total > $prop->{'min_servers'}
415 3 0 0 $time - $prop->{'last_process'} > 30 and $tally->{'waiting'} > $prop->{'min_spare_servers'}
425 0 0 0 defined $prop->{'max_dequeue'} and $tally->{'dequeue'} < $prop->{'max_dequeue'}

or 2 conditions

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

or 3 conditions

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