Branch Coverage

blib/lib/Catmandu/Store/Solr/CQL.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
29 0 0 unless (my $node = eval { do { $self->parser->parse($query) } })
47 0 0 if $term =~ /\s/
55 0 0 $mapping ? :
57 0 0 if ($node->isa('CQL::TermNode')) { }
0 0 elsif ($node->isa('CQL::ProxNode')) { }
0 0 elsif ($node->isa('CQL::BooleanNode')) { }
61 0 0 if ($term =~ /$match_all/)
70 0 0 if ($base eq 'scr')
71 0 0 if ($mapping and $mapping->{'default_relation'}) { }
80 0 0 if ($qualifier =~ /$any_field/)
83 0 0 if ($mapping and $mapping->{'default_index'}) { }
94 0 0 if ($indexes) { }
97 0 0 if (is_string($qualifier))
103 0 0 if $mapping->{'strip_separating_underscores'}
104 0 0 unless ($qualifier eq $old_qualifier)
109 0 0 unless my $q_mapping = $indexes->{$qualifier}
111 0 0 unless $q_mapping->{'op'}{$base}
117 0 0 if (ref $op and $op->{'field'}) { }
0 0 elsif ($q_mapping->{'field'}) { }
128 0 0 unless ($qualifier eq $old_qualifier)
139 0 0 if (ref $op and $op->{'filter'}) { }
0 0 elsif ($q_mapping->{'filter'}) { }
149 0 0 if ($filters)
151 0 0 if ($filter eq 'lowercase')
160 0 0 if (ref $op and $op->{'cb'}) { }
0 0 elsif ($q_mapping->{'cb'}) { }
180 0 0 if is_string($qualifier)
183 0 0 if ($base eq '=' or $base eq 'scr') { }
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 'all') { }
0 0 elsif ($base eq 'any') { }
0 0 elsif ($base eq 'within') { }
186 0 0 if ($m->[1] eq 'fuzzy')
217 0 0 if (@terms == 1)
221 0 0 if ($qualifier)
232 0 0 if (@range == 1) { }
251 0 0 if (my($n) = $node->op =~ /$distance_modifier/)
252 0 0 if $n > 1
254 0 0 if ($qualifier =~ /$any_field/) { }
267 0 0 unless $lft->isa('CQL::TermNode') or $lft->isa('CQL::ProxNode')
269 0 0 unless $rgt->isa('CQL::TermNode') or $rgt->isa('CQL::ProxNode')