blib/lib/AnyEvent/Process.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 48 | 47.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
167 | 0 | 0 | 32 | defined $my_fh and defined $child_fh |
191 | 0 | 0 | 5 | defined $my_fh and defined $child_fh |
197 | 0 | 3 | 2 | defined $decorator and ref $decorator eq '' |
0 | 0 | 3 | defined $decorator and ref $decorator eq 'CODE' | |
265 | 0 | 6 | 2 | 'AnyEvent::Handle'->can($handle->[1][$i]) and 'ARRAY' eq ref $handle->[1][$i + 1] |
307 | 0 | 0 | 1 | defined $proc_args{'watchdog_interval'} and defined $proc_args{'on_watchdog'} |
line | l | !l | condition |
---|---|---|---|
248 | 0 | 6 | $proc_args{'args'} // [] |
297 | 1 | 14 | $proc_args{'on_kill'} // sub { $_[0]->kill(9); } |
334 | 0 | 1 | $signal // 15 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
74 | 6 | 15 | 0 | shift() // $nop |
79 | 15 | 5 | 0 | shift() // $nop |
92 | 0 | 0 | 10 | $err || $@ |
135 | 2 | 0 | 187 | $args{$arg} // $self->{$arg} |
150 | 38 | 0 | 0 | ref $handle eq 'GLOB' || $handle =~ /^\d{1,4}$/ |
157 | 0 | 0 | 0 | $args->[1] eq '+>' or $args->[1] eq '+<' |
186 | 5 | 0 | 0 | defined $out or ref $out eq 'GLOB' |
306 | 1 | 0 | 14 | defined $proc_args{'watchdog_interval'} or defined $proc_args{'on_watchdog'} |