Branch Coverage

blib/lib/Crypt/OpenPGP/Digest.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
23 0 141 unless $alg =~ /^\D/
35 7 10 if ref $_[0]
36 0 10 unless $Crypt::OpenPGP::Digest::ALG{$_[1]}
40 7 0 if ref $_[0]
41 0 0 unless $Crypt::OpenPGP::Digest::ALG_BY_NAME{$_[1]}
49 0 0 if $digest