lib/IOMux/Pipe/Read.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 20 | 50.0 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 2 | unless my $command = $args->{'command'} |
29 | 2 | 0 | ref $command eq 'ARRAY' ? : |
33 | 0 | 2 | unless pipe $rh, $wh |
37 | 0 | 2 | unless defined $pid |
40 | 1 | 1 | if ($pid == 0) |
44 | 0 | 1 | unless CORE::open STDOUT, '>&', $wh |
48 | 0 | 0 | unless exec $cmd, @cmdopts |
71 | 0 | 2 | unless pipe $rh, $wh |
86 | 0 | 0 | ref $cmd eq 'ARRAY' ? : |
101 | 1 | 1 | unless my $pid = $self->{'IMPR_pid'} |