Condition Coverage

lib/Apache/Solr/JSON.pm
Criterion Covered Total %
condition 0 45 0.0


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 0 $attrs->{'boost'} and $attrs->{'boost'} == 1
81 0 0 0 exists $attrs->{$_} and $params->{$_} = delete $attrs->{$_}
111 0 0 0 $boost > "0.9999" and $boost < "1.0001"
119 0 0 0 !defined($boost) && $update eq 'value'
158 0 0 0 ref $body and ref $body ne "SCALAR"

or 2 conditions

line l !l condition
28 0 0 $args->{'format'} ||= "JSON"
68 0 0 $attrs ||= {}
69 0 0 $params ||= []
108 0 0 $field->{'update'} || 'value'
109 0 0 $field->{'boost'} || 1.0
139 0 0 $result->decoded->{'terms'} || {}
159 0 0 $body_ct ||= "application/json; charset=utf-8"
188 0 0 $attrs ||= {}
201 0 0 $attrs ||= {}
202 0 0 $content ||= {}
208 0 0 $args{'params'} ||= []
210 0 0 $params->{'wt'} ||= "json"

or 3 conditions

line l !l&&r !l&&!r condition
31 0 0 0 $args->{'json'} || 'JSON'->new->utf8
179 0 0 0 $resp->decoded_content || $resp->content