Branch Coverage

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


line true false branch
30 0 0 unless (my $node = eval { do { $self->parser->parse($query) } })
48 0 0 if $term =~ /\s/
56 0 0 $mapping ? :
58 0 0 if ($node->isa('CQL::TermNode')) { }
0 0 elsif ($node->isa('CQL::ProxNode')) { }
0 0 elsif ($node->isa('CQL::BooleanNode')) { }
62 0 0 if ($term =~ /$match_all/)
71 0 0 if ($base eq 'scr')
72 0 0 if ($mapping and $mapping->{'default_relation'}) { }
80 0 0 if ($qualifier =~ /$any_field/)
82 0 0 if ($mapping and $mapping->{'default_index'}) { }
92 0 0 if ($indexes) { }
95 0 0 if (is_string($qualifier))
100 0 0 if $mapping->{'strip_separating_underscores'}
101 0 0 unless ($qualifier eq $old_qualifier)
104 0 0 unless my $q_mapping = $indexes->{$qualifier}
105 0 0 unless $q_mapping->{'op'}{$base}
110 0 0 if (ref $op and $op->{'field'}) { }
0 0 elsif ($q_mapping->{'field'}) { }
120 0 0 unless ($qualifier eq $old_qualifier)
129 0 0 if (ref $op and $op->{'filter'}) { }
0 0 elsif ($q_mapping->{'filter'}) { }
138 0 0 if ($filters)
140 0 0 if ($filter eq 'lowercase')
148 0 0 if (ref $op and $op->{'cb'}) { }
0 0 elsif ($q_mapping->{'cb'}) { }
164 0 0 if is_string($qualifier)
167 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') { }
170 0 0 if ($m->[1] eq 'fuzzy')
194 0 0 if (@terms == 1)
198 0 0 if ($qualifier)
207 0 0 if (@range == 1) { }
223 0 0 if (my($n) = $node->op =~ /$distance_modifier/)
224 0 0 if $n > 1
226 0 0 if ($qualifier =~ /$any_field/) { }
238 0 0 unless $lft->isa('CQL::TermNode') or $lft->isa('CQL::ProxNode')
239 0 0 unless $rgt->isa('CQL::TermNode') or $rgt->isa('CQL::ProxNode')