Branch Coverage

blib/lib/Crypt/OpenPGP/Cipher.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
25 0 12 unless $alg =~ /^\D/
31 0 12 ref $impl_class eq 'ARRAY' ? :
34 6 6 unless $@
36 6 6 unless $$ciph{'__impl'}
45 2 1 if ($key)
63 2 0 if ref $_[0]
64 0 0 unless $Crypt::OpenPGP::Cipher::ALG_BY_NAME{$_[1]}
71 0 0 if $cipher
83 2 1 if ($key)