blib/lib/Search/Tools/QueryParser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 27 | 62.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
311 | 0 | 0 | 27 | defined $f and length $f |
382 | 147 | 3 | 0 | defined $leaf->{'field'} and exists $self->ignore_fields->{$leaf->{'field'}} |
408 | 148 | 0 | 1 | $leaf->{'proximity'} and $leaf->{'proximity'} > 1 |
line | l | !l | condition |
---|---|---|---|
203 | 27 | 125 | $u =~ /\s/ || 0 |
208 | 5 | 120 | $u =~ m[[$wordchar][\@\.\\/][$wordchar]] || 0 |
536 | 1459 | 2 | $C2E->{$c} || undef |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
82 | 1 | 0 | 0 | $self->{'charset'} ||= $Defaults{'charset'} |
208 | 27 | 5 | 120 | $isphrase ||= $u =~ m[[$wordchar][\@\.\\/][$wordchar]] || 0 |
469 | 0 | 51 | 0 | $self->{'start_bound'} ||= join('|', @start_bound) |
471 | 0 | 51 | 0 | $self->{'end_bound'} ||= join('|', @end_bound) |