Branch Coverage

blib/lib/App/ElasticSearch/Utilities/Query.pm
Criterion Covered Total %
branch 18 56 32.1


line true false branch
136 0 0 if ($result->{'_scroll_id'})
147 0 0 if ($self->scroll_id)
155 0 0 if ($result and $result->{'_scroll_id'}) { }
162 0 0 $result ? :
178 0 0 defined $v ? :
182 0 0 unless defined $v
202 0 0 unless (eval {
205 0 0 unless defined $val
219 0 11 if ($self->nested) { }
228 1 10 $self->minimum_should_match ? :
232 22 44 if $k =~ /^nested/
241 13 31 if defined $v and ref $v
243 0 44 unless (eval {
246 13 31 if defined $v
247 0 44 if (my $stash = $self->stash($k))
248 0 0 XXX ? :
250 31 13 if exists $bool{$k} and XXX and not @{$bool{$k};}
279 0 0 if (keys %{$aggs;})
296 0 0 unless is_single_stat(keys %{$agg;})
300 0 0 if (@sort)
306 0 0 if $k eq $AGG_KEY
331 0 0 unless (&is_TimeConstant($ctxt_life))
357 0 12 unless exists $QUERY{$section}
361 0 12 XXX ? :
374 44 0 if (exists $QUERY{$section})
375 0 44 if (defined $condition)
376 0 0 exists $stash->{$section} ? :
382 0 44 exists $stash->{$section} ? :