Condition Coverage

blib/lib/Memoize/Expire.pm
Criterion Covered Total %
condition 15 15 100.0


and 3 conditions

line !l l&&!r l&&r condition
75 3 2 23 !$_[0]{'LIFETIME'} || $expire_time > &Memoize::Expire::time() and !$_[0]{'NUM_USES'} || $num_uses_left > 0

or 2 conditions

line l !l condition
37 1 2 $args{'LIFETIME'} ||= 0
38 1 2 $args{'NUM_USES'} ||= 0
39 1 2 delete $args{'HASH'} || \%cache

or 3 conditions

line l !l&&r !l&&!r condition
75 7 18 3 !$_[0]{'LIFETIME'} || $expire_time > &Memoize::Expire::time()
18 5 2 !$_[0]{'NUM_USES'} || $num_uses_left > 0