Branch Coverage

lib/Crypt/Perl/PK.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
46 1 21 if (ref $der_or_pem)
65 20 22 if $obj
74 1 8 if ("HASH" ne ref $hr)
80 7 1 if ($kty)
83 2 5 if ($kty eq 'RSA') { }
2 3 elsif ($kty eq 'OKP') { }
2 1 elsif ($kty eq 'EC') { }
88 1 1 if ($hr->{'crv'} ne "Ed25519")