Condition Coverage

blib/lib/Restish/Client.pm
Criterion Covered Total %
condition 5 20 25.0


and 3 conditions

line !l l&&!r l&&r condition
378 0 0 0 $method eq "post" and not @data
528 28 0 1 $self->_require_https and not $self->_uri_host =~ /^https/

or 2 conditions

line l !l condition
391 0 0 eval { do { return &decode_json(scalar $res->decoded_content) } } || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
587 0 0 0 $self->{'_cookie_jar'} ||= "HTTP::Cookies"->new
589 0 0 0 $self->{'_cookie_jar'} ||= "HTTP::Cookies"->new("file", $self->cookie_jar, "autosave", 1, "ignore_discard", 1)
603 1 0 0 ref $query_params eq "HASH" or ref $query_params eq "ARRAY"
643 0 13 2 is_http_uri($uri) or is_https_uri($uri)