Branch Coverage

blib/lib/Mail/SPF/Result.pm
Criterion Covered Total %
branch 12 38 31.5


line true false branch
156 1 4 ref $self ? :
162 5 0 if @args
164 0 5 unless defined $self->{'server'}
165 5 0 if @args
167 0 5 unless defined $self->{'request'}
168 3 2 if @args
237 8 1 defined $name ? :
254 2 4 unless defined $suspect_class
374 0 0 if defined $local_explanation
380 0 0 if (defined $local_explanation) { }
389 0 0 $request == $root_request ? :
409 0 0 if defined $self->{'received_spf_header'}
424 0 0 $self->{'request'}->scope ne 'helo' && defined $self->{'request'}->helo_identity ? :
429 0 0 if defined $info_string
430 0 0 unless ($value =~ m[^${\qr/ ((?^:[\p{IsAlnum}!#\$%&'*+\-\/=?^_`{|}~]))+ ( \. ((?^:[\p{IsAlnum}!#\$%&'*+\-\/=?^_`{|}~]))+ )* /ux;}$]o)
546 0 0 if defined $authority_explanation
555 0 0 if (defined $authority_explanation_macrostring)
560 0 0 if (defined $authority_explanation and utf8::is_utf8($authority_explanation))
569 0 0 unless (defined $authority_explanation)