| blib/lib/AnyEvent/Process.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 22 | 44 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 149 | 0 | 0 | 32 | defined $my_fh and defined $child_fh |
| 173 | 0 | 0 | 4 | defined $my_fh and defined $child_fh |
| 179 | 0 | 2 | 2 | defined $decorator and ref $decorator eq '' |
| 0 | 0 | 2 | defined $decorator and ref $decorator eq 'CODE' | |
| 237 | 0 | 4 | 2 | 'AnyEvent::Handle'->can($$handle[1][$i]) and 'ARRAY' eq ref $$handle[1][$i + 1] |
| 287 | 0 | 0 | 1 | defined $proc_args{'watchdog_interval'} and defined $proc_args{'on_watchdog'} |
| line | l | !l | condition |
|---|---|---|---|
| 98 | 4 | 4 | shift() // sub { } |
| 125 | 10 | 0 | $_[0] // sub { } |
| 220 | 0 | 6 | $proc_args{'args'} // [] |
| 277 | 1 | 13 | $proc_args{'on_kill'} // sub { $_[0]->kill(9); } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 85 | 2 | 46 | 112 | $args{$arg} // $$self{$arg} |
| 111 | 0 | 0 | 4 | $err || $@ |
| 132 | 36 | 0 | 0 | ref $handle eq 'GLOB' || $handle =~ /^\d{1,4}$/ |
| 139 | 0 | 0 | 0 | $$args[1] eq '+>' or $$args[1] eq '+<' |
| 168 | 4 | 0 | 0 | defined $out or ref $out eq 'GLOB' |
| 286 | 1 | 0 | 13 | defined $proc_args{'watchdog_interval'} or defined $proc_args{'on_watchdog'} |