Branch Coverage

blib/lib/Text/Query/ParseAdvanced.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
85 3 2 if $l =~ /^($near|\~)$/i
87 3 2 if ($l =~ /^($near|\~)$/i) { }
101 0 85 if (not defined($t = $$self{'token'})) { }
8 77 elsif ($t eq '(') { }
5 72 elsif ($t =~ /^($not|!)$/i) { }
64 8 elsif ($t =~ s/^\e//) { }
8 0 elsif ($t =~ s/:$//) { }
105 8 0 if (defined $$self{'token'} and $$self{'token'} eq ')') { }
137 0 29 if $$self{-'verbose'} > 1
150 0 93 if $$self{-'verbose'} > 1 and $quote
151 0 89 unless $quote or length $unquoted or length $delim
155 4 89 defined $quote ? :
156 0 0 if $$self{-'verbose'} > 1 and (length $word and length $delim || !length($line))
157 64 4 if length $word and length $delim || !length($line)
160 0 93 if $$self{-'verbose'} > 1 and length $delim
161 62 31 if length $delim
162 62 31 if length $delim
165 0 29 if $$self{-'verbose'} > 1