Branch Coverage

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


line true false branch
131 0 7 if (@missing)
140 7 0 if ($opts{'issuer'}) { }
174 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')) { }
182 0 3 unless (my $sign_cr = $signer_key->can("sign_RS$digest_length"))
210 0 6 unless ($_[0] =~ /\Asha(224|256|384|512)\z/)
220 0 7 unless ($self->{'_signed'})
236 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')) { }
253 6 1 if ($self->{'_extensions'})
277 6 1 $extns_bin ? :