line |
true |
false |
branch |
95
|
8 |
204 |
unless $TAP::Parser::Iterator::Process::Config{'d_fork'} or $IS_WIN32 |
98
|
0 |
408 |
if $@ |
107
|
1 |
1 |
if defined $got_unicode |
109
|
0 |
1 |
$@ ? : |
119
|
1 |
254 |
unless delete $args->{'command'} |
|
1 |
254 |
unless my(@command) = @{[] unless delete $args->{'command'};} |
130
|
211 |
43 |
if (my $setup = delete $args->{'setup'}) |
136
|
203 |
51 |
if ($self->_use_open3) { } |
144
|
203 |
360 |
if fileno $fh == fileno STDIN |
150
|
0 |
203 |
if ($IS_WIN32) { } |
151
|
0 |
0 |
$merge ? : |
153
|
0 |
0 |
$merge ? : |
158
|
0 |
0 |
if $@ |
159
|
0 |
0 |
if ($] >= 5.006) |
164
|
46 |
157 |
$merge ? : |
166
|
0 |
203 |
if $@ |
167
|
46 |
157 |
$merge ? : |
173
|
1 |
117 |
$_ =~ /\s/ ? : |
174
|
0 |
51 |
unless open $out, "$command|" |
185
|
211 |
43 |
if (my $teardown = delete $args->{'teardown'}) |
203
|
2 |
10 |
if ($self->{'sel'}) { } |
204
|
2 |
0 |
if (_get_unicode()) |
212
|
4 |
2 |
if defined $line |
218
|
10 |
0 |
if ($] >= 5.008) |
233
|
252 |
0 |
if (my $out = $self->{'out'}) { } |
234
|
155 |
97 |
if (my $sel = $self->{'sel'}) { } |
240
|
424 |
418 |
if @buf |
247
|
304 |
672 |
if ($got == 0) { } |
|
8 |
664 |
elsif ($fh == $err) { } |
258
|
471 |
193 |
unless (substr($chunk, -1, 1) eq "\n") |
260
|
425 |
46 |
if ($nl == -1) { } |
271
|
239 |
0 |
if @buf |
277
|
27 |
152 |
if (length $partial) |
289
|
566 |
96 |
if (defined(my $line = readline $out)) |
318
|
248 |
0 |
if $] >= 5.006 |
321
|
197 |
51 |
if (defined $self->{'pid'}) |
322
|
197 |
0 |
if ($self->{'pid'} == waitpid($self->{'pid'}, 0)) |
327
|
248 |
0 |
if $self->{'out'} |
330
|
152 |
96 |
if ($self->{'sel'}) { } |
340
|
0 |
248 |
if $IS_WIN32 and $status == -1 |
345
|
206 |
42 |
if (my $teardown = $self->{'teardown'}) |