Branch Coverage

lib/IOMux/Pipe/Read.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
22 0 2 unless my $command = $$args{'command'}
25 2 0 ref $command eq 'ARRAY' ? :
29 0 2 unless pipe $rh, $wh
33 0 2 unless defined $pid
36 1 1 if ($pid == 0)
40 0 1 unless CORE::open STDOUT, '>&', $wh
44 0 0 unless exec $cmd, @cmdopts
67 0 2 unless pipe $rh, $wh
82 0 0 ref $cmd eq 'ARRAY' ? :
96 1 1 unless my $pid = $$self{'IMPR_pid'}