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)
316 0 0 unless $field
317 0 0 if (my $map = $self->cql_mapping)
320 0 0 if $map->{'strip_separating_underscores'}
323 0 0 unless $map->{'sort'}
324 0 0 if (ref $map->{'sort'} and $map->{'sort'}{'field'}) { }
0 0 elsif (ref $map->{'field'}) { }
0 0 elsif ($map->{'field'}) { }
335 0 0 $asc ? :
348 0 0 if (ref $query) { }
0 0 elsif ($query) { }
362 0 0 if ref $sort
363 0 0 unless $sort