Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
92 0 0 0 $attrs->{'boost'} and $attrs->{'boost'} == 1
95 0 0 0 exists $attrs->{$_} and $params->{$_} = delete $attrs->{$_}
120 0 0 0 $boost > "0.9999" and $boost < "1.0001"
128 0 0 0 !defined($boost) && $update eq 'value'
171 0 0 0 ref $body and ref $body ne "SCALAR"

or 2 conditions

line l !l condition
28 0 0 $args->{'format'} ||= "JSON"
75 0 0 $attrs ||= {}
76 0 0 $params ||= {}
117 0 0 $field->{'update'} || 'value'
118 0 0 $field->{'boost'} || 1
152 0 0 $result->decoded->{'terms'} || {}
172 0 0 $body_ct ||= "application/json; charset=utf-8"
205 0 0 $attrs ||= {}
224 0 0 $attrs ||= {}
225 0 0 $content ||= {}

or 3 conditions

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