Branch Coverage

lib/CGI/OptimalQuery/InteractiveFilter2.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
19 0 0 if ($o->{'q'}->param('field') ne '')
23 0 0 if (exists $o->{'schema'}{'named_filters'}{$field}) { }
0 0 elsif (not $s->{$field}[3]{'disable_filter'}) { }
24 0 0 if $filter
28 0 0 if $filter
29 0 0 if ($types->{$field} eq 'char' or $types->{$field} eq 'clob') { }
40 0 0 if $s->{$_}[2] ne '' and not $s->{$_}[3]{'disable_filter'}
48 0 0 if ref $f eq 'ARRAY'
50 0 0 if (not $typenum) { }
0 0 elsif ($typenum == 1 or $typenum == 3) { }
0 0 elsif ($typenum == 2) { }
52 0 0 if $f eq 'OR'
60 0 0 if ($numLeftParen == 0) { }
64 0 0 if $numLeftParen == 1
66 0 0 if $numLeftParen == 2
68 0 0 if $numLeftParen == 3
74 0 0 if $types->{$c} ne 'char' and $types->{$c} ne 'clob'
75 0 0 if $c eq $leftExp
81 0 0 if $op eq $operator
86 0 0 if $type == 3
89 0 0 if $types->{$c} ne 'char'
90 0 0 if $c eq $rightSelectedField
94 0 0 if ($rightSelectedField) { }
100 0 0 if ($numRightParen == 0) { }
104 0 0 if $numRightParen == 1
106 0 0 if $numRightParen == 2
108 0 0 if $numRightParen == 3
118 0 0 if ($numLeftParen == 0) { }
122 0 0 if $numLeftParen == 1
124 0 0 if $numLeftParen == 2
126 0 0 if $numLeftParen == 3
131 0 0 if (ref $nf eq 'ARRAY') { }
0 0 elsif (ref $nf eq 'HASH') { }
139 0 0 if (ref $nf->{'html_generator'} eq 'CODE') { }
157 0 0 if (ref $nf->{'sql_generator'} eq 'CODE')
169 0 0 if ($numRightParen == 0) { }
173 0 0 if $numRightParen == 1
175 0 0 if $numRightParen == 2
177 0 0 if $numRightParen == 3
196 0 0 if exists $o->{'schema'}{'named_filters'}{$c}
199 0 0 if $types->{$c} ne 'char'
206 0 0 ref $f->{$a} eq 'ARRAY' ? :
0 0 ref $f->{$b} eq 'ARRAY' ? :
207 0 0 if ($#k > -1)
211 0 0 if (ref $f->{$alias} eq 'ARRAY') { }
216 0 0 unless $label