blib/lib/Memoize/ExpireLRU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 17 | 70.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
151 | 0 | 24 | 21 | defined $$self{'TI'} and defined $$self{'TI'}[$i - $j] |
24 | 0 | 21 | defined $$self{'TI'} and defined $$self{'TI'}[$i - $j] and defined $$self{'TI'}[$i - $j]{'k'} | |
24 | 16 | 5 | defined $$self{'TI'} and defined $$self{'TI'}[$i - $j] and defined $$self{'TI'}[$i - $j]{'k'} and $$self{'TI'}[$i - $j]{'k'} eq $key | |
251 | 24 | 0 | 0 | $n > 0 and $time == $$Aref[$n - 1]{'t'} |
254 | 0 | 24 | 45 | $time == $$Aref[$n]{'t'} and $key ne $$Aref[$n]{'k'} |
line | l | !l | condition |
---|---|---|---|
57 | 2 | 1 | $$self{'TUNECACHESIZE'} ||= 0 |