Branch Coverage

blib/lib/DBM/Deep/Iterator/File.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
17 0 346 unless my $sector = $self->{'engine'}->load_sector($loc)
20 15 331 if ($sector->isa('DBM::Deep::Sector::File::Index')) { }
331 0 elsif ($sector->isa('DBM::Deep::Sector::File::BucketList')) { }
43 158 383 unless (@$crumbs)
47 1 157 unless my $sector = $e->load_sector($self->{'base_offset'})
49 0 157 if ($sector->staleness != $obj->_staleness)
53 6 151 unless my $loc = $sector->get_blist_loc
61 150 5837 unless (@$crumbs)
69 345 5492 if ($iterator->at_end)
74 210 5282 if ($iterator->isa("DBM::Deep::Iterator::File::Index"))
77 195 15 if (my $next = $iterator->get_next_iterator)
83 0 5282 unless ($iterator->isa("DBM::Deep::Iterator::File::BucketList"))
91 384 4898 if (defined $key)