blib/lib/Mail/BIMI/Record/Location.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
24 | 4 | 30 | if (not defined $self->uri) { } |
3 | 27 | elsif ($self->uri eq '') { } | |
2 | 25 | elsif (not $self->uri =~ m[^https://]u) { } | |
36 | 9 | 25 | if @{$self->errors} |
41 | 6 | 25 | unless $self->is_location_valid |
42 | 0 | 25 | unless ($self->indicator->is_valid) |
46 | 0 | 25 | if @{$self->errors} |
52 | 6 | 25 | unless $self->is_location_valid |
53 | 0 | 25 | unless $self->is_relevant |
59 | 8 | 6 | if $self->indicator |