Branch Coverage

blib/lib/KiokuDB/Backend/Role/TXN/Memory.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
22 0 0 $self->get_from_storage($_) ? :
48 33 268 unless pop @{$self->_txn_stack;}
58 99 1816 if (@{$self->_txn_stack;}) { }
61 166 1650 if $$txn{'cleared'}
75 0 1057 unless $head
77 925 132 unless @tail
81 99 33 if ($$head{'cleared'}) { }
112 320 2598 if (my $entry = $$frame{'live'}{$id})
113 34 286 if ($entry->deleted)
123 318 1957 unless keys %remaining
127 0 1957 if $$frame{'cleared'}
130 3335 320 if (keys %remaining)
133 3300 35 if (@remaining) { }
135 1924 1376 if @$stack
153 133 231 if (my $entry = $$frame{'live'}{$id})
159 133 198 unless keys %remaining
161 0 198 if ($$frame{'cleared'})
167 509 133 if (keys %remaining)
191 1498 234 if (@{$self->_txn_stack;}) { }