Branch Coverage

blib/lib/Test/NoTty.pm
Criterion Covered Total %
branch 9 24 37.5


line true false branch
16 0 6 unless pipe my $reader, my $writer
40 0 6 unless defined $pid
43 0 6 unless ($pid)
51 0 0 unless setsid()
59 0 0 defined $exitcode ? :
63 0 0 unless print $writer $@
65 0 0 unless close $writer
82 0 0 unless kill $sig, $pid
89 0 6 unless waitpid $pid, 0
93 2 4 if length $error
97 3 1 if WIFEXITED(${^CHILD_ERROR_NATIVE})
100 1 0 if WTERMSIG(${^CHILD_ERROR_NATIVE})