Branch Coverage

blib/lib/App/ElasticSearch/Utilities/QueryString.pm
Criterion Covered Total %
branch 24 32 75.0


line true false branch
71 18 52 if (defined $res)
72 8 10 Ref::Util::XS::is_arrayref($res) ? :
82 14 0 $self->context eq 'query' ? :
87 6 16 if (exists $part->{'dangles'}) { }
4 12 elsif (exists $part->{'query_string'}) { }
12 0 elsif (exists $part->{'condition'}) { }
0 0 elsif (exists $part->{'nested'}) { }
95 0 12 $invert ? :
107 3 11 if (@qs)
112 2 1 if (@qs > 1)
116 1 5 if ($prev_query)
117 0 1 unless exists $JOINING{$part}
121 3 3 exists $TRAILING{$part} ? :
126 3 11 if @qs
144 0 11 unless $a->priority <=> $b->priority
0 1 defined $globals ? :