Condition Coverage

blib/lib/Net/ACME2/HTTP.pm
Criterion Covered Total %
condition 4 9 44.4


or 3 conditions

line l !l&&r !l&&!r condition
44 0 19 0 $opts{'ua'} ||= do { $is_sync = 1; require Net::ACME2::HTTP_Tiny; 'Net::ACME2::HTTP_Tiny'->new('verify_SSL', $verify_SSL) }
134 0 24 0 $opts_hr || ()
296 12 12 0 $self->{'_jwt_maker'} ||= do { my $class; my $key_type = $self->{'_acme_key'}->get_type; if ($key_type eq 'rsa') { $class = 'Net::ACME2::JWTMaker::RSA'; } elsif ($key_type eq 'ecdsa') { $class = 'Net::ACME2::JWTMaker::ECC'; } else { die 'Net::ACME2::X'->create('Generic', "Unrecognized key type: \342\200\234$key_type\342\200\235"); } ; unless ($class->can('new')) { require Module::Runtime; &Module::Runtime::use_module($class); } ; $class->new('key', $self->{'_acme_key'}) }