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')) { }
186 0 3 unless (my $sign_cr = $signer_key->can("sign_RS$digest_length"))
214 0 6 unless ($_[0] =~ /\Asha(224|256|384|512)\z/)
224 0 7 unless ($self->{'_signed'})
240 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')) { }
257 6 1 if ($self->{'_extensions'})
281 6 1 $extns_bin ? :