Branch Coverage

blib/lib/Mail/BIMI/Record/Authority.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
21 5 3 unless defined $self->uri
22 1 2 if $self->uri eq ''
23 1 1 if $self->uri eq 'self'
24 1 0 unless ($self->uri =~ m[^https://]u)
28 1 0 if @{$self->errors}
34 66 9 unless defined $self->uri
35 6 3 if $self->uri eq ''
36 2 1 if $self->uri eq 'self'
37 0 1 if $self->bimi_object->options->no_validate_cert
43 1 2 unless $self->is_authority_valid
44 0 2 if ($self->is_relevant and not $self->vmc->is_valid)
48 0 2 if @{$self->errors}
54 0 5 unless $self->is_authority_valid
55 5 0 unless $self->is_relevant
63 0 5 if $self->vmc