lib/PEF/CacheLRU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 1 | unless exists $self->[2]{$key} |
49 | 0 | 1 | if ($node == $self->[0]) { } |
65 | 1 | 1753 | if (my $node = $self->[2]{$key}) { } |
67 | 1 | 0 | if $node != $self->[0] |
72 | 1742 | 11 | if (++$self->[3] > $self->[4]) |
74 | 1742 | 0 | if (my $pre = $pre_least->[1]) |
89 | 1282 | 1750 | if (my $node = $self->[2]{$key}) { } |
90 | 1042 | 240 | if $node != $self->[0] |