Condition Coverage

blib/lib/Sub/Daemon.pm
Criterion Covered Total %
condition 6 22 27.2


and 2 conditions

line l !l condition
307 1 1 &$start_child() and last

and 3 conditions

line !l l&&!r l&&r condition
39 2 0 0 $logfile and $pidfile
84 0 0 0 $loop < 6 and $! == 11 || $! == 12

or 2 conditions

line l !l condition
132 0 0 POSIX::sysconf(&POSIX::_SC_OPEN_MAX) // 64

or 3 conditions

line l !l&&r !l&&!r condition
42 0 2 0 $logfile ||= $filename . '.log'
43 0 2 0 $pidfile ||= $filename . '.pid'
84 0 0 0 $! == 11 || $! == 12
107 2 0 0 $opts{'debug'} // $self->debug