Condition Coverage

blib/lib/Dancer/Plugin/Catmandu/OAI.pm
Criterion Covered Total %
condition 18 85 21.1


and 3 conditions

line !l l&&!r l&&r condition
73 0 0 0 $old_token && $old_token->{'_n'}
82 0 0 0 $strategy eq 'paginate' and $hits->more
0 0 0 $strategy eq 'es.scroll' and exists $hits->{'scroll_id'}
112 0 0 0 $strategy eq 'paginate' and exists $token->{'start'}
0 0 0 $strategy eq 'es.scroll' and exists $token->{'scroll_id'}
435 8 0 7 $verb and my $spec = $VERBS->{$verb}
439 3 4 0 $valid->{'resumptionToken'} and exists $params->{'resumptionToken'}
563 0 0 0 $vars->{'deleted'} and $setting->{'deletedRecord'} eq 'no'
612 0 0 0 $from and $until
0 0 0 $from and $until and length $from != length $until
620 0 0 0 $from and $until
0 0 0 $from and $until and $from gt $until
626 0 0 0 $from and length $from == 10
629 0 0 0 $until and length $until == 10
649 0 0 0 $set and $set->{'cql'}

or 2 conditions

line l !l condition
130 0 2 $setting->{'granularity'} //= 'YYYY-MM-DDThh:mm:ssZ'
137 0 2 $setting->{'default_search_params'} //= {}
139 0 2 $setting->{'search_strategy'} //= 'paginate'
144 0 0 $setting->{'default_search_params'}{'scroll'} //= '10m'
207 0 0 $icon->{$tag} // (next)
276 2 0 $setting->{'adminEmail'} // []
283 0 4 $setting->{$i_field} // []
382 0 6 $set->{'setDescription'} // []
401 0 2 $opts{'deleted'} || sub {
402 0 2 $opts{'set_specs_for'} || sub {
404 0 2 $setting->{'template_options'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
108 0 0 0 $settings->{'limit'} // $DEFAULT_LIMIT
163 0 2 0 $setting->{'datestamp_index'} //= $setting->{'datestamp_field'}
165 0 2 0 $setting->{'get_record_cql_pattern'} ||= $bag->id_key . ' exact "%s"'
421 15 0 0 $setting->{'uri_base'} // request()->uri_for(request()->path_info)
530 0 0 4 $verb eq 'ListIdentifiers' or $verb eq 'ListRecords'
578 3 0 0 $setting->{'earliestDatestamp'} || do {