line |
true |
false |
branch |
89
|
10 |
2 |
if (--$counter == 0) |
96
|
0 |
12 |
if ($err) |
116
|
33 |
75 |
if defined $args{$arg} |
119
|
0 |
12 |
if (%args) |
136
|
2 |
187 |
if defined $args{$arg} |
139
|
0 |
21 |
if (%args) |
150
|
0 |
38 |
if (not ref $handle eq 'GLOB' || $handle =~ /^\d{1,4}$/) { } |
|
32 |
6 |
elsif ($args->[0] eq 'pipe') { } |
|
1 |
5 |
elsif ($args->[0] eq 'open') { } |
|
5 |
0 |
elsif ($args->[0] eq 'decorate') { } |
157
|
16 |
16 |
if ($args->[1] eq '>') { } |
|
16 |
0 |
elsif ($args->[1] eq '<') { } |
|
0 |
0 |
elsif ($args->[1] eq '+>' or $args->[1] eq '+<') { } |
167
|
0 |
32 |
unless (defined $my_fh and defined $child_fh) |
172
|
28 |
4 |
if (ref $args->[2] eq 'GLOB') { } |
|
4 |
0 |
elsif ($args->[2] eq 'handle') { } |
180
|
0 |
1 |
unless (defined $fh) |
186
|
0 |
5 |
unless (defined $out or ref $out eq 'GLOB') |
191
|
0 |
5 |
unless (defined $my_fh and defined $child_fh) |
197
|
2 |
3 |
if (defined $decorator and ref $decorator eq '') { } |
|
3 |
0 |
elsif (defined $decorator and ref $decorator eq 'CODE') { } |
223
|
0 |
21 |
if (not defined $pid) { } |
|
6 |
15 |
elsif ($pid == 0) { } |
238
|
0 |
6 |
if (defined $proc_args{'close_all_fds_except'}) |
249
|
0 |
0 |
$rtn eq int $rtn ? : |
265
|
2 |
6 |
if ('AnyEvent::Handle'->can($handle->[1][$i]) and 'ARRAY' eq ref $handle->[1][$i + 1]) { } |
266
|
0 |
2 |
if ($handle->[1][$i] eq 'on_eof') { } |
298
|
1 |
14 |
if (defined $proc_args{'kill_interval'}) |
306
|
1 |
14 |
if (defined $proc_args{'watchdog_interval'} or defined $proc_args{'on_watchdog'}) |
307
|
0 |
1 |
unless (defined $proc_args{'watchdog_interval'} and defined $proc_args{'on_watchdog'}) |
314
|
1 |
2 |
unless ($proc_args{'on_watchdog'}->($job)) |
333
|
0 |
1 |
unless defined $self->{'job'} |
340
|
0 |
1 |
unless defined $self->{'job'} |
347
|
0 |
1 |
unless defined $self->{'job'} |