Branch Coverage

blib/lib/Ace/Iterator.pm
Criterion Covered Total %
branch 17 26 65.4


line true false branch
22 3 0 if $db and ref $db
28 0 5 unless $$self{'db'}
29 3 2 unless @{$$self{'cached_answers'};}
33 0 5 unless ($result)
42 38 3 unless $self->_active
49 0 3 unless my $db = $$self{'db'}
50 0 3 unless $self->_active
57 0 3 unless my $db = $$self{'db'}
58 3 0 if not $$self{'active'}
59 1 2 $$self{'filled'} ? :
69 6 44 if @_
75 0 3 unless my $db = $$self{'db'}
76 3 0 unless $$self{'saved_ok'} and $db->_restore_iterator($self)