Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
52 0 0 $o->{'schema'}{'debug'} ||= 0
56 0 0 $o->{'schema'}{'title'} ||= ''
57 0 0 $o->{'schema'}{'options'} ||= {}
58 0 0 $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery'
150 0 0 $o->{'schema'}{'savedSearchUserID'} ||= undef
181 0 0 $o->{'mode'} ||= 'default'
184 0 0 $o->{'schema'}{'results_per_page_picker_nums'} ||= [25, 50, 100, 500, 1000, 'All']
185 0 0 $o->{'schema'}{'rows_page'} || $o->{'schema'}{'results_per_page_picker_nums'}[0] || 10
186 0 0 $o->{'page'} ||= 1
365 0 0 $o->{'schema'}{'select'}{$colAlias}[3]{'formatter'} || \&CGI::OptimalQuery::Base::default_formatter
372 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
58 0 0 0 $o->{'schema'}{'resourceURI'} ||= $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery'
67 0 0 0 $o->{'schema'}{'URI_standalone'} ||= $o->{'schema'}{'URI'}
185 0 0 0 $o->{'rows_page'} ||= $o->{'schema'}{'rows_page'} || $o->{'schema'}{'results_per_page_picker_nums'}[0] || 10
283 0 0 0 $o->{'rows_page'} eq 'All' or $o->{'sth'}->count < $o->{'rows_page'}
404 0 0 0 $o->{'schema'}{'select'}{$colAlias2}[2] || $colAlias2
418 0 0 0 $o->{'schema'}{'select'}{$colAlias2}[2] || $colAlias2