Branch Coverage

lib/CGI/OptimalQuery/RecView.pm
Criterion Covered Total %
branch 0 102 0.0


line true false branch
18 0 0 if ref $opts{$_} eq 'CODE'
33 0 0 if (not exists $opts{'usePopups'}) { }
36 0 0 $opts{'usePopups'} ? :
38 0 0 if (not exists $opts{'useAjax'}) { }
41 0 0 $opts{'useAjax'} ? :
45 0 0 unless exists $opts{'httpHeader'}
47 0 0 unless exists $opts{'htmlFooter'}
50 0 0 if ($opts{'NewButton'}) { }
0 0 elsif (ref $opts{'buildNewLink'} eq 'CODE') { }
0 0 elsif (exists $opts{'buildNewLink'} and $opts{'buildNewLink'} eq '') { }
0 0 elsif ($opts{'editLink'} ne '') { }
51 0 0 ref $opts{'NewButton'} eq 'CODE' ? :
55 0 0 if ($link ne '')
57 0 0 if ($opts{'usePopups'})
66 0 0 $opts{'editLink'} =~ /\?/ ? :
67 0 0 if ($link ne '')
69 0 0 if ($opts{'usePopups'})
80 0 0 if ($dataonly) { }
84 0 0 if $opts{'WindowHeight'}
85 0 0 if $opts{'WindowWidth'}
89 0 0 if (not exists $opts{'htmlHeader'}) { }
111 0 0 if ($opts{'color'})
123 0 0 unless $opts{'jquery_already_sent'}
136 0 0 if ($#tools > -1)
144 0 0 if ($opened_tool_key eq $key)
163 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
184 0 0 if $o->{'queryDescr'}
187 0 0 if ($filter)
189 0 0 if $opts{'disable_filter'}
194 0 0 if ($#sort > -1)
200 0 0 unless $opts{'disable_sort'}
202 0 0 unless $opts{'disable_sort'}
215 0 0 if $colOpts->{'disable_select'} or $opts{'disable_select'}
216 0 0 if $colOpts->{'disable_sort'} or $opts{'disable_sort'}
217 0 0 if $colOpts->{'disable_filter'} or $opts{'disable_filter'}
230 0 0 if (ref $opts{'OQdataLCol'} eq 'CODE') { }
0 0 elsif (ref $opts{'buildEditLink'} eq 'CODE') { }
0 0 elsif ($opts{'editLink'} ne '' and $r->{'U_ID'} ne '') { }
234 0 0 if ($link ne '')
238 0 0 $opts{'editLink'} =~ /\?/ ? :
245 0 0 $type ne 'char' ? :
248 0 0 if (ref $opts{'OQdataRCol'} eq 'CODE') { }
0 0 elsif ($o->{'q'}->param('on_select') ne '') { }
254 0 0 if $#argfields == -1
257 0 0 if ref $v eq 'ARRAY'
265 0 0 if (++$recs_in_buffer == 10000)
278 0 0 if ($numpages != 1)
280 0 0 if $o->{'page'} == 1
285 0 0 $p eq $o->{'rows_page'} ? :
288 0 0 if ($numpages != 1)
307 0 0 if ($dataonly) { }