Condition Coverage

blib/lib/Cache/RamDisk.pm
Criterion Covered Total %
condition 14 50 28.0


and 3 conditions

line !l l&&!r l&&r condition
394 0 0 0 $$self{'Type'} == CACHE_TIMED() and $stats->atime < time - $key[0]
504 0 0 0 $$df{'favail'} and $$df{'bavail'} >= ceil($l / $cache{'__BSize__'})

or 2 conditions

line l !l condition
312 2 0 shift() || (return undef)
316 2 0 shift() || (return undef)
322 0 2 shift() || 'RdLk'
340 1 0 shift() || (return undef)
432 1 0 shift() || (return undef)
486 0 0 $idx ||= ''
488 0 0 $1 || ''
548 1 0 shift() || (return undef)
609 6 0 shift() || (return undef)
624 0 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
318 2 0 0 shift() || CACHE_DEFAULT()
319 2 0 0 $type == CACHE_LRU() or $type == CACHE_TIMED()
341 1 0 0 ref $self or $$self{'Err'}
344 1 0 0 $what or ref $what ne 'HASH'
383 0 0 0 $& or $1
440 1 0 0 $what or ref $what eq 'HASH'
549 1 0 0 ref $self or $$self{'Err'}
552 1 0 0 $what or ref $what eq 'HASH'