Condition Coverage

blib/lib/Search/QueryParser.pm
Criterion Covered Total %
condition 41 45 91.1


and 3 conditions

line !l l&&!r l&&r condition
410 26 3 1 $preBool and $postBool
29 1 0 $preBool and $postBool and $preBool ne $postBool
417 22 8 0 $sign eq '+' and $bool eq 'OR'
418 11 15 4 $sign eq '' and $bool eq 'AND'
419 27 3 0 $sign eq '-' and $bool eq 'OR'

or 2 conditions

line l !l condition
367 9 26 $parentOp || ':'
430 2 0 $err ||= 'no positive value in query'
476 6 21 $$subQ{'quote'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
275 1 14 1 $$args{$_} || {defField => '', rxAnd => \undef, rxField => \undef, rxNot => \undef, rxOp => \undef, rxOpNoField => \undef, rxOr => \undef, rxTerm => \undef}->{$_}
366 4 7 24 $parentField || $$self{'defField'}
376 1 1 30 s/^"($$self{'rxField'})"\s*($$self{'rxOp'})\s*//l or s/^'($$self{'rxField'})'\s*($$self{'rxOp'})\s*//l
2 10 20 s/^"($$self{'rxField'})"\s*($$self{'rxOp'})\s*//l or s/^'($$self{'rxField'})'\s*($$self{'rxOp'})\s*//l or s/^($$self{'rxField'})\s*($$self{'rxOp'})\s*//l
11 1 19 s/^"($$self{'rxField'})"\s*($$self{'rxOp'})\s*//l or s/^'($$self{'rxField'})'\s*($$self{'rxOp'})\s*//l or s/^($$self{'rxField'})\s*($$self{'rxOp'})\s*//l or s/^()($$self{'rxOpNoField'})\s*//l
390 3 3 25 s/^(")([^"]*?)"\s*//l or s/^(')([^']*?)'\s*//l
412 4 3 23 $preBool || $postBool
430 6 6 2 $$q{'+'} or $$q{''}