Branch Coverage

lib/CGI/OptimalQuery/InteractiveFilter2.pm
Criterion Covered Total %
branch 0 102 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'}
50 0 0 if ref $f eq 'ARRAY'
52 0 0 if (not $typenum) { }
0 0 elsif ($typenum == 1 or $typenum == 3) { }
0 0 elsif ($typenum == 2) { }
54 0 0 if $f eq 'OR'
63 0 0 if ($numLeftParen == 0) { }
67 0 0 if $numLeftParen == 1
69 0 0 if $numLeftParen == 2
71 0 0 if $numLeftParen == 3
79 0 0 if ($colOpts->{'disable_filter'} or $colOpts->{'is_hidden'}) { }
82 0 0 if ($operator =~ /\w/) { }
90 0 0 if ($typenum == 1) { }
91 0 0 if ($rightExp =~ /[\ \'\"]/) { }
92 0 0 if (not $rightExp =~ /\'/) { }
118 0 0 if $types->{$c} ne 'char' and $types->{$c} ne 'clob'
119 0 0 if $c eq $leftExp
125 0 0 if $op eq $operator
130 0 0 if $type == 3
133 0 0 if $types->{$c} ne 'char'
134 0 0 if $c eq $rightSelectedField
138 0 0 if ($rightSelectedField) { }
148 0 0 if ($numRightParen == 0) { }
152 0 0 if $numRightParen == 1
154 0 0 if $numRightParen == 2
156 0 0 if $numRightParen == 3
166 0 0 if ($numLeftParen == 0) { }
170 0 0 if $numLeftParen == 1
172 0 0 if $numLeftParen == 2
174 0 0 if $numLeftParen == 3
179 0 0 if (ref $nf eq 'ARRAY') { }
0 0 elsif (ref $nf eq 'HASH') { }
187 0 0 if (ref $nf->{'html_generator'} eq 'CODE') { }
207 0 0 if (ref $nf->{'sql_generator'} eq 'CODE')
219 0 0 if ($numRightParen == 0) { }
223 0 0 if $numRightParen == 1
225 0 0 if $numRightParen == 2
227 0 0 if $numRightParen == 3
246 0 0 if exists $o->{'schema'}{'named_filters'}{$c}
249 0 0 if $types->{$c} ne 'char'
256 0 0 ref $f->{$a} eq 'ARRAY' ? :
0 0 ref $f->{$b} eq 'ARRAY' ? :
257 0 0 if ($#k > -1)
261 0 0 if (ref $f->{$alias} eq 'ARRAY') { }
266 0 0 unless $label