Condition Coverage

blib/lib/Search/Query/Dialect/SWISH.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
83 0 1 78 $$self{'default_field'} and not ref $$self{'default_field'}
188 1 95 0 defined $value and $value =~ /\%/
214 1 91 4 defined $value and $op eq '!='

or 2 conditions

line l !l condition
181 88 8 $$clause{'op'} || '='
192 6 90 $clause->quote || ''
195 2 94 $clause->proximity || ''

or 3 conditions

line l !l&&r !l&&!r condition
106 53 46 0 shift() || $self
246 0 0 1 ref $value ne 'ARRAY' or @$value != 2
265 0 0 1 ref $value ne 'ARRAY' or @$value != 2