line |
true |
false |
branch |
95
|
8 |
205 |
unless $TAP::Parser::Iterator::Process::Config{'d_fork'} or $IS_WIN32 |
98
|
0 |
410 |
if $@ |
107
|
1 |
1 |
if defined $got_unicode |
109
|
0 |
1 |
$@ ? : |
119
|
1 |
256 |
unless delete $args->{'command'} |
|
1 |
256 |
unless my(@command) = @{[] unless delete $args->{'command'};} |
130
|
213 |
43 |
if (my $setup = delete $args->{'setup'}) |
136
|
204 |
52 |
if ($self->_use_open3) { } |
144
|
204 |
361 |
if fileno $fh == fileno STDIN |
150
|
0 |
204 |
if ($IS_WIN32) { } |
151
|
0 |
0 |
$merge ? : |
153
|
0 |
0 |
$merge ? : |
158
|
0 |
0 |
if $@ |
159
|
0 |
0 |
if ($] >= 5.006) |
164
|
47 |
157 |
$merge ? : |
166
|
0 |
204 |
if $@ |
167
|
47 |
157 |
$merge ? : |
173
|
1 |
119 |
$_ =~ /\s/ ? : |
174
|
0 |
52 |
unless open $out, "$command|" |
185
|
213 |
43 |
if (my $teardown = delete $args->{'teardown'}) |
203
|
2 |
12 |
if ($self->{'sel'}) { } |
204
|
2 |
0 |
if (_get_unicode()) |
212
|
4 |
2 |
if defined $line |
218
|
12 |
0 |
if ($] >= 5.008) |
233
|
254 |
0 |
if (my $out = $self->{'out'}) { } |
234
|
155 |
99 |
if (my $sel = $self->{'sel'}) { } |
240
|
423 |
419 |
if @buf |
247
|
304 |
676 |
if ($got == 0) { } |
|
8 |
668 |
elsif ($fh == $err) { } |
258
|
474 |
194 |
unless (substr($chunk, -1, 1) eq "\n") |
260
|
428 |
46 |
if ($nl == -1) { } |
271
|
240 |
0 |
if @buf |
277
|
27 |
152 |
if (length $partial) |
289
|
580 |
98 |
if (defined(my $line = readline $out)) |
318
|
250 |
0 |
if $] >= 5.006 |
321
|
198 |
52 |
if (defined $self->{'pid'}) |
322
|
198 |
0 |
if ($self->{'pid'} == waitpid($self->{'pid'}, 0)) |
327
|
250 |
0 |
if $self->{'out'} |
330
|
152 |
98 |
if ($self->{'sel'}) { } |
340
|
0 |
250 |
if $IS_WIN32 and $status == -1 |
345
|
208 |
42 |
if (my $teardown = $self->{'teardown'}) |