blib/lib/Cache/CacheSizer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
44 | 47 | 16 | if (defined $object) |
58 | 64 | 6 | if $p_new_size == $Cache::CacheSizer::NO_MAX_SIZE |
77 | 0 | 6 | unless $p_new_size >= 0 |
82 | 0 | 6 | if $size_estimate <= $p_new_size |
86 | 6 | 14 | if $size_estimate <= $p_new_size |
104 | 0 | 20 | unless my $object = $self->_get_cache->get_object($key) |