Branch Coverage

blib/lib/Module/ScanDeps/Cache.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
18 0 9 unless $has_DMD5
19 0 9 unless $has_Storable
25 0 8 if prereq_missing()
28 1 7 unless ($cache)
40 0 8 unless $cache_dirty or $c_file ne $cache_file
42 0 8 unless Storable::nstore($cache, $c_file)
49 54 21 if ($args{'action'} eq 'read') { }
20 1 elsif ($args{'action'} eq 'write') { }
67 20 34 unless exists $cache->{$key}
70 33 1 if ($entry->{'checksum'} eq $checksum)
90 0 54 unless open my $fh, "<", $file
93 0 54 unless close $fh