blib/lib/Cache/CodeBlock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 5 | 80.0 |
line | l | !l | condition |
---|---|---|---|
25 | 2 | 2 | $unique || 'default' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 2 | 0 | 2 | $CACHE->get($addr) // do { my $value = &$code(); $CACHE->set($addr, $value, defined $timeout ? $timeout : ()); return $value } |