Branch Coverage

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


line true false branch
20 0 0 if ($o->{'q'}->param('field') ne '')
24 0 0 if (exists $o->{'schema'}{'named_filters'}{$field}) { }
0 0 elsif (not $s->{$field}[3]{'disable_filter'}) { }
25 0 0 if $filter
29 0 0 if $filter
30 0 0 if ($types->{$field} eq 'char') { }
41 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'
75 0 0 if $c eq $leftExp
81 0 0 if $op eq $operator
85 0 0 if $type == 3
88 0 0 if $types->{$c} ne 'char'
89 0 0 if $c eq $rightSelectedField
93 0 0 if ($rightSelectedField) { }
99 0 0 if ($numRightParen == 0) { }
103 0 0 if $numRightParen == 1
105 0 0 if $numRightParen == 2
107 0 0 if $numRightParen == 3
117 0 0 if ($numLeftParen == 0) { }
121 0 0 if $numLeftParen == 1
123 0 0 if $numLeftParen == 2
125 0 0 if $numLeftParen == 3
130 0 0 if (ref $nf eq 'ARRAY') { }
0 0 elsif (ref $nf eq 'HASH') { }
138 0 0 if (ref $nf->{'html_generator'} eq 'CODE') { }
163 0 0 if ($numRightParen == 0) { }
167 0 0 if $numRightParen == 1
169 0 0 if $numRightParen == 2
171 0 0 if $numRightParen == 3
190 0 0 if exists $o->{'schema'}{'named_filters'}{$c}
193 0 0 if $types->{$c} ne 'char'
200 0 0 ref $f->{$a} eq 'ARRAY' ? :
0 0 ref $f->{$b} eq 'ARRAY' ? :
201 0 0 if ($#k > -1)
205 0 0 if (ref $f->{$alias} eq 'ARRAY') { }
210 0 0 unless $label