Branch Coverage

blib/lib/Memoize/Expire.pm
Criterion Covered Total %
branch 18 36 50.0


line true false branch
16 2 0 unless ($@)
24 0 3 if ($args{'TIE'})
29 0 0 if ($@)
33 0 0 unless ($rc)
44 0 14 if $DEBUG
46 6 8 $self->{'LIFETIME'} > 0 ? :
55 0 27 if $DEBUG
57 0 27 if $DEBUG
63 0 35 if $DEBUG
64 7 28 unless (exists $_[0]{'C'}{"V$_[1]"})
65 0 7 if $DEBUG
71 0 28 if ($DEBUG)
72 0 0 if $_[0]{'LIFETIME'}
73 0 0 if $_[0]{'NUM_USES'}
75 23 5 if (!$_[0]{'LIFETIME'} || $expire_time > &Memoize::Expire::time() and !$_[0]{'NUM_USES'} || $num_uses_left > 0) { }
77 0 23 if $DEBUG
80 0 5 if $DEBUG
92 2 2 if "V" eq substr($key, 0, 1)