Branch Coverage

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


line true false branch
109 0 0 unless ($value =~ /^(\S+)\s+(.+)$/)
122 0 0 unless ($target =~ /^(?:raw|type|cleaned|text|domain)$/)
125 0 0 if ($conf->{'parser'}->is_delimited_regexp_valid($name, $pattern)) { }
138 0 0 if ($added_criteria) { }
164 0 0 if (exists $rule->{'raw'})
166 0 0 if ($op eq '=~' and $raw =~ /$patt/ or $op eq '!~' and not $raw =~ /$patt/) { }
174 0 0 if (exists $rule->{'type'})
175 0 0 unless $info->{'types'}
179 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
182 0 0 unless defined $match
186 0 0 if (exists $rule->{'cleaned'})
187 0 0 unless $info->{'cleaned'}
191 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
194 0 0 unless defined $match
198 0 0 if (exists $rule->{'text'})
199 0 0 unless $info->{'anchor_text'}
203 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
206 0 0 unless defined $match
210 0 0 if (exists $rule->{'domain'})
211 0 0 unless $info->{'domains'}
215 0 0 if ($op eq '=~' and $text =~ /$patt/ or $op eq '!~' and not $text =~ /$patt/)
218 0 0 unless defined $match
222 0 0 if (would_log('dbg', 'rules') > 1)
244 0 0 if ($pattern =~ s/^m(\W)//) { }
249 0 0 unless ($re_delim)
256 0 0 if ($mods)