| blib/lib/Promise/ES6.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 24 | 79.1 |
| line | true | false | branch |
|---|---|---|---|
| 74 | 6 | 59 | unless (eval { do { &$cr($resolver, $rejecter); 1 } }) |
| 91 | 40 | 30 | if ($self->{'_finished_how'}) { } |
| 112 | 0 | 110 | if $self->{'_finished_how'} |
| 116 | 61 | 49 | if ($$self{"_on_$how"}) |
| 117 | 60 | 1 | if (eval { do { $value = $$self{"_on_$how"}($value); 1 } }) { } |
| 130 | 3 | 110 | if (eval { do { $repromise_value->isa('Promise::ES6') } }) { } |
| 175 | 8 | 4 | _is_promise($_) ? : |
| 184 | 3 | 7 | if ($unresolved_size <= 0) |
| 197 | 8 | 0 | _is_promise($_) ? : |
| 205 | 0 | 8 | if $is_done |
| 210 | 0 | 3 | if $is_done |
| 217 | 0 | 1 | if $is_done |