Branch Coverage

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


line true false branch
21 11 6 unless defined $self->uri
22 4 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 78 24 unless defined $self->uri
35 21 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 14 unless $self->is_authority_valid
55 14 0 unless $self->is_relevant
63 0 14 if $self->vmc