Branch Coverage

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


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