Branch Coverage

blib/lib/Crypt/Digest.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
37 138 1091 if (ref $file and eval { do { defined fileno $file } }) { }
1090 1 elsif (defined $file and not ref $file) { }
41 0 1090 unless open $handle, "<", $file
56 0 1228 unless defined $n
58 1090 138 if $close_handle