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
427 3 3 0 defined $extra_parameters and $extra_parameters->{'stream'}
453 3 3 0 defined $extra_parameters && exists $extra_parameters->{'max_results'}
612 2 0 3 $paginate and wantarray
670 8 1 4 $should_decode && $content->content_type eq 'application/json'

or 2 conditions

line l !l condition
235 1 1 $response->{'indexes'} // []
252 0 0 $values{$key} //= []
303 1 3 $content_type ||= 'plain/text'
314 1 2 $content_type ||= 'application/json'
397 0 1 $extra_parameters //= {}
438 3 3 $extra_parameters // {}
554 66 2 $self->driver->read_response // {'code', -1, 'body', undef, 'error', $Riak::Light::ERRNO}
594 1 2 $obj->keys // []
610 4 1 $obj->keys // []
623 2 2 $obj->response // '[]'

or 3 conditions

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