Branch Coverage

lib/IOMux/IPC.pm
Criterion Covered Total %
branch 13 30 43.3


line true false branch
26 0 2 unless my $command = $args->{'command'}
28 2 0 ref $command eq 'ARRAY' ? :
33 0 2 if ($mode eq '|=|') { }
2 0 elsif ($mode eq '|-|') { }
34 0 2 if $errors
44 0 2 $errors ? :
48 0 2 unless defined $pid
51 1 1 if ($pid == 0)
53 0 1 unless CORE::open STDIN, '<&', $in_rh
55 0 1 unless CORE::open STDOUT, '>&', $out_wh
57 0 1 if ($err_wh) { }
58 0 0 unless CORE::open STDERR, '>&', $err_wh
66 0 0 unless exec $cmd, @cmdopts
74 0 1 if $err_wh
84 0 0 ref $cmd eq 'ARRAY' ? :