line |
l |
!l&&r |
!l&&!r |
condition |
357
|
12 |
0 |
0 |
($opts{$name} &&= JSON::true()) ||= JSON::false() |
590
|
1 |
1 |
0 |
$self->{'_key_thumbprint'} ||= $self->_key_obj->get_jwk_thumbprint |
596
|
48 |
18 |
0 |
$self->{'_directory_promise'} ||= do {
my $dir_path = $self->DIRECTORY_PATH;
my $http = $self->{'_http'};
Net::ACME2::PromiseUtil::then($self->{'_http'}->get("https://$self->{'_host'}$dir_path"), sub {
my $dir_hr = (shift())->content_struct;
unless (my $new_nonce_url = $dir_hr->{'newNonce'}) {
_die_generic("Directory lacks \342\200\234newNonce\342\200\235.");
};
$http->set_new_nonce_url($new_nonce_url);
return $dir_hr;
}
)
} |
648
|
1 |
13 |
0 |
$self->{'_key_obj'} ||= 'Net::ACME2::AccountKey'->new($self->{'_key'}) |