Condition Coverage

blib/lib/Digest/SHA.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
149 1 0 1 $UNIVERSAL and _istext(*FH, $file)

or 3 conditions

line l !l&&r !l&&!r condition
46 1 6 2 not defined $alg or $alg == $class->algorithm
148 1 1 0 $binary or $UNIVERSAL
228 0 0 0 not defined $file or $file eq ""
242 0 0 0 not defined $file or $file eq ""