Condition Coverage

lib/CGI/OptimalQuery/Base.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
137 0 0 0 $o->{'oq'}{'select'}{$selectAlias}[3]{'select'} and ref $o->{'oq'}{'select'}{$selectAlias}[3]{'select'} ne 'ARRAY'
154 0 0 0 $o->{'schema'}{'check'} and not defined $o->{'q'}->param('module')
338 0 0 0 $class =~ s/\d+$// and exists $o->{'schema'}{'options'}{$class}

or 2 conditions

line l !l condition
62 0 0 $o->{'schema'}{'debug'} ||= 0
66 0 0 $o->{'schema'}{'title'} ||= ''
67 0 0 $o->{'schema'}{'options'} ||= {}
68 0 0 $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery'
160 0 0 $o->{'schema'}{'savedSearchUserID'} ||= undef
171 0 0 $o->{'schema'}{'params'} || {}
182 0 0 $o->{'mode'} ||= 'default'
185 0 0 $o->{'schema'}{'results_per_page_picker_nums'} ||= [25, 50, 100, 500, 1000, 'All']
186 0 0 $o->{'schema'}{'rows_page'} || $o->{'schema'}{'results_per_page_picker_nums'}[0] || 10
187 0 0 $o->{'page'} ||= 1
370 0 0 $o->{'schema'}{'select'}{$colAlias}[3]{'formatter'} || \&CGI::OptimalQuery::Base::default_formatter
377 0 0 $o->{'schema'}{'select'}{$colAlias}[3]{'html_formatter'} || \&CGI::OptimalQuery::Base::default_html_formatter

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 0 $o->{'schema'}{'resourceURI'} ||= $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery'
77 0 0 0 $o->{'schema'}{'URI_standalone'} ||= $o->{'schema'}{'URI'}
186 0 0 0 $o->{'rows_page'} ||= $o->{'schema'}{'rows_page'} || $o->{'schema'}{'results_per_page_picker_nums'}[0] || 10
284 0 0 0 $o->{'rows_page'} eq 'All' or $o->{'sth'}->count < $o->{'rows_page'}
320 0 0 0 $o->{'schema'}{'select'}{$colAlias}[2] || join(' ', map({ucfirst $_;} split(/[\ \_]+/, $colAlias, 0)))
409 0 0 0 $o->{'schema'}{'select'}{$colAlias2}[2] || $colAlias2
423 0 0 0 $o->{'schema'}{'select'}{$colAlias2}[2] || $colAlias2