Branch Coverage

lib/Crypt/Perl/X509v3.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
129 0 7 if (@missing)
138 7 0 if ($opts{'issuer'}) { }
172 3 4 if ($signer_key->isa('Crypt::Perl::ECDSA::PrivateKey')) { }
3 1 elsif ($signer_key->isa('Crypt::Perl::RSA::PrivateKey')) { }
1 0 elsif ($signer_key->isa('Crypt::Perl::Ed25519::PrivateKey')) { }
184 0 3 unless (my $sign_cr = $signer_key->can("sign_RS$digest_length"))
212 0 6 unless ($_[0] =~ /\Asha(224|256|384|512)\z/)
222 0 7 unless ($self->{'_signed'})
238 3 4 if ($self->{'_key'}->isa('Crypt::Perl::ECDSA::PublicKey')) { }
3 1 elsif ($self->{'_key'}->isa('Crypt::Perl::RSA::PublicKey')) { }
1 0 elsif ($self->{'_key'}->isa('Crypt::Perl::Ed25519::PublicKey')) { }
255 6 1 if ($self->{'_extensions'})
279 6 1 $extns_bin ? :