Branch Coverage

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


line true false branch
112 0 0 unless ($value =~ /^(\S+)\s+(.+)$/)
125 0 0 unless ($target =~ /^(?:raw|type|cleaned|text|domain|host)$/)
130 0 0 unless ($rec)
141 0 0 if ($added_criteria) { }
168 0 0 if (exists $rule->{'raw'})
170 0 0 if ($op eq '=~' and $raw =~ /$patt/ or $op eq '!~' and not $raw =~ /$patt/) { }
178 0 0 if (exists $rule->{'type'})
179 0 0 unless $info->{'types'}
183 0 0 if ($op eq "=~" and $text =~ /$patt/ or $op eq "!~" and not $text =~ /$patt/)
186 0 0 unless defined $match
190 0 0 if (exists $rule->{'cleaned'})
191 0 0 unless $info->{'cleaned'}
195 0 0 if ($op eq "=~" and $text =~ /$patt/ or $op eq "!~" and not $text =~ /$patt/)
198 0 0 unless defined $match
202 0 0 if (exists $rule->{'text'})
203 0 0 unless $info->{'anchor_text'}
207 0 0 if ($op eq "=~" and $text =~ /$patt/ or $op eq "!~" and not $text =~ /$patt/)
210 0 0 unless defined $match
214 0 0 if (exists $rule->{'domain'})
215 0 0 unless $info->{'domains'}
219 0 0 if ($op eq "=~" and $text =~ /$patt/ or $op eq "!~" and not $text =~ /$patt/)
222 0 0 unless defined $match
226 0 0 if (exists $rule->{'host'})
227 0 0 unless $info->{'hosts'}
231 0 0 if ($op eq "=~" and $text =~ /$patt/ or $op eq "!~" and not $text =~ /$patt/)
234 0 0 unless defined $match
238 0 0 if (would_log("dbg", "rules") > 1)