Branch Coverage

lib/DB/Transaction.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
23 1 12 unless exists $on_error_options{$on_error}
33 5 2 if $transactions_deep{"$db_handle"} <= 1
34 5 7 unless (eval { do { &$code(); $db_handle->commit if $transactions_deep{"$db_handle"} <= 1; 1 } })
35 5 0 defined $@ ? :
36 3 2 if $on_error eq 'rollback'
38 5 7 if defined $error
40 8 4 if $transactions_deep{"$db_handle"} < 1
42 3 9 if defined $error and $on_error eq 'rollback'