Branch Coverage

blib/lib/DBIx/TransactionManager/Extended.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
27 1 7 unless $self->in_transaction
37 16 35 if @{$self->active_transactions;} != 1
43 15 20 if (@$hooks_before_commit)
45 1 14 if ($@)
55 2 32 if ($@)
60 22 10 if (@$hooks_after_commit)
62 8 14 if ($self->{'_in_commit_after_hook'} == 1)
64 1 7 if ($@)
92 1 27 unless $self->in_transaction
99 1 27 unless $self->in_transaction
106 1 2 unless $self->in_transaction
112 1 2 unless $self->in_transaction
121 2 6 if ($hook == $hooks->[$i])
126 2 2 if $found
127 2 2 $found ? :