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
169 5 0 4 scalar @_ == 1 and ref $_[0] eq 'HASH'
188 9 0 0 $method_args{'required_payload'} and not $payload
191 5 4 0 $payload and not $method =~ /^(?:POST|PUT|PATCH)$/i

or 2 conditions

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