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'}
292 0 0 unless (exists $opts{'htmlHeader'})
301 0 0 if exists $opts{'appendCSS'}
304 0 0 if (exists $opts{'color'})
314 0 0 if (exists $o->{'schema'}{'resourceURI'})
322 0 0 if $o->{'filter'} eq ''
323 0 0 if $o->{'sort'} eq ''
324 0 0 if $o->{'queryDescr'} eq ''
326 0 0 unless ($opts{'htmlHeader'} =~ s[()][$inlineCSS$1]i)
331 0 0 unless exists $opts{'htmlFooter'}
335 0 0 if ref $opts{$key} eq 'CODE'
352 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
357 0 0 if $state_params
549 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
562 0 0 $o->{'q'}->param('updated_uid') eq '' ? :
574 0 0 if (ref $opts{'buildNewLink'} eq 'CODE') { }
0 0 elsif (exists $opts{'buildNewLink'} and $opts{'buildNewLink'} eq '') { }
0 0 elsif ($opts{'editLink'} ne '') { }
576 0 0 if ($link ne '')
582 0 0 $opts{'editLink'} =~ /\?/ ? :
583 0 0 if ($link ne '')
591 0 0 if $o->{'schema'}{'savedSearchUserID'}
608 0 0 if ($o->{'rows_page'} ne 'All')
621 0 0 if ($o->{'schema'}{'savedSearchUserID'})
627 0 0 if ($o->{'dbh'}{'Driver'}{'Name'} eq 'Oracle')
629 0 0 if $readLen > $o->{'dbh'}{'LongReadLen'}
644 0 0 if ($params ne '')
646 0 0 if (ref $params eq 'HASH')
656 0 0 ref $v eq 'ARRAY' ? :
664 0 0 if $buffer
672 0 0 unless ($opts{'disable_select'} and $opts{'disable_sort'} and $opts{'disable_filter'})
678 0 0 unless $opts{'disable_select'}
682 0 0 unless $opts{'disable_sort'}
685 0 0 unless $opts{'disable_filter'}
688 0 0 unless $opts{'disable_select'}
695 0 0 unless $opts{'disable_filter'}
702 0 0 if (@sort)
707 0 0 unless $opts{'disable_sort'}
709 0 0 unless $opts{'disable_sort'}
735 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
738 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_sort'} or $opts{'disable_sort'})
742 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_filter'} or $opts{'disable_filter'})
745 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
749 0 0 if ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'}) { }
761 0 0 if $col_opts->{'is_hidden'} or not $s->{$col}[2]
765 0 0 if $o->{'show'}[$i] eq $col
791 0 0 if ref $opts{'mutateRecord'} eq 'CODE'
792 0 0 if ref $o->{'schema'}{'mutateRecord'} eq 'CODE'
796 0 0 if $r->{'U_ID'} ne '' and $r->{'U_ID'} eq $o->{'q'}->param('updated_uid')
799 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 '') { }
802 0 0 if ($link ne '')
806 0 0 $opts{'editLink'} =~ /\?/ ? :
814 0 0 if (exists $noEsc{$col}) { }
817 0 0 if (ref $r->{$col} eq 'ARRAY') { }
829 0 0 if (ref $opts{'OQdataRCol'} eq 'CODE') { }
0 0 elsif ($o->{'q'}->param('on_select') ne '' and $r->{'U_ID'} ne '') { }
837 0 0 $rowType eq 'Odd' ? :
840 0 0 if ($recs_in_buffer == 20)