Branch Coverage

blib/lib/Catmandu/Store/Lucy/Bag.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
26 1 11 unless (eval { do { $self->store->_searcher } })
27 0 1 if not $e =~ /index doesn't seem to contain any data/i
41 2 2 unless ($hits and $hit = $hits->next)
173 0 2 unless $field
174 0 2 if ($field eq 'relevance') { }
175 0 0 $asc ? :
177 1 1 $asc ? :
189 3 2 unless (defined $query)
192 0 2 if (ref $query)
215 4 6 if (ref $ref eq 'ARRAY')
217 2 4 if (ref $val) { }
4 0 elsif (defined $val) { }
229 2 11 if defined $key
230 4 9 if (ref $val) { }
9 0 elsif (defined $val) { }