Condition Coverage

lib/CGI/OptimalQuery/OQFilterParser.pm
Criterion Covered Total %
condition 0 520 0.0


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 defined $_[2] && $_[2]
52 0 0 0 defined $_[3] && $_[3]
120 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
145 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
249 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
330 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\,//
419 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
481 0 0 0 not defined $return and defined $score
533 0 0 0 defined $_[2] && $_[2]
534 0 0 0 defined $_[3] && $_[3]
627 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:and)//i
753 0 0 0 not defined $return and defined $score
805 0 0 0 defined $_[2] && $_[2]
806 0 0 0 defined $_[3] && $_[3]
899 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:or)//i
1025 0 0 0 not defined $return and defined $score
1077 0 0 0 defined $_[2] && $_[2]
1078 0 0 0 defined $_[3] && $_[3]
1116 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
1174 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
1317 0 0 0 not defined $return and defined $score
1369 0 0 0 defined $_[2] && $_[2]
1370 0 0 0 defined $_[3] && $_[3]
1546 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:upper)//i
1572 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
1627 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
1681 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:upper)//i
1707 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
1762 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
1835 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:lower)//i
1861 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
1916 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
1970 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:lower)//i
1996 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
2051 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
2112 0 0 0 not defined $return and defined $score
2164 0 0 0 defined $_[2] && $_[2]
2165 0 0 0 defined $_[3] && $_[3]
2203 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\!\=//
2255 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\<\=//
2307 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\>\=//
2358 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:LIKE)//i
2410 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:NOT\s+LIKE)//i
2463 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\
2515 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\>//
2567 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\=//
2606 0 0 0 not defined $return and defined $score
2658 0 0 0 defined $_[2] && $_[2]
2659 0 0 0 defined $_[3] && $_[3]
2727 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\=\>//
2861 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\=\>//
2886 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\[//
2967 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\,//
3056 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\]//
3117 0 0 0 not defined $return and defined $score
3169 0 0 0 defined $_[2] && $_[2]
3170 0 0 0 defined $_[3] && $_[3]
3207 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[\-]?\d+)//
3269 0 0 0 not defined $return and defined $score
3321 0 0 0 defined $_[2] && $_[2]
3322 0 0 0 defined $_[3] && $_[3]
3360 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\[//
3384 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[^\]]*)//
3410 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\]//
3484 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
3511 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[^\']*)//
3537 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
3614 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\"//
3638 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[^\']*)//
3664 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\"//
3737 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[\-]?\d+\.?\d*)//
3811 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[\-]?\d*\.?\d+)//
3873 0 0 0 not defined $return and defined $score
3925 0 0 0 defined $_[2] && $_[2]
3926 0 0 0 defined $_[3] && $_[3]
3964 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\(//
4019 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A\)//
4252 0 0 0 not defined $return and defined $score
4304 0 0 0 defined $_[2] && $_[2]
4305 0 0 0 defined $_[3] && $_[3]
4372 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:\Z)//
4492 0 0 0 not defined $return and defined $score
4544 0 0 0 defined $_[2] && $_[2]
4545 0 0 0 defined $_[3] && $_[3]
4662 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
4689 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[^\']*)//
4715 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 }
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok
0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and do { $_tok = q[']; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ''; 1 }
4779 0 0 0 not defined $return and defined $score
4831 0 0 0 defined $_[2] && $_[2]
4832 0 0 0 defined $_[3] && $_[3]
4869 0 0 0 $text =~ s/\A($Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::skip)/'' if $lastsep = $1;/e and $text =~ s/\A(?:[a-zA-Z]+[\w]*)//
4931 0 0 0 not defined $return and defined $score

or 2 conditions

line l !l condition
30 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
407 0 0 $_tok || []
512 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
705 0 0 $_tok || []
784 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
977 0 0 $_tok || []
1056 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
1348 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
2143 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
2637 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
3044 0 0 $_tok || []
3148 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
3300 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
3904 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
4283 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
4523 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0
4810 0 0 $Parse::RecDescent::CGI::OptimalQuery::OQFilterParser::tracelevel || 0

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 0 $_matched or $commit
194 0 0 0 $_matched or $commit
469 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
547 0 0 0 $_matched or $commit
741 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
819 0 0 0 $_matched or $commit
1013 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
1091 0 0 0 $_matched or $commit
1226 0 0 0 $_matched or $commit
1305 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
1383 0 0 0 $_matched or $commit
1522 0 0 0 $_matched or $commit
1811 0 0 0 $_matched or $commit
2100 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
2178 0 0 0 $_matched or $commit
2230 0 0 0 $_matched or $commit
2282 0 0 0 $_matched or $commit
2334 0 0 0 $_matched or $commit
2386 0 0 0 $_matched or $commit
2438 0 0 0 $_matched or $commit
2490 0 0 0 $_matched or $commit
2542 0 0 0 $_matched or $commit
2594 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
2672 0 0 0 $_matched or $commit
2806 0 0 0 $_matched or $commit
3105 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
3183 0 0 0 $_matched or $commit
3257 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
3335 0 0 0 $_matched or $commit
3459 0 0 0 $_matched or $commit
3589 0 0 0 $_matched or $commit
3713 0 0 0 $_matched or $commit
3787 0 0 0 $_matched or $commit
3861 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
3939 0 0 0 $_matched or $commit
4068 0 0 0 $_matched or $commit
4125 0 0 0 $_matched or $commit
4240 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
4318 0 0 0 $_matched or $commit
4480 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
4558 0 0 0 $_matched or $commit
4637 0 0 0 $_matched or $commit
4767 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score
4845 0 0 0 $_matched or $commit
4919 0 0 0 $_matched or defined $return
0 0 0 $_matched or defined $return or defined $score