| blib/lib/DBIx/TransactionManager/Extended.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 30 | 30 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 1 | 9 | unless $self->in_transaction |
| 25 | 44 | 16 | unless ($self->in_transaction) |
| 37 | 16 | 36 | if @{$self->active_transactions;} != 1 |
| 43 | 15 | 21 | if (@$hooks_before_commit) |
| 45 | 1 | 14 | if ($@) |
| 55 | 2 | 33 | if ($@) |
| 60 | 22 | 11 | if (@$hooks_after_commit) |
| 62 | 1 | 21 | if ($@) |
| 89 | 1 | 27 | unless $self->in_transaction |
| 96 | 1 | 29 | unless $self->in_transaction |
| 103 | 1 | 2 | unless $self->in_transaction |
| 109 | 1 | 2 | unless $self->in_transaction |
| 118 | 2 | 6 | if ($hook == $hooks->[$i]) |
| 123 | 2 | 2 | if $found |
| 124 | 2 | 2 | $found ? : |