blib/lib/Crypt/OpenPGP/Cipher.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
25 | 0 | 128 | unless $alg =~ /^\D/ |
31 | 0 | 128 | ref $impl_class eq 'ARRAY' ? : |
34 | 128 | 0 | unless $@ |
38 | 0 | 128 | unless $ciph->{'__impl'} |
45 | 81 | 65 | if ($key) |
63 | 30 | 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) |