Branch Coverage

blib/lib/App/Hashl.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
51 0 21 if ((stat $file)[7] == 0)
57 0 21 unless open my $fh, '<', $file
59 0 21 unless binmode $fh
61 0 21 unless read $fh, $data, $$self{'config'}{'read_size'}
63 0 21 unless close $fh
73 3 7 if ($$self{'ignored'}{$hash})
80 5 1 if ($$file{'hash'} eq $hash)
125 0 0 if ($self->file($file) and $self->file($file)->{'mtime'} == $mtime and $self->file($file)->{'size'} == $size)
134 2 3 if ($$self{'ignored'}{$hash})
135 1 1 if ($opt{'unignore'}) { }
155 4 0 if (exists $$self{'ignored'})