Condition Coverage

blib/lib/No/Worries/Proc.pm
Criterion Covered Total %
condition 30 60 50.0


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 54 -f $cmd[0] and -x _
53 0 0 0 length $dir and -d $dir
54 0 0 0 -f "$dir/$cmd[0]" and -x _
123 44 0 0 $$proc{"fh$what"} and $$proc{"cb$what"}
129 68 0 20 $$proc{"fh$what"} and $$proc{"cb$what"}
134 2 25 0 $iosr and not grep(($fh eq $_), $iosr->can_read(1))
582 2089 0 0 $maxtime and &Time::HiRes::time() > $maxtime
586 2053 35 1 $option{'deaths'} and grep(defined($_->{'status'}), values %{$process;}) >= $zombies + $option{'deaths'}
590 567 35 1486 $iosr and $iosr->count
591 2080 4 4 $iosw and $iosw->count

or 2 conditions

line l !l condition
51 0 0 $ENV{'PATH'} || '/usr/bin:/usr/sbin:/bin:/sbin'
407 0 7 $proc->{'kill'} || 'TERM/1 INT/1 QUIT/1'
559 0 44 $option{'bufsize'} ||= 8192

or 3 conditions

line l !l&&r !l&&!r condition
161 2095 0 0 kill 0, $proc->{'pid'} or $! == 1
203 0 44 0 $ref eq "CODE" or $ref eq "SCALAR"
236 0 30 0 $ref eq "CODE" or $ref eq "SCALAR"
289 5 1 3 $wrterr or $merge
407 0 7 0 $option{'kill'} ||= $proc->{'kill'} || 'TERM/1 INT/1 QUIT/1'
570 1522 0 610 $iosr or $iosw
1522 567 43 $iosr or $iosw or grep((!defined($_->{'status'})), values %{$process;})
678 0 0 0 $SigName[$signum] || $signum