Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/URIDetail.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
109 0 0 unless ($value =~ /^(\S+)\s+(.+)$/)
122 0 0 unless ($target =~ /^(?:raw|type|cleaned|text|domain)$/)
127 0 0 unless ($rec)
138 0 0 if ($added_criteria) { }
165 0 0 if (exists $rule->{'raw'})
167 0 0 if ($op eq '=~' and $raw =~ /$patt/ or $op eq '!~' and not $raw =~ /$patt/) { }
175 0 0 if (exists $rule->{'type'})
176 0 0 unless $info->{'types'}
180 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
183 0 0 unless defined $match
187 0 0 if (exists $rule->{'cleaned'})
188 0 0 unless $info->{'cleaned'}
192 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
195 0 0 unless defined $match
199 0 0 if (exists $rule->{'text'})
200 0 0 unless $info->{'anchor_text'}
204 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
207 0 0 unless defined $match
211 0 0 if (exists $rule->{'domain'})
212 0 0 unless $info->{'domains'}
216 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
219 0 0 unless defined $match
223 0 0 if (would_log('dbg', 'rules') > 1)