blib/lib/Object/Remote/Future.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
17 | 26 | 110 | if (caller 1 + ($_[1] || 0) || '') eq 'start' |
26 | 0 | 175 | if $f->is_ready |
33 | 175 | 0 | if ($f == $await[-1]) |
41 | 57 | 118 | if (@await and $await[-1]->is_ready) |
46 | 3 | 172 | wantarray ? : |
63 | 0 | 13 | unless (eval { do { $res = $invocant->$method(@_); 1 } }) |
68 | 2 | 11 | unless (&Scalar::Util::blessed($res) and $res->isa('Future')) |
80 | 0 | 0 | if ((caller 1 || '') eq 'start') { } |
92 | 1 | 47 | if (caller 1 || '') eq 'start' |