Branch Coverage

blib/lib/Test/ParallelSubtest.pm
Criterion Covered Total %
branch 37 60 61.6


line true false branch
26 2 8 if @_kids
51 7 14 if ($item eq 'max_parallel') { }
68 9 6 if (defined $new_value)
69 0 9 unless $new_value =~ /^[0-9]+\z/
79 1 23 if $_i_am_a_child
83 1 22 if ($MaxParallel < 1)
94 0 22 unless (defined $pid)
103 16 6 if ($pid) { }
161 21 5 if $_i_am_a_child
171 22 0 if ($pipe_ok)
173 22 0 if (defined $pid)
178 0 0 if (@_kids) { }
193 0 16 unless $kid and $$kid{'Ppid'} == $$
203 0 16 unless (defined $outer_out)
214 0 16 unless (defined $ok)
224 0 16 if (defined $todo and $Test::Builder::VERSION >= 0.9502)
231 0 16 unless ($cap->replay_writes($out_dest, $fail_dest, $todo_dest))
255 0 16 if ($internal_failure) { }
0 16 elsif (defined $skip) { }
290 0 16 unless my $parser = 'TAP::Parser'->new({'tap', $output})
291 0 16 unless my $result = $parser->next
292 0 16 unless $result->is_test
298 0 16 $result->has_todo ? :
299 0 16 $result->has_skip ? :
316 0 64 unless read $fh, $lenbuf, 4
317 0 64 unless length $lenbuf == 4
321 32 32 if ($wantlen)
322 0 32 unless read $fh, $buf, $wantlen
323 0 32 unless length $buf == $wantlen
334 0 16 if (ref $dest =~ /^SCALAR/) { }