Condition Coverage

blib/lib/Cache/File/Simple.pm
Criterion Covered Total %
condition 6 16 37.5


and 3 conditions

line !l l&&!r l&&r condition
39 0 0 8 $key and -r $file
45 0 3 5 $ret->{'expires'} and $ret->{'expires'} > time
78 0 0 0 -d $dir and dir_is_empty($dir)

or 2 conditions

line l !l condition
32 15 0 $key || ''
69 0 0 $data[0] // {}

or 3 conditions

line l !l&&r !l&&!r condition
40 4 3 0 int($expire || 0) || time + $DEFAULT_EXPIRE