| blib/lib/IPC/Run/Fused/POSIX.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 8 | 16 | 50.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 25 | 0 | 15450 | unless pipe $reader, $writer | 
| 27 | 15150 | 300 | if (my $pid = fork) | 
| 32 | 0 | 300 | unless open *STDOUT, '>>&=', $writer->fileno | 
| 33 | 0 | 300 | unless open *STDERR, '>>&=', $writer->fileno | 
| 35 | 100 | 200 | if (ref $params[0] and ref $params[0] eq 'CODE') | 
| 39 | 0 | 200 | if (ref $params[0] and ref $params[0] eq 'SCALAR') | 
| 41 | 0 | 0 | unless exec $command | 
| 46 | 0 | 0 | unless exec do { $program } @params |