Branch Coverage

lib/CGI/OptimalQuery/InteractiveQuery.pm
Criterion Covered Total %
branch 0 138 0.0


line true false branch
224 0 0 if $o->get_current_page > 1
234 0 0 if $p ne 'All' and $p > $o->get_count
236 0 0 if $p eq $o->get_rows_page
238 0 0 unless $p =~ /all/i
245 0 0 if ($o->get_num_pages <= 1) { }
258 0 0 if $p < 1 or $p == $lastP or $p > $o->get_num_pages
260 0 0 if $p == $o->{'page'}
272 0 0 if $o->{'page'} < $o->get_num_pages
286 0 0 if exists $o->{'schema'}{'options'}{$current_pack}
288 0 0 unless (exists $opts{'httpHeader'})
293 0 0 unless (exists $opts{'htmlHeader'})
302 0 0 if exists $opts{'appendCSS'}
305 0 0 if (exists $opts{'color'})
315 0 0 if (exists $o->{'schema'}{'resourceURI'})
323 0 0 if $o->{'filter'} eq ''
324 0 0 if $o->{'sort'} eq ''
325 0 0 if $o->{'queryDescr'} eq ''
327 0 0 unless ($opts{'htmlHeader'} =~ s[()][$inlineCSS$1]i)
332 0 0 unless exists $opts{'htmlFooter'}
336 0 0 if ref $opts{$key} eq 'CODE'
353 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
358 0 0 if $state_params
550 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
563 0 0 $o->{'q'}->param('updated_uid') eq '' ? :
575 0 0 if (ref $opts{'buildNewLink'} eq 'CODE') { }
0 0 elsif (exists $opts{'buildNewLink'} and $opts{'buildNewLink'} eq '') { }
0 0 elsif ($opts{'editLink'} ne '') { }
577 0 0 if ($link ne '')
583 0 0 $opts{'editLink'} =~ /\?/ ? :
584 0 0 if ($link ne '')
592 0 0 if $o->{'schema'}{'savedSearchUserID'}
609 0 0 if ($o->{'rows_page'} ne 'All')
622 0 0 if ($o->{'schema'}{'savedSearchUserID'})
628 0 0 if ($o->{'dbh'}{'Driver'}{'Name'} eq 'Oracle')
630 0 0 if $readLen > $o->{'dbh'}{'LongReadLen'}
645 0 0 if ($params ne '')
647 0 0 if (ref $params eq 'HASH')
657 0 0 ref $v eq 'ARRAY' ? :
665 0 0 if $buffer
673 0 0 unless ($opts{'disable_select'} and $opts{'disable_sort'} and $opts{'disable_filter'})
679 0 0 unless $opts{'disable_select'}
683 0 0 unless $opts{'disable_sort'}
686 0 0 unless $opts{'disable_filter'}
689 0 0 unless $opts{'disable_select'}
696 0 0 unless $opts{'disable_filter'}
703 0 0 if (@sort)
708 0 0 unless $opts{'disable_sort'}
710 0 0 unless $opts{'disable_sort'}
736 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
739 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_sort'} or $opts{'disable_sort'})
743 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_filter'} or $opts{'disable_filter'})
746 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
750 0 0 if ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'}) { }
762 0 0 if $col_opts->{'is_hidden'} or not $s->{$col}[2]
766 0 0 if $o->{'show'}[$i] eq $col
792 0 0 if ref $opts{'mutateRecord'} eq 'CODE'
793 0 0 if ref $o->{'schema'}{'mutateRecord'} eq 'CODE'
797 0 0 if $r->{'U_ID'} ne '' and $r->{'U_ID'} eq $o->{'q'}->param('updated_uid')
800 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 '') { }
803 0 0 if ($link ne '')
807 0 0 $opts{'editLink'} =~ /\?/ ? :
815 0 0 if (exists $noEsc{$col}) { }
818 0 0 if (ref $r->{$col} eq 'ARRAY') { }
830 0 0 if (ref $opts{'OQdataRCol'} eq 'CODE') { }
0 0 elsif ($o->{'q'}->param('on_select') ne '' and $r->{'U_ID'} ne '') { }
838 0 0 $rowType eq 'Odd' ? :
841 0 0 if ($recs_in_buffer == 20)