Branch Coverage

blib/lib/Plucene/Index/SegmentsReader.pm
Criterion Covered Total %
branch 20 22 90.9


line true false branch
80 1 1 if exists $$self{'num_docs'}
130 88 130 if ($n < $mid_val) { }
115 15 elsif ($n > $mid_val) { }
198 49 1 if ($term)
218 6 1 if ($term)
261 105 27 if $$self{'current'} and $$self{'current'}->next
262 23 4 unless ($self->_at_end)
276 48 148 if $self->_at_end
281 148 64 if (not scalar @$new_docs) { }
306 0 171 unless $$self{'term'}
307 171 0 unless exists $$self{'seg_term_docs'}[$i]