Condition Coverage

lib/Apache/Solr/XML.pm
Criterion Covered Total %
condition 2 36 5.5


and 3 conditions

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

or 2 conditions

line l !l condition
41 0 4 $args->{'format'} ||= "XML"
82 0 0 $attrs ||= {}
83 0 0 $params ||= {}
106 0 0 $this->boost || 1
113 0 0 $field->{'boost'} || 1
141 0 0 $result->decoded->{'terms'} || {}
158 0 0 $body_ct ||= "text/xml; charset=utf-8"
231 0 0 $attrs ||= {}
249 0 0 $attrs ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 $boost < "0.9999" or $boost > "1.0001"
167 0 0 0 $resp->decoded_content || $resp->content
208 2 0 0 $value eq 'true' || $_->{'_'} eq 1
225 0 0 0 ref $data || $data
252 0 0 0 ref $content eq "HASH" or ref $content eq "ARRAY"