Condition Coverage

blib/lib/EasyDNS/DDNS/HTTP.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
77 2 0 1 $code >= 500 and $code <= 599

or 2 conditions

line l !l condition
16 0 2 $args{'timeout'} // 10
35 0 2 $args{'verbose'} // 0
55 0 2 $opt{'headers'} || {}
74 3 0 $r->{'status'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
21 2 0 0 $args{'http'} || 'HTTP::Tiny'->new('timeout', $timeout, 'verify_SSL', 1, 'agent', $args{'agent'} // 'sdseasydyn/0.001')
28 2 0 0 $args{'retry'} || 'Retry::Policy'->new('max_attempts', $args{'max_attempts'} // 5, 'base_delay_ms', $args{'base_delay_ms'} // 200, 'max_delay_ms', $args{'max_delay_ms'} // 10000, 'jitter', $args{'jitter'} // 'full')
57 0 2 0 $opt{'desc'} || EasyDNS::DDNS::Util::redact_basic_auth_in_url($url)
77 0 2 1 $code == 429 or $code >= 500 and $code <= 599