| blib/lib/Evo/Promise/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 26 | 65.3 |
| line | true | false | branch |
|---|---|---|---|
| 4 | 0 | 5 | unless @_ <= 2 |
| 0 | 5 | unless @_ >= 2 | |
| 5 | 0 | 5 | unless defined wantarray |
| 9 | 0 | 15 | unless @_ <= 2 |
| 0 | 15 | unless @_ >= 2 | |
| 10 | 0 | 15 | unless defined wantarray |
| 11 | 1 | 14 | unless $p->d_settled and $p->state eq 'FULFILLED' |
| 14 | 13 | 1 | defined $dv ? : |
| 17 | 0 | 13 | unless @_ <= 2 |
| 0 | 13 | unless @_ >= 2 | |
| 18 | 0 | 13 | unless defined wantarray |
| 19 | 2 | 11 | unless $p->d_settled and $p->state eq 'REJECTED' |
| 21 | 10 | 1 | defined $dv ? : |