Condition Coverage

blib/lib/Net/HTTP/Knork.pm
Criterion Covered Total %
condition 8 13 61.5


and 3 conditions

line !l l&&!r l&&r condition
173 5 0 4 scalar @_ == 1 and ref $_[0] eq 'HASH'
192 9 0 0 $method_args{'required_payload'} and not $payload
195 5 4 0 $payload and not $method =~ /^(?:POST|PUT|PATCH)$/i

or 2 conditions

line l !l condition
201 4 5 $payload //= undef
234 0 8 $self->client->agent // ''