Condition Coverage

lib/Apache/Solr/XML.pm
Criterion Covered Total %
condition 3 40 7.5


and 3 conditions

line !l l&&!r l&&r condition
140 0 0 0 builtin::blessed($body) and $body->isa("XML::LibXML::Document")

or 2 conditions

line l !l condition
40 0 4 $args->{'format'} ||= "XML"
71 0 0 $attrs ||= {}
72 0 0 $params ||= []
93 0 0 $this->boost || 1.0
100 0 0 $field->{'boost'} || 1.0
125 0 0 $result->decoded->{'terms'} || {}
141 0 0 $body_ct ||= "text/xml; charset=utf-8"
218 0 0 $attrs ||= {}
234 0 0 $attrs ||= {}
257 1 0 $args{'params'} ||= []
259 0 0 $params->{'wt'} ||= "xml"

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 0 $boost < "0.9999" or $boost > "1.0001"
155 0 0 0 $resp->decoded_content || $resp->content
194 2 0 0 $value eq 'true' || $_->{'_'} eq 1
212 0 0 0 ref $data || $data
237 0 0 0 ref $content eq "HASH" or ref $content eq "ARRAY"