Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/ReplaceTags.pm
Criterion Covered Total %
branch 2 38 5.2


line true false branch
90 808 0 unless $conf->{'rules_to_replace'}{$rule}
92 0 0 if (would_log('dbg', 'replacetags') > 1)
106 0 0 if ($re =~ s/${start}pre (.+?)$end//)
109 0 0 if ($re =~ s/${start}post (.+?)$end//)
112 0 0 if ($re =~ s/${start}inter (.+?)$end//)
120 0 0 if ($pre_name)
122 0 0 if ($pre)
126 0 0 if ($post_name)
128 0 0 if ($post)
132 0 0 if ($inter_name)
134 0 0 if ($inter)
139 0 0 if ($re[$i] =~ /$start(.+?)$end/g)
142 0 0 if ($tag_name)
144 0 0 if ($replacement)
146 0 0 if not $doagain and $replacement =~ /<[^>]+>/
157 0 0 if (would_log('dbg', 'replacetags') > 1)
168 63 0 unless ($conf->{'allow_user_rules'})
256 0 0 unless (defined $value and not $value =~ /^$/)
259 0 0 unless ($value =~ /\S+/)