Branch Coverage

lib/CGI/OptimalQuery/FilterParser.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
25 0 0 if $f eq ''
35 0 0 if ($f =~ /\G(\w+)\s*\(\s*/cg) { }
38 0 0 unless exists $o->{'schema'}{'named_filters'}{$namedFilter}
44 0 0 if ($f =~ /\G\)\s*/cg) { }
0 0 elsif ($f =~ /\G\'([^\']*)\'\s*/cg or $f =~ /\G\"([^\"]*)\"\s*/cg or $f =~ /\G(\w+)\s*/cg) { }
0 0 elsif ($f =~ /\G(\,|\=\>|\:)\s*/cg) { }
73 0 0 if ($f =~ /\G\[([^\]]+)\]\s*/cg or $f =~ /\G(\w+)\s*/cg) { }
78 0 0 unless exists $o->{'schema'}{'select'}{$lexp}
82 0 0 if ($f =~ /\G(\!\=|\=|\<\=|\>\=|\<|\>|like|not\ like|contains|not\ contains)\s*/cig) { }
89 0 0 if ($f =~ /\G\[([^\]]+)\]\s*/cg) { }
0 0 elsif ($f =~ /\G\'([^\']*)\'\s*/cg or $f =~ /\G\"([^\"]*)\"\s*/cg or $f =~ /\G(\w+)\s*/cg) { }
108 0 0 if ($f =~ /(AND|OR)\s*/cig) { }