| line |
true |
false |
branch |
|
24
|
1 |
18 |
(&reftype($_[0]) || '') eq 'HASH' ? : |
|
26
|
1 |
18 |
if $args->{'stdin'} |
|
27
|
0 |
18 |
if $args->{'raw'} |
|
32
|
0 |
18 |
unless $self{'impl'} =~ /^(idle|child|mojo)$/ |
|
34
|
0 |
0 |
if $self{'impl'} eq "mojo" and do {
require Mojo::Reactor;
"Mojo::Reactor"->detect eq "Mojo::Reactor::EV"
} |
|
41
|
1 |
18 |
unless @_ >= 2 |
|
44
|
2 |
16 |
ref $_[-1] eq 'CODE' ? : |
|
47
|
2 |
16 |
if ref $_[-1] |
|
55
|
2 |
16 |
if (defined $stdin) |
|
61
|
1 |
1 |
ref $stdin eq 'ARRAY' ? : |
|
69
|
18 |
0 |
if ($self->{'impl'} =~ /^(child|idle)$/) { } |
|
|
0 |
0 |
elsif ($self->{'impl'} eq 'mojo') { } |
|
73
|
0 |
18 |
if $self->{'impl'} eq "idle" |
|
84
|
2 |
16 |
if (my $error = $@) |
|
100
|
7 |
4 |
unless defined $input |
|
103
|
2 |
2 |
ref $ref eq 'ARRAY' ? : |
|
108
|
10 |
2 |
unless defined $input |
|
111
|
1 |
1 |
ref $ref eq 'ARRAY' ? : |
|
114
|
16 |
0 |
if ($self->{'impl'} =~ /^(idle|child)$/) |
|
141
|
0 |
13 |
if ($self->{'raw'}) { } |
|
152
|
0 |
0 |
unless defined $input |
|
155
|
0 |
0 |
ref $ref eq 'ARRAY' ? : |
|
161
|
0 |
0 |
unless defined $input |
|
164
|
0 |
0 |
ref $ref eq 'ARRAY' ? : |
|
169
|
1 |
12 |
if $signal > 0 |
|
170
|
2 |
11 |
if $exit_value > 0 |
|
171
|
10 |
3 |
if $signal == 0 and $exit_value == 0 |
|
178
|
0 |
16 |
if ($self->{'impl'} eq 'mojo') { } |
|
|
0 |
16 |
elsif ($self->{'impl'} eq 'idle') { } |