Condition Coverage

blib/lib/Dancer/Plugin/Catmandu/SRU.pm
Criterion Covered Total %
condition 9 32 28.1


and 3 conditions

line !l l&&!r l&&r condition
61 2 0 0 $bag->can('cql_mapping') and my $indexes = $bag->cql_mapping->{'indexes'}

or 2 conditions

line l !l condition
26 0 2 $setting->{'content_type'} // 'text/xml'
49 0 2 $setting->{'template_options'} || {}
86 5 4 $params->{'operation'} // 'explain'
138 0 0 $request->startRecord // 1

or 3 conditions

line l !l&&r !l&&!r condition
46 2 0 0 $setting->{'limit'} // $bag->default_limit
47 2 0 0 $setting->{'maximum_limit'} // $bag->maximum_limit
52 0 0 2 $setting->{'title'} or $setting->{'description'}
64 0 0 0 $indexes->{$key}{'title'} || $key
72 0 2 0 $schema->{'title'} || $schema->{'name'}
122 0 0 0 $request->recordSchema or $default_record_schema
139 0 0 0 $request->maximumRecords // $default_limit