Branch Coverage

blib/lib/Catmandu/Store/ElasticSearch/Bag.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
36 0 0 unless ($es->indices->exists('index', $self->index))
53 0 0 if (is_code_ref($cb))
56 0 0 if (is_string($cb) and $cb eq 'throw')
62 0 0 if (is_string($cb) and $cb eq 'log')
68 0 0 if (is_string($cb) and $cb eq 'ignore')
105 0 0 if ($self->log->is_debug)
125 0 0 if ($self->store->is_es_1_or_2)
297 0 0 unless $field
298 0 0 if (my $map = $self->cql_mapping)
301 0 0 if $map->{'strip_separating_underscores'}
304 0 0 unless $map->{'sort'}
305 0 0 if (ref $map->{'sort'} and $map->{'sort'}{'field'}) { }
0 0 elsif (ref $map->{'field'}) { }
0 0 elsif ($map->{'field'}) { }
316 0 0 $asc ? :
329 0 0 if (ref $query) { }
0 0 elsif ($query) { }
343 0 0 if ref $sort
344 0 0 unless $sort