Condition Coverage

blib/lib/Net/Rest/Generic/Utility.pm
Criterion Covered Total %
condition 6 14 42.8


and 3 conditions

line !l l&&!r l&&r condition
20 1 0 1 $$api{'useragent_options'} and ref $$api{'useragent_options'} eq 'HASH'

or 2 conditions

line l !l condition
19 0 2 $args ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
21 0 1 0 $$api{'ua'} ||= 'LWP::UserAgent'->new(%{$$api{'useragent_options'};})
24 0 1 0 $$api{'ua'} ||= 'LWP::UserAgent'->new
36 0 3 0 $method eq 'PUT' or $method eq 'POST'