blib/lib/Tie/Hash/Cache/MRU.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 16 | 43.7 |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 0 | $_[0][1]{$_[1]} eq \$NOTEXIST and $_[0][0]{$_[1]} = \$NOTEXIST |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
54 | 1 | 1 | 1 | exists $_[0][2]{$_[1]} and time - $_[0][2]{$_[1]} > $_[0][4] |
113 | 0 | 0 | 0 | exists $_[0][2]{$_[1]} and time - $_[0][2]{$_[1]} > $_[0][4] |
line | l | !l | condition |
---|---|---|---|
37 | 0 | 2 | $obj[7] ||= sub ($) { $obj[5]{$_[0]}; } |
38 | 0 | 2 | $obj[6] ||= sub ($$) { $obj[5]{$_[0]} = $_[1]; } |
39 | 0 | 2 | $obj[8] ||= sub ($) { delete $obj[5]{$_[0]}; } |
40 | 0 | 2 | $obj[9] ||= sub ($) { exists $obj[5]{$_[0]}; } |