Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/Phishing.pm
Criterion Covered Total %
branch 2 34 5.8


line true false branch
106 0 61 if (defined $conf->{'phishing_openphish_feed'} and -f $conf->{'phishing_openphish_feed'})
111 0 0 if /^\s*\#/
113 0 0 if (defined $phishdomain)
119 0 0 $! == 9 ? :
0 0 unless defined $_ or $! == 0
122 0 0 unless close F
125 0 61 if (defined $conf->{'phishing_phishtank_feed'} and -f $conf->{'phishing_phishtank_feed'})
129 0 0 if $. eq 1
132 0 0 if /^\s*\#/
138 0 0 if (defined $phishdomain)
144 0 0 $! == 9 ? :
0 0 unless defined $_ or $! == 0
147 0 0 unless close F
162 0 0 if $uri =~ /^mailto:/i
165 0 0 unless $info->{'hosts'}
166 0 0 if ($info->{'types'}{'a'} or $info->{'types'}{'parsed'})
169 0 0 if (exists $self->{'PHISHING'}{$cluri})