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 18 if ($self->nested) { }
228 1 17 $self->minimum_should_match ? :
232 36 72 if $k =~ /^nested/
241 20 52 if defined $v and ref $v
243 0 72 unless (eval {
246 20 52 if defined $v
247 0 72 if (my $stash = $self->stash($k))
248 0 0 Ref::Util::XS::is_arrayref($stash) ? :
250 52 20 if exists $bool{$k} and Ref::Util::XS::is_arrayref($bool{$k}) 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 19 unless exists $QUERY{$section}
361 0 19 Ref::Util::XS::is_arrayref($bools{$section}) ? :
374 72 0 if (exists $QUERY{$section})
375 0 72 if (defined $condition)
376 0 0 exists $stash->{$section} ? :
382 0 72 exists $stash->{$section} ? :