Condition Coverage

blib/lib/Text/Query/ParseAdvanced.pm
Criterion Covered Total %
condition 27 44 61.3


and 3 conditions

line !l l&&!r l&&r condition
56 29 8 15 defined $$self{'token'} and $$self{'token'} =~ /^($or|\|)$/i
70 29 23 15 defined $$self{'token'} and $$self{'token'} =~ /^($and|&)$/i
84 29 38 5 defined $$self{'token'} and ($l = $$self{'token'}) =~ /^\e|([\(!\~]|$not|$near)$/i
105 0 0 8 defined $$self{'token'} and $$self{'token'} eq ')'
150 93 0 0 $$self{-'verbose'} > 1 and $quote
156 0 0 0 length $word and length $delim || !length($line)
93 0 0 $$self{-'verbose'} > 1 and (length $word and length $delim || !length($line))
157 25 68 0 length $word and length $delim || !length($line)
160 93 0 0 $$self{-'verbose'} > 1 and length $delim

or 2 conditions

line l !l condition
44 1 28 $args{-'scope_map'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
118 1 7 0 $$self{'scope_map'}{$t} || $t
151 4 60 29 $quote or length $unquoted
64 29 0 $quote or length $unquoted or length $delim
156 0 0 0 length $delim || !length($line)
157 37 27 4 length $delim || !length($line)