| blib/lib/Async.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 26 | 76.9 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 1 | 18 | unless (pipe $r, $w) |
| 19 | 1 | 17 | unless (defined $pid) |
| 24 | 16 | 1 | if ($pid) { } |
| 49 | 6 | 4 | unless $force |
| 51 | 3 | 7 | if $self->{'FINISHED'} |
| 59 | 4 | 5 | if ($nr) { } |
| 3 | 2 | elsif (defined $nr) { } | |
| 83 | 1 | 3 | if ($self->{'FINISHED'}) { } |
| 2 | 1 | elsif ($force) { } | |
| 95 | 1 | 15 | if $self->{'PPID'} != $$ |
| 109 | 0 | 0 | unless defined $msg |
| 114 | 0 | 0 | if not defined $s and $@ eq "TIMEOUT\n" |
| 139 | 0 | 0 | defined $rc ? : |