Branch Coverage

blib/lib/Catmandu/Store/ElasticSearch/Bag.pm
Criterion Covered Total %
branch 0 40 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)
124 0 0 if ($self->store->is_es_1_or_2)
144 0 0 if ($store->is_es_1_or_2)
320 0 0 unless $field
321 0 0 if (my $map = $self->cql_mapping)
324 0 0 if $map->{'strip_separating_underscores'}
327 0 0 unless $map->{'sort'}
328 0 0 if (ref $map->{'sort'} and $map->{'sort'}{'field'}) { }
0 0 elsif (ref $map->{'field'}) { }
0 0 elsif ($map->{'field'}) { }
339 0 0 $asc ? :
352 0 0 if (ref $query) { }
0 0 elsif ($query) { }
366 0 0 if ref $sort
367 0 0 unless $sort