blib/lib/Cache/LRU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 12 | 66.6 |
line | true | false | branch |
---|---|---|---|
29 | 2 | 7 | if (my $old_value_ref = $$entries{$key}) |
41 | 2 | 14 | unless $$entries{$exp_key} |
51 | 0 | 2 | unless $value_ref |
61 | 7 | 18 | unless $value_ref |
80 | 0 | 27 | if (@$fifo >= $$self{'size'} * 10) |
86 | 0 | 0 | if delete $need{$$fifo_entry[0]} |