blib/lib/Cache/CacheSizer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
44 | 23 | 8 | if (defined $object) |
58 | 32 | 3 | if $p_new_size == $Cache::CacheSizer::NO_MAX_SIZE |
77 | 0 | 3 | unless $p_new_size >= 0 |
82 | 0 | 3 | if $size_estimate <= $p_new_size |
86 | 3 | 7 | if $size_estimate <= $p_new_size |
104 | 0 | 10 | unless my $object = $self->_get_cache->get_object($key) |