| blib/lib/Promises.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 20 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 2 | 0 | if ($WARN_ON_UNHANDLED_REJECT = $arg->[0]) |
| 35 | 0 | 12 | unless $WARN_ON_UNHANDLED_REJECT |
| 40 | 8 | 4 | unless $self->is_rejected and not $self->{'_reject_was_handled'} |
| 52 | 3 | 1 | $self->{'_caller'} ? : |
| 59 | 0 | 7 | unless my $backend = $arg->[0] |
| 61 | 7 | 0 | unless ($backend =~ s/^\+//) |
| 73 | 2 | 103 | if (my $code = shift()) |
| 90 | 1 | 21 | if @values > 1 |
| 93 | 20 | 1 | @values == 1 ? : |
| 104 | 24 | 24 | if ($p and builtin::blessed($p) and $p->can('then')) { } |