Branch Coverage

blib/lib/DataStore/CAS/Virtual.pm
Criterion Covered Total %
branch 4 16 25.0


line true false branch
21 0 2 unless defined(my $data = $self->entries->{$hash})
30 0 1 $flags && defined $flags->{'known_hash'} ? :
33 1 0 unless $flags and $flags->{'dry_run'}
50 0 0 if utf8::is_utf8($buffer)
73 0 1 unless open my $fh, "<", \$self->entries->{$file->hash}
88 0 0 $flags && $flags->{'dry_run'} ? :
90 0 0 $deleted ? :
0 0 if $flags and $flags->{'stats'}