blib/lib/Search/Query/Dialect/SQL.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 28 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
97 | 0 | 21 | 22 | $self->{'default_field'} and not ref $self->{'default_field'} |
168 | 0 | 3 | 2 | $clause->has_children and $clause->has_children == 1 |
172 | 2 | 0 | 0 | $prefix eq '-' and exists $clause->{'value'}{'+'} |
207 | 2 | 31 | 8 | defined $value and $value =~ /\%/ |
line | l | !l | condition |
---|---|---|---|
96 | 22 | 19 | $self->parser->default_field || [sort(keys %{$self->parser->fields;})] |
200 | 33 | 8 | $clause->{'op'} || '=' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
96 | 2 | 41 | 0 | $self->{'default_field'} ||= $self->parser->default_field || [sort(keys %{$self->parser->fields;})] |
117 | 5 | 29 | 0 | shift() || $self |
224 | 0 | 0 | 2 | ref $value ne 'ARRAY' or @$value != 2 |
241 | 0 | 0 | 2 | ref $value ne 'ARRAY' or @$value != 2 |