| blib/lib/Shell.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 24 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 0 | 2 | if (@_) { } |
| 49 | 0 | 3 | if ref $_[0] and $_[0]->isa('Shell') |
| 55 | 1 | 4 | if ref $_[0] and $_[0]->isa('Shell') |
| 56 | 3 | 2 | if (@_ < 1) { } |
| 57 | 0 | 2 | $capture_stderr == -1 ? : |
| 1 | 2 | $capture_stderr == 1 ? : | |
| 89 | 2 | 0 | unless ($raw) |
| 113 | 0 | 2 | if $capture_stderr == 1 |
| 114 | 0 | 2 | if $capture_stderr == -1 |
| 115 | 0 | 2 | unless open SUBPROC, join(' ', $cmd, @arr, '|') |
| 117 | 2 | 0 | if (wantarray) { } |
| 132 | 1 | 2 | if ref $_[0] and $_[0]->isa('Shell') |