| blib/lib/Async.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 26 | 76.9 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 1 | 18 | unless (pipe $r, $w) |
| 18 | 1 | 17 | unless (defined $pid) |
| 23 | 16 | 1 | if ($pid) { } |
| 48 | 6 | 4 | unless $force |
| 50 | 3 | 7 | if $self->{'FINISHED'} |
| 58 | 4 | 5 | if ($nr) { } |
| 3 | 2 | elsif (defined $nr) { } | |
| 82 | 1 | 3 | if ($self->{'FINISHED'}) { } |
| 2 | 1 | elsif ($force) { } | |
| 94 | 1 | 15 | if $self->{'PPID'} != $$ |
| 108 | 0 | 0 | unless defined $msg |
| 113 | 0 | 0 | if not defined $s and $@ eq "TIMEOUT\n" |
| 138 | 0 | 0 | defined $rc ? : |