Branch Coverage

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


line true false branch
16 0 0 if ref $opts{$_} eq 'CODE'
31 0 0 if (not exists $opts{'usePopups'}) { }
34 0 0 $opts{'usePopups'} ? :
36 0 0 if (not exists $opts{'useAjax'}) { }
39 0 0 $opts{'useAjax'} ? :
43 0 0 unless exists $opts{'httpHeader'}
45 0 0 unless exists $opts{'htmlFooter'}
48 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 '') { }
49 0 0 ref $opts{'NewButton'} eq 'CODE' ? :
53 0 0 if ($link ne '')
55 0 0 if ($opts{'usePopups'})
64 0 0 $opts{'editLink'} =~ /\?/ ? :
65 0 0 if ($link ne '')
67 0 0 if ($opts{'usePopups'})
78 0 0 if ($dataonly) { }
82 0 0 if $opts{'WindowHeight'}
83 0 0 if $opts{'WindowWidth'}
87 0 0 if (not exists $opts{'htmlHeader'}) { }
109 0 0 if ($opts{'color'})
121 0 0 unless $opts{'jquery_already_sent'}
134 0 0 if ($#tools > -1)
142 0 0 if ($opened_tool_key eq $key)
161 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
182 0 0 if $o->{'queryDescr'}
185 0 0 if ($filter)
187 0 0 if $opts{'disable_filter'}
192 0 0 if ($#sort > -1)
198 0 0 unless $opts{'disable_sort'}
200 0 0 unless $opts{'disable_sort'}
213 0 0 if $colOpts->{'disable_select'} or $opts{'disable_select'}
214 0 0 if $colOpts->{'disable_sort'} or $opts{'disable_sort'}
215 0 0 if $colOpts->{'disable_filter'} or $opts{'disable_filter'}
228 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 '') { }
232 0 0 if ($link ne '')
236 0 0 $opts{'editLink'} =~ /\?/ ? :
243 0 0 $type ne 'char' ? :
246 0 0 if (ref $opts{'OQdataRCol'} eq 'CODE') { }
0 0 elsif ($o->{'q'}->param('on_select') ne '') { }
252 0 0 if $#argfields == -1
255 0 0 if ref $v eq 'ARRAY'
263 0 0 if (++$recs_in_buffer == 10000)
276 0 0 if ($numpages != 1)
278 0 0 if $o->{'page'} == 1
283 0 0 $p eq $o->{'rows_page'} ? :
286 0 0 if ($numpages != 1)
305 0 0 if ($dataonly) { }