Condition Coverage

blib/lib/SignalWire/Agents/REST/HttpClient.pm
Criterion Covered Total %
condition 1 15 6.6


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 $opts{'params'} and ref $opts{'params'} eq "HASH"
0 0 0 $opts{'params'} and ref $opts{'params'} eq "HASH" and %{$opts{'params'};}

or 2 conditions

line l !l condition
49 0 0 $opts{'params'}{$key} // ""
63 0 0 $response->{'content'} // ""
132 1 0 $self->body // ""

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 0 $response->{'status'} == 204 or not $response->{'content'}