line |
true |
false |
branch |
24
|
0 |
0 |
unless (my $node = eval {
do {
$self->parser->parse($query)
}
}) |
36
|
0 |
0 |
unless ($node->isa('CQL::BooleanNode')) |
37
|
0 |
0 |
$node->isa('CQL::TermNode') ? : |
50
|
0 |
0 |
if ($node->isa('CQL::BooleanNode')) { } |
|
0 |
0 |
elsif ($node->isa('CQL::TermNode')) { } |
53
|
0 |
0 |
if ($node->op eq 'and') { } |
|
0 |
0 |
elsif ($node->op eq 'or') { } |
75
|
0 |
0 |
if ($term =~ /$RE_MATCH_ALL/) |
84
|
0 |
0 |
if ($base eq 'scr') |
85
|
0 |
0 |
if ($self->mapping and my $rel = $self->mapping->{'default_relation'}) { } |
92
|
0 |
0 |
if ($qualifier =~ /$RE_ANY_FIELD/) |
93
|
0 |
0 |
if ($self->mapping and my $idx = $self->mapping->{'default_index'}) { } |
102
|
0 |
0 |
if ($self->mapping and my $indexes = $self->mapping->{'indexes'}) |
104
|
0 |
0 |
if $self->mapping->{'strip_separating_underscores'} |
105
|
0 |
0 |
unless my $mapping = $$indexes{$qualifier} |
106
|
0 |
0 |
unless $$mapping{'op'}{$base} |
108
|
0 |
0 |
if (ref $op and $$op{'field'}) { } |
|
0 |
0 |
elsif ($$mapping{'field'}) { } |
115
|
0 |
0 |
if (ref $op and $$op{'filter'}) { } |
|
0 |
0 |
elsif ($$mapping{'filter'}) { } |
120
|
0 |
0 |
if ($filters) |
122
|
0 |
0 |
if ($filter eq 'lowercase') |
125
|
0 |
0 |
if (ref $op and $$op{'cb'}) { } |
|
0 |
0 |
elsif ($$mapping{'cb'}) { } |
139
|
0 |
0 |
if ($nested) |
140
|
0 |
0 |
if ($$nested{'query'}) |
165
|
0 |
0 |
if (my($n) = $node->op =~ /$RE_DISTANCE_MODIFIER/) |
166
|
0 |
0 |
if $n > 1 |
168
|
0 |
0 |
if ($qualifier =~ /$RE_ANY_FIELD/) |
178
|
0 |
0 |
if ($base eq '=') { } |
|
0 |
0 |
elsif ($base eq '<') { } |
|
0 |
0 |
elsif ($base eq '>') { } |
|
0 |
0 |
elsif ($base eq '<=') { } |
|
0 |
0 |
elsif ($base eq '>=') { } |
|
0 |
0 |
elsif ($base eq '<>') { } |
|
0 |
0 |
elsif ($base eq 'exact') { } |
|
0 |
0 |
elsif ($base eq 'any') { } |
|
0 |
0 |
elsif ($base eq 'all') { } |
|
0 |
0 |
elsif ($base eq 'within') { } |
179
|
0 |
0 |
if (ref $qualifier) { } |
181
|
0 |
0 |
if ($_ eq '_id') { } |
188
|
0 |
0 |
if ($qualifier eq '_id') |
194
|
0 |
0 |
if (ref $qualifier) { } |
200
|
0 |
0 |
if (ref $qualifier) { } |
206
|
0 |
0 |
if (ref $qualifier) { } |
212
|
0 |
0 |
if (ref $qualifier) { } |
218
|
0 |
0 |
if (ref $qualifier) { } |
220
|
0 |
0 |
if ($_ eq '_id') { } |
227
|
0 |
0 |
if ($qualifier eq '_id') |
233
|
0 |
0 |
if (ref $qualifier) { } |
235
|
0 |
0 |
if ($_ eq '_id') { } |
242
|
0 |
0 |
if ($qualifier eq '_id') |
249
|
0 |
0 |
if (ref $qualifier) { } |
259
|
0 |
0 |
if (ref $qualifier) { } |
269
|
0 |
0 |
if (@range == 1) |
270
|
0 |
0 |
if (ref $qualifier) { } |
276
|
0 |
0 |
if (ref $qualifier) { } |
283
|
0 |
0 |
if (ref $qualifier) { } |
294
|
0 |
0 |
if ($term =~ /[^\\][\*\?]/) |
298
|
0 |
0 |
if ($$m[1] eq 'fuzzy') |
302
|
0 |
0 |
if ($term =~ /\s/) |