line |
true |
false |
branch |
28
|
0 |
10 |
if ref $class |
34
|
1 |
2 |
if $_[1] eq 'v=spf1' |
43
|
0 |
0 |
if defined $_[2] |
45
|
61 |
0 |
defined $_[1] ? : |
72
|
2 |
4 |
if $_[1] =~ /ip[46]/i |
74
|
0 |
6 |
if $_[1] =~ /\A(exists|include)\Z/i |
77
|
1 |
5 |
$_[1] =~ /all/i ? : |
81
|
4 |
19 |
if $_[2] =~ /ip[46]/i |
83
|
2 |
21 |
if $_[2] =~ /\A(exists|include)\Z/i |
86
|
5 |
18 |
$_[2] =~ /all/i ? : |
92
|
1 |
6 |
if $_[1] =~ /all/i |
101
|
1 |
13 |
if $_[2] =~ /all/i |
114
|
2 |
2 |
if $_[1] =~ /ip[46]/i |
117
|
2 |
2 |
if $_[1] =~ /\A(ptr|all|exists|include)\Z/i |
126
|
0 |
6 |
if $_[2] =~ /ip[46]/i |
129
|
4 |
2 |
if $_[2] =~ /\A(ptr|all|exists|include)\Z/i |
142
|
2 |
3 |
if $_[1] =~ /\A(ptr|all|exists|include)\Z/i |
151
|
4 |
2 |
if $_[2] =~ /\A(ptr|all|exists|include)\Z/i |
164
|
6 |
2 |
if $_[1] =~ /\A(a|mx|ptr|all|exists|include)\Z/i |
173
|
5 |
5 |
if $_[2] =~ /\A(a|mx|ptr|all|exists|include)\Z/i |
182
|
1 |
3 |
if $_[1] =~ /\A(a|mx|ptr|all|exists|include)\Z/i |
191
|
11 |
3 |
if $_[2] =~ /\A(a|mx|ptr|all|exists|include)\Z/i |
217
|
0 |
57 |
unless exists $errors{$code} |
236
|
8 |
49 |
unless (exists $self->YYData->{'ERRMSG'}) |
253
|
3 |
486 |
if s/^(v\=spf\d)\b//i |
256
|
39 |
447 |
if s[^(/)\b][]i |
258
|
69 |
378 |
if s/^(\:)\b//i |
260
|
1 |
377 |
if s/^(\=)\b//i |
264
|
74 |
303 |
if s/^([-~\+\?])\b//i |
268
|
108 |
195 |
if s/^(all|ptr|a|mx|ip4|ip6|exists|include)\b//i |
272
|
0 |
195 |
if s/^(redirect|exp)\b//i |
275
|
36 |
159 |
if s/^($Validate::SPF::Parser::RE{'net'}{'IPv4'}{'dec'}|$Validate::SPF::Parser::RE{'net'}{'IPv6'}{join $;, -'sep', ':'})\b//i |
278
|
32 |
127 |
if s/^([_\.a-z\d][\-a-z\d]*\.[\.\-a-z\d]*[a-z\d]?)\b//i |
281
|
39 |
88 |
if s/^(\d{1,3})\b//i |
285
|
7 |
81 |
if s/^(.+)\b//i |
298
|
0 |
0 |
$domain ? : |
324
|
65 |
42 |
$domain ? : |
|
18 |
18 |
defined $bitmask ? : |
|
36 |
71 |
$ipaddr ? : |
|
39 |
68 |
defined $bitmask ? : |