Branch Coverage

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


line true false branch
30 0 2 unless my $command = $args->{'command'}
32 2 0 ref $command eq 'ARRAY' ? :
37 0 2 if ($mode eq '|=|') { }
2 0 elsif ($mode eq '|-|') { }
38 0 2 if $errors
48 0 2 $errors ? :
52 0 2 unless defined $pid
55 1 1 if ($pid == 0)
57 0 1 unless CORE::open STDIN, '<&', $in_rh
59 0 1 unless CORE::open STDOUT, '>&', $out_wh
61 0 1 if ($err_wh) { }
62 0 0 unless CORE::open STDERR, '>&', $err_wh
70 0 0 unless exec $cmd, @cmdopts
78 0 1 if $err_wh
88 0 0 ref $cmd eq 'ARRAY' ? :