lib/CGI/OptimalQuery/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 51 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
136 | 0 | 0 | 0 | $o->{'oq'}{'select'}{$selectAlias}[3]{'select'} and ref $o->{'oq'}{'select'}{$selectAlias}[3]{'select'} ne 'ARRAY' |
153 | 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} |
line | l | !l | condition |
---|---|---|---|
61 | 0 | 0 | $o->{'schema'}{'debug'} ||= 0 |
65 | 0 | 0 | $o->{'schema'}{'title'} ||= '' |
66 | 0 | 0 | $o->{'schema'}{'options'} ||= {} |
67 | 0 | 0 | $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery' |
159 | 0 | 0 | $o->{'schema'}{'savedSearchUserID'} ||= undef |
170 | 0 | 0 | $o->{'schema'}{'params'} || {} |
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 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
67 | 0 | 0 | 0 | $o->{'schema'}{'resourceURI'} ||= $ENV{'OPTIMALQUERY_RESOURCES'} || '/OptimalQuery' |
76 | 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 |