Condition Coverage

blib/lib/Riak/Light.pm
Criterion Covered Total %
condition 27 35 77.1


and 3 conditions

line !l l&&!r l&&r condition
403 3 3 0 defined $extra_parameters and $$extra_parameters{'stream'}
419 3 0 3 defined $extra_parameters && exists $$extra_parameters{'max_results'}
589 2 0 3 $paginate and wantarray
647 8 1 2 $should_decode && $content->content_type eq 'application/json'

or 2 conditions

line l !l condition
227 1 1 $$response{'indexes'} // []
245 0 0 $values{$key} //= []
292 1 1 $content_type ||= 'plain/text'
303 1 2 $content_type ||= 'application/json'
374 0 1 $extra_parameters //= {}
406 3 3 $extra_parameters // {}
531 60 2 $self->driver->read_response // {'code', -1, 'body', undef, 'error', $Riak::Light::ERRNO}
571 1 2 $obj->keys // []
587 4 1 $obj->keys // []
600 2 2 $obj->response // '[]'

or 3 conditions

line l !l&&r !l&&!r condition
375 0 1 0 $$extra_parameters{'max_results'} //= $DEFAULT_MAX_RESULTS