Branch Coverage

blib/lib/Mail/BIMI/VMC/Chain.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
30 0 0 unless $self->vmc
34 0 0 unless ($ssl_root_cert)
48 0 0 if ($cert->is_expired)
52 0 0 unless ($cert->is_valid)
56 0 0 unless ($cert->has_valid_usage)
65 0 0 if (not $is_valid) { }
82 0 0 unless $validated_cert->is_valid_to_root
86 0 0 if $validating_cert->is_valid_to_root
88 0 0 if ($validating_cert->is_expired)
92 0 0 unless ($validating_cert->is_valid)
107 0 0 unless ($self->vmc->is_valid_to_root)
111 0 0 if ($unlink_root_cert_file and -f $ssl_root_cert)
112 0 0 unless unlink $ssl_root_cert
115 0 0 if @{$self->errors}
124 0 0 unless $x509_object
126 0 0 unless $exts
127 0 0 if ($cert->has_valid_usage and exists $$exts{&LOGOTYPE_OID})
129 0 0 if $vmc
133 0 0 unless ($vmc)
155 0 0 $self->is_valid ? :
160 0 0 $cert->is_valid ? :
161 0 0 if ($obj)
166 0 0 $obj->checkend(0) ? :
168 0 0 if ($exts) { }
169 0 0 exists $exts->{'2.5.29.17'} ? :
171 0 0 exists $$exts{&LOGOTYPE_OID} ? :
176 0 0 $cert->has_valid_usage ? :
178 0 0 $cert->validated_by_id == 0 ? :
0 0 $cert->is_valid_to_root ? :
179 0 0 $cert->is_valid ? :