Branch Coverage

blib/lib/DBIx/Class/Storage/BlockRunner.pm
Criterion Covered Total %
branch 32 40 80.0


line true false branch
92 24 44747 if (&reftype($cref) || '') ne 'CODE'
100 0 44747 if $storage->{'_in_do_block'} and not $self->wrap_txn
103 44685 62 unless $storage->{'_in_do_block'}
115 165 44592 @_ ? :
119 455 44302 $self->wrap_txn ? :
126 455 44302 if (defined $txn_init_depth)
141 314 44431 if (defined $txn_init_depth and not &is_exception($run_err))
144 0 314 if ($delta_txn) { }
146 0 0 unless $delta_txn == 1 and $cur_depth == 0
154 314 0 eval { do { $storage->txn_commit; 1 } } ? :
159 153 44592 if (&is_exception($run_err))
162 130 23 if ($txn_begin_ok)
165 111 10 !eval { do { $storage->txn_rollback; 1 } } ? :
121 9 $storage->_seems_connected ? :
169 10 120 if ($rollback_exception and not defined &blessed($rollback_exception) && $rollback_exception->isa('DBIx::Class::Storage::NESTED_ROLLBACK_EXCEPTION'))
190 130 0 $storage->{'_dbh_autocommit'} ? :
142 11 if defined $txn_init_depth and $txn_init_depth > ($storage->{'_dbh_autocommit'} ? 0 : 1) or not $self->retry_handler->($self)
195 0 11 if $self->retry_debug
204 0 10 if defined $txn_init_depth and $storage->transaction_depth
212 6782 37810 wantarray ? :