| blib/lib/Promise/ES6.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 24 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 74 | 7 | 64 | unless (eval { do { &$cr($resolver, $rejecter); 1 } }) |
| 91 | 59 | 26 | if ($self->{'_finished_how'}) { } |
| 112 | 0 | 141 | if $self->{'_finished_how'} |
| 116 | 78 | 63 | if ($$self{"_on_$how"}) |
| 117 | 77 | 1 | if (eval { do { $value = $$self{"_on_$how"}($value); 1 } }) { } |
| 130 | 4 | 141 | if (eval { do { $repromise_value->isa('Promise::ES6') } }) { } |
| 175 | 10 | 5 | _is_promise($_) ? : |
| 184 | 4 | 9 | if ($unresolved_size <= 0) |
| 197 | 8 | 0 | _is_promise($_) ? : |
| 205 | 1 | 7 | if $is_done |
| 210 | 0 | 3 | if $is_done |
| 217 | 0 | 1 | if $is_done |