Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/FromNameSpoof.pm
Criterion Covered Total %
branch 0 46 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 '')
309 0 0 if defined $pms->{'fromname_contains_email'}
321 0 0 if ($conf->{'fns_ignore_dkim'}{lc $addr})
328 0 0 if ($pms->get($iheader))
330 0 0 if $pms->get($iheader)
336 0 0 if ($conf->{'fns_addrlists'})
351 0 0 if ($fnd{'addr'} =~ m[\b([\w\.\!\#\$\%\&\'\*\+/\=\?\^\_\`\{\|\}\~\-]+\@[\w\-\.]+\.[\w\-\.]++)\b]i) { }
355 0 0 unless length($fnd{'addr'}) + $nochar - length($1) <= $conf->{'fns_extrachars'}
366 0 0 unless @toaddrs
374 0 0 unless defined $fnd{'domain'} and defined $fad{'domain'}
384 0 0 if $fnd{'addr'} ne $fad{'addr'}
386 0 0 if $fnd{'domain'} ne $fad{'domain'}
388 0 0 if $fnd{'addr'} eq $tod{'addr'}
390 0 0 if $fnd{'addr'} eq $replyto
392 0 0 if ($fnd{'owner'} ne $fad{'owner'})
396 0 0 if ($pms->{'fromname_address_different'})
416 0 0 if ($check =~ /$regexp/)
427 0 0 if ($owner ne $2)