Branch Coverage

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


line true false branch
71 11 45 if (defined $res)
72 8 3 XXX ? :
82 7 0 $self->context eq 'query' ? :
87 6 9 if (exists $part->{'dangles'}) { }
4 5 elsif (exists $part->{'query_string'}) { }
5 0 elsif (exists $part->{'condition'}) { }
0 0 elsif (exists $part->{'nested'}) { }
95 0 5 $invert ? :
107 3 4 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 4 if @qs
141 0 12 unless $a->priority <=> $b->priority
0 1 defined $globals ? :