Branch Coverage

blib/lib/Net/ACME2/HTTP.pm
Criterion Covered Total %
branch 9 24 37.5


line true false branch
40 0 2 unless $opts{'key'}
103 0 2 unless $self->{'_acme_key'}
141 0 4 if (ref $@ or $@)
144 0 0 if (eval { do { $exc->isa('Net::ACME2::X::HTTP::Protocol') } })
149 0 0 if $nonce
159 0 0 if ($acme_error)
193 0 3 unless ($self->{'_last_nonce'} = $resp->header($_NONCE_HEADER))
203 0 1 unless (my $url = $self->{'_nonce_url'})
217 1 1 unless $self->{'_last_nonce'}
222 1 0 if ($self->{'_acme_key'}->isa('Crypt::Perl::RSA::PrivateKey')) { }
0 0 elsif ($self->{'_acme_key'}->isa('Crypt::Perl::ECDSA::PrivateKey')) { }
236 1 0 unless ($class->can('new'))