Branch Coverage

blib/lib/IO/Tty/Util.pm
Criterion Covered Total %
branch 9 26 34.6


line true false branch
22 0 9 if ($a eq 'passthru')
25 0 0 unless $master
39 0 5 unless defined $master
49 0 2 $rc == -1 ? :
57 0 2 unless defined $master
60 0 2 unless defined $pid
62 1 1 if ($pid) { }
68 0 1 unless login_tty($slave)
69 1 0 unless scalar @cmd
70 0 0 unless exec @cmd
86 0 0 unless $rc
88 0 0 $h eq \*STDIN ? :
90 0 0 unless print $out $buf