Branch Coverage

blib/lib/DBIx/Class/Storage/TxnScopeGuard.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
27 594 8346 if (&is_exception($@))
29 2 592 ref $@ eq '' ? :
46 0 8807 if $self->{'inactivated'}
58 1 8940 if &detected_reinvoked_destructor
62 8807 133 if $self->{'inactivated'}
66 10 123 unless $self->{'dbh'}
75 119 0 if &is_exception($@) and !defined($self->{'existing_exception_ref'}) || &refaddr(scalar(ref $@ eq '' ? \$@ : $@)) != &refaddr($self->{'existing_exception_ref'})
81 4 119 unless defined $exception
87 122 1 if $self->{'storage'}->_seems_connected
90 5 118 if ($rollback_exception and not defined &blessed($rollback_exception) && $rollback_exception->isa('DBIx::Class::Storage::NESTED_ROLLBACK_EXCEPTION'))
97 0 5 if (ref $exception eq 'DBIx::Class::Exception') { }
3 2 elsif ($exception) { }