Condition Coverage

blib/lib/LWP/UserAgent/Plugin/Retry.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
68 0 0 0 $r->{'config'}{'max_attempts'} and 1 + $r->{'retries'} >= $r->{'config'}{'max_attempts'}

or 2 conditions

line l !l condition
19 0 0 $ENV{'LWP_USERAGENT_PLUGIN_RETRY_MAX_ATTEMPTS'} // 4
21 0 0 $ENV{'LWP_USERAGENT_PLUGIN_RETRY_DELAY'} // 2
58 0 0 $r->{'retries'} //= 0

or 3 conditions

line l !l&&r !l&&!r condition
19 0 0 0 $r->{'config'}{'max_attempts'} //= $ENV{'LWP_USERAGENT_PLUGIN_RETRY_MAX_ATTEMPTS'} // 4
21 0 0 0 $r->{'config'}{'delay'} //= $ENV{'LWP_USERAGENT_PLUGIN_RETRY_DELAY'} // 2
26 0 0 0 $r->{'ua'}{'_backoff_obj'} //= Module::Load::Util::instantiate_class_with_optional_args({"ns_prefix", "Algorithm::Backoff"}, $r->{'config'}{'strategy'})
33 0 0 0 $ref eq "Regexp" or not $ref