Branch Coverage

blib/lib/Promises.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
29 2 0 if ($WARN_ON_UNHANDLED_REJECT = $arg->[0])
34 0 12 unless $WARN_ON_UNHANDLED_REJECT
39 8 4 unless $self->is_rejected and not $self->{'_reject_was_handled'}
51 3 1 $self->{'_caller'} ? :
58 0 0 unless my $backend = $arg->[0]
60 0 0 unless ($backend =~ s/^\+//)
72 0 29 if (my $code = shift())
89 1 13 if @values > 1
92 12 1 @values == 1 ? :