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
60 1 0 0 $bag->can('cql_mapping') and my $indexes = $bag->cql_mapping->{'indexes'}

or 2 conditions

line l !l condition
25 0 1 $setting->{'content_type'} // 'text/xml'
48 0 1 $setting->{'template_options'} || {}
85 2 2 $params->{'operation'} // 'explain'
137 0 0 $request->startRecord // 1

or 3 conditions

line l !l&&r !l&&!r condition
45 1 0 0 $setting->{'limit'} // $bag->default_limit
46 1 0 0 $setting->{'maximum_limit'} // $bag->maximum_limit
51 0 0 1 $setting->{'title'} or $setting->{'description'}
63 0 0 0 $indexes->{$key}{'title'} || $key
71 0 1 0 $schema->{'title'} || $schema->{'name'}
121 0 0 0 $request->recordSchema or $default_record_schema
138 0 0 0 $request->maximumRecords // $default_limit