Branch Coverage

lib/Mail/DMARC/Report/Aggregate/Record/Auth_Results/SPF.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
13 0 64 if (0 == scalar @args)
18 7 57 if scalar @args > 1
21 10 47 if ref $spf eq $class
23 47 0 if "HASH" eq ref $spf
29 0 53 if 1 == scalar @_
34 0 53 if 1 == scalar @_
35 0 53 unless $_[0]->is_valid_spf_result($_[1])
40 0 53 if 1 == scalar @_
41 0 53 unless $_[0]->is_valid_spf_scope($_[1])
50 0 160 if $key eq "scope" and not $args{$key}
66 159 0 if $self->{$f}
67 0 0 if ($f ne "scope")
74 0 53 if ($self->{'result'} =~ /^pass$/i and not $self->{'domain'})