blib/lib/No/Worries/Proc.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 54 | 51.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
48 | 0 | 0 | 54 | -f $cmd[0] and -x _ |
52 | 0 | 0 | 0 | length $dir and -d $dir |
53 | 0 | 0 | 0 | -f "$dir/$cmd[0]" and -x _ |
122 | 44 | 0 | 0 | $$proc{"fh$what"} and $$proc{"cb$what"} |
128 | 45 | 0 | 43 | $$proc{"fh$what"} and $$proc{"cb$what"} |
580 | 1984 | 0 | 0 | $maxtime and &Time::HiRes::time() > $maxtime |
584 | 1944 | 39 | 1 | $option{'deaths'} and grep(defined($_->{'status'}), values %{$process;}) >= $zombies + $option{'deaths'} |
588 | 553 | 35 | 1395 | $iosr and $iosr->count |
589 | 1975 | 4 | 4 | $iosw and $iosw->count |
line | l | !l | condition |
---|---|---|---|
50 | 0 | 0 | $ENV{'PATH'} || '/usr/bin:/usr/sbin:/bin:/sbin' |
405 | 0 | 7 | $proc->{'kill'} || 'TERM/1 INT/1 QUIT/1' |
557 | 0 | 44 | $option{'bufsize'} ||= 8192 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
159 | 1994 | 0 | 0 | kill 0, $proc->{'pid'} or $! == 1 |
201 | 0 | 44 | 0 | $ref eq 'CODE' or $ref eq 'SCALAR' |
234 | 0 | 30 | 0 | $ref eq 'CODE' or $ref eq 'SCALAR' |
287 | 5 | 1 | 3 | $wrterr or $merge |
405 | 0 | 7 | 0 | $option{'kill'} ||= $proc->{'kill'} || 'TERM/1 INT/1 QUIT/1' |
568 | 1431 | 0 | 596 | $iosr or $iosw |
1431 | 553 | 43 | $iosr or $iosw or grep((!defined($_->{'status'})), values %{$process;}) |