Branch Coverage

blib/lib/Proc/Spawn.pm
Criterion Covered Total %
branch 11 26 42.3


line true false branch
33 0 2 unless defined $pty
38 0 2 unless defined $pid
40 0 2 unless ($pid)
41 0 0 unless &POSIX::setsid()
53 0 0 unless fileno STDERR == 2
56 0 0 if (ref($cmd) =~ /ARRAY/) { }
86 0 5 unless defined $inC
88 0 5 unless defined $outP
90 0 5 unless defined $errP
94 0 5 unless defined $pid
96 2 3 unless ($pid)
108 0 2 unless fileno STDERR == 2
119 0 2 if (ref($cmd) =~ /ARRAY/) { }