Branch Coverage

blib/lib/DBIx/Class/Storage/TxnScopeGuard.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
30 942 4 length ref $@ ? :
946 8112 if defined $@ and length $@
46 0 8909 if $self->{'inactivated'}
58 1 9058 if &detected_reinvoked_destructor
60 8909 149 if $_[0]{'inactivated'}
71 132 17 &is_exception($@) && (!defined($_[0]{'existing_exception_ref'}) || &refaddr(scalar(length ref $@ ? $@ : \$@)) != &refaddr($_[0]{'existing_exception_ref'})) ? :
80 12 137 unless defined $_[0]{'dbh'}
83 6 131 unless defined $current_exception
87 131 6 defined $current_exception ? :
4 133 if (my $rollback_exception = $_[0]{'storage'}->__delicate_rollback(defined $current_exception ? \$current_exception : ()) and not defined $current_exception)