Branch Coverage

blib/lib/Net/ACME2/HTTP.pm
Criterion Covered Total %
branch 12 30 40.0


line true false branch
119 0 24 unless $jwt_method
123 0 24 unless $self->{'_acme_key'}
156 0 0 if (eval { do { $err->get('acme')->type =~ /:badNonce\z/ } })
157 0 0 if (not $self->{'_retries_left'}) { }
0 0 elsif ($self->{'_last_nonce'}) { }
203 0 0 if $nonce
211 0 0 if (eval { do { $exc->isa('Net::ACME2::X::HTTP::Protocol') } })
223 0 0 if ($acme_error)
270 0 36 unless ($self->{'_last_nonce'} = $resp->header($_NONCE_HEADER))
283 0 12 unless (my $url = $self->{'_nonce_url'})
301 4 8 if ($key_type eq 'rsa') { }
8 0 elsif ($key_type eq 'ecdsa') { }
315 4 8 unless ($class->can('new'))
327 12 12 $self->{'_last_nonce'} ? :
338 0 24 unless (my $nonce = delete $self->{'_last_nonce'})