Branch Coverage

blib/lib/IPC/Session.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
94 0 3 unless defined $timeout
98 0 2 unless open3(\*IN, \*OUT, \*ERR, $cmd)
122 0 2 if $shout =~ /csherrno=0/
126 2 0 if $shout =~ /bsherrno=0/
143 6 4 if $shell eq 'bsh'
144 0 10 if $shell eq 'csh'
151 0 10 if $shell eq 'csh'
152 6 4 if $shell eq 'bsh'
153 6 4 if $shell
160 15 12 unless defined $timeout
185 12 502 if $timeout == 0
188 1 501 unless $nready
193 0 501 unless sysread $$self{$handle}, $outc, 1
197 26 475 if $outc eq "\n"
200 5 21 if $outl =~ /$eot errno=(\d+)/
203 14 12 if $outl =~ /$eot/
207 9 5 unless wantarray
266 4 1 unless wantarray