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
285 0 0 if exists $o->{'schema'}{'options'}{$current_pack}
287 0 0 unless exists $opts{'httpHeader'}
291 0 0 unless (exists $opts{'htmlHeader'})
300 0 0 if exists $opts{'appendCSS'}
303 0 0 if (exists $opts{'color'})
313 0 0 if (exists $o->{'schema'}{'resourceURI'})
321 0 0 if $o->{'filter'} eq ''
322 0 0 if $o->{'sort'} eq ''
323 0 0 if $o->{'queryDescr'} eq ''
325 0 0 unless ($opts{'htmlHeader'} =~ s[()][$inlineCSS$1]i)
330 0 0 unless exists $opts{'htmlFooter'}
334 0 0 if ref $opts{$key} eq 'CODE'
351 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
356 0 0 if $state_params
548 0 0 if (ref $o->{'schema'}{'state_params'} eq 'ARRAY')
561 0 0 $o->{'q'}->param('updated_uid') eq '' ? :
573 0 0 if (ref $opts{'buildNewLink'} eq 'CODE') { }
0 0 elsif (exists $opts{'buildNewLink'} and $opts{'buildNewLink'} eq '') { }
0 0 elsif ($opts{'editLink'} ne '') { }
575 0 0 if ($link ne '')
581 0 0 $opts{'editLink'} =~ /\?/ ? :
582 0 0 if ($link ne '')
590 0 0 if $o->{'schema'}{'savedSearchUserID'}
607 0 0 if ($o->{'rows_page'} ne 'All')
620 0 0 if ($o->{'schema'}{'savedSearchUserID'})
626 0 0 if ($o->{'dbh'}{'Driver'}{'Name'} eq 'Oracle')
628 0 0 if $readLen > $o->{'dbh'}{'LongReadLen'}
643 0 0 if ($params ne '')
645 0 0 if (ref $params eq 'HASH')
655 0 0 ref $v eq 'ARRAY' ? :
663 0 0 if $buffer
671 0 0 unless ($opts{'disable_select'} and $opts{'disable_sort'} and $opts{'disable_filter'})
677 0 0 unless $opts{'disable_select'}
681 0 0 unless $opts{'disable_sort'}
684 0 0 unless $opts{'disable_filter'}
687 0 0 unless $opts{'disable_select'}
694 0 0 unless $opts{'disable_filter'}
701 0 0 if (@sort)
706 0 0 unless $opts{'disable_sort'}
708 0 0 unless $opts{'disable_sort'}
734 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
737 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_sort'} or $opts{'disable_sort'})
741 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_filter'} or $opts{'disable_filter'})
744 0 0 unless ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'})
748 0 0 if ($o->{'schema'}{'select'}{$colAlias}[3]{'disable_select'} or $opts{'disable_select'}) { }
760 0 0 if $col_opts->{'is_hidden'} or not $s->{$col}[2]
764 0 0 if $o->{'show'}[$i] eq $col
790 0 0 if ref $opts{'mutateRecord'} eq 'CODE'
791 0 0 if ref $o->{'schema'}{'mutateRecord'} eq 'CODE'
795 0 0 if $r->{'U_ID'} ne '' and $r->{'U_ID'} eq $o->{'q'}->param('updated_uid')
798 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 '') { }
801 0 0 if ($link ne '')
805 0 0 $opts{'editLink'} =~ /\?/ ? :
813 0 0 if (exists $noEsc{$col}) { }
816 0 0 if (ref $r->{$col} eq 'ARRAY') { }
828 0 0 if (ref $opts{'OQdataRCol'} eq 'CODE') { }
0 0 elsif ($o->{'q'}->param('on_select') ne '' and $r->{'U_ID'} ne '') { }
836 0 0 $rowType eq 'Odd' ? :
839 0 0 if ($recs_in_buffer == 20)