Branch Coverage

blib/lib/Hook/Modular/Cache.pm
Criterion Covered Total %
branch 4 22 18.1


line true false branch
16 0 12 unless -e $$conf{'base'} and -'d_'
28 12 0 if ($@)
35 0 12 $$conf{'expires'} ? :
44 0 0 if (@path > 1)
54 0 0 if ($$self{'cache'}->isa('Cache')) { }
56 0 0 if ($@ and $@ =~ /Storable binary/)
62 0 0 defined $value ? :
70 0 0 if (defined $data)
74 0 0 if (defined $data)
82 0 0 $$self{'cache'}->isa('Cache') && ref $value ? :
93 0 2 if $$self{'to_purge'}