Branch Coverage

blib/lib/Search/QueryBuilder.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
39 0 0 if @tags
40 0 0 if (defined @{$$self{'_booleantags'};}) { }
64 0 0 if (grep(/^$test$/, @tagbag) > 0)
71 0 0 if ($previous eq $tempvar) { }
0 0 elsif (grep(/^$previous$/, @tagbag) > 0 and grep(/^$tempvar$/, @tagbag) > 0) { }
142 0 0 if ($charsinstring[$tmpvar] eq $char)
156 0 0 if ($query eq '')
159 0 0 if (index($query, '"') < 0) { }
164 0 0 if (substr($termlet, 0, 1) eq '-') { }
0 0 elsif (substr($termlet, 0, 1) eq '+') { }
183 0 0 if ($testVar > -1 and $testVar < 2) { }
0 0 elsif ($testVar < 0) { }
0 0 elsif ($firstIndex < 1) { }
189 0 0 if ($secondIndex < length $query)
195 0 0 if (substr($query, $firstIndex - 1, 1) eq ' ') { }
200 0 0 if ($secondIndex < length $query)
207 0 0 if ($thirdIndex < 0) { }
208 0 0 if (substr($query, 0, 1) eq '-') { }
0 0 elsif (substr($query, 0, 1) eq '+') { }
223 0 0 if (substr($query, $thirdIndex + 1, 1) eq '-') { }
0 0 elsif (substr($query, $thirdIndex + 1, 1) eq '+') { }
234 0 0 if ($secondIndex < length $query)