Branch Coverage

blib/lib/Promise/Tiny.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
28 6 105 if ($@)
38 86 0 unless ($self->{'_fulfilled'} or $self->{'_rejected'})
41 16 70 if ($self->{'on_fulfilled'})
49 17 0 unless ($self->{'_fulfilled'} or $self->{'_rejected'})
52 3 14 if ($self->{'on_rejected'})
69 1 56 if ($@) { }
3 53 elsif (_is_promise($resolved_value)) { }
85 61 0 if ($on_fulfilled)
87 24 37 if ($self->{'_fulfilled'})
91 52 9 if ($on_rejected)
93 14 38 if ($self->{'_rejected'})
133 8 4 _is_promise($_) ? :
142 3 7 if ($unresolved_size <= 0)
155 8 0 _is_promise($_) ? :