blib/lib/Net/Rest/Generic/Utility.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 14 | 42.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 1 | 0 | 1 | $$api{'useragent_options'} and ref $$api{'useragent_options'} eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
19 | 0 | 2 | $args ||= {} |
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' |