Condition Coverage

blib/lib/Cache/Adaptive.pm
Criterion Covered Total %
condition 7 17 41.1


and 3 conditions

line !l l&&!r l&&r condition
51 2 0 33 $$entry{'value'} and not $$opts{'force'}

or 2 conditions

line l !l condition
112 0 0 $$entry{'last_check_at'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
35 0 1 0 $$self{'purge_after'} ||= $$self{'expires_max'} * 2
49 0 37 0 $$opts{'purge_after'} || $self->purge_after
54 0 27 6 $$entry{'_no_write'} or $at < $expires_at
112 10 0 0 not $params{'check_interval'} or ($$entry{'last_check_at'} || 0) + $params{'check_interval'} <= $now