Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/FromNameSpoof.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
126 0 0 unless defined $domain
128 0 0 if ($Mail::SpamAssassin::VERSION <= 3.004) { }
169 0 0 unless ($value =~ /^ \( (.*?) \) \s+ (.*) \z/sx)
185 0 0 unless ($value =~ /^ \( (.*?) \) \s+ (.*) \z/sx)
206 0 0 if ($value eq "")
219 0 0 if ($value eq "")
265 0 0 unless (defined $check_lvl)
311 0 0 if defined $pms->{'fromname_contains_email'}
323 0 0 if ($conf->{'fns_ignore_dkim'}{lc $addr})
330 0 0 if ($pms->get($iheader))
332 0 0 if $pms->get($iheader)
338 0 0 if ($conf->{'fns_addrlists'})
353 0 0 if ($fnd{'addr'} =~ m[\b((?>[\w\.\!\#\$\%\&\'\*\+/\=\?\^\_\`\{\|\}\~\-]+\@[\w\-\.]+\.[\w\-\.]+))\b]i) { }
357 0 0 unless length($fnd{'addr'}) + $nochar - length($1) <= $conf->{'fns_extrachars'}
368 0 0 unless @toaddrs
376 0 0 unless defined $fnd{'domain'} and defined $fad{'domain'}
386 0 0 if $fnd{'addr'} ne $fad{'addr'}
388 0 0 if $fnd{'domain'} ne $fad{'domain'}
390 0 0 if $fnd{'addr'} eq $tod{'addr'}
392 0 0 if $fnd{'addr'} eq $replyto
394 0 0 if ($fnd{'owner'} ne $fad{'owner'})
398 0 0 if ($pms->{'fromname_address_different'})
418 0 0 if ($check =~ /$regexp/)
429 0 0 if ($owner ne $2)