Condition Coverage

blib/lib/File/HashCache.pm
Criterion Covered Total %
condition 12 20 60.0


and 3 conditions

line !l l&&!r l&&r condition
53 12 2 5 ($script = $$config{'cache'}{$name}) && -f $$script{'path'}
89 0 0 5 $$config{'cache'} and ($$config{'cache'}{'VERSION'} || 0) == $cache_file_version

or 2 conditions

line l !l condition
89 5 0 $$config{'cache'}{'VERSION'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
45 5 20 0 $ext //= $_ext
46 4 20 0 $dir //= $_dir
53 14 5 0 not +($script = $$config{'cache'}{$name}) && -f $$script{'path'} or max_timestamp(@{$$script{'deps'};}) > $$script{'timestamp'}
85 0 5 0 $$config{'cache_file'} ||= "$$config{'cache_dir'}/cache.json"