Branch Coverage

blib/lib/Mail/SpamAssassin/Plugin/BodyEval.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
55 0 0 unless exists $pms->{'madiff'}
57 0 0 if ($min == 0 || $pms->{'madiff'} > $min and $max eq 'undef' || $pms->{'madiff'} <= $max)
66 0 0 unless exists $pms->{'madiff'}
67 0 0 unless $pms->{'madiff_html'} > $minhtml
83 0 0 unless @ma
91 0 0 if (@content == 3 and $content[2] eq 'text/calendar' and $content[1] eq 'text/html' and $content[0] eq 'multipart/alternative')
107 0 0 unless defined $type
115 0 0 if ($type eq 'text/html') { }
122 0 0 if (not %html and exists $pms->{'html'}{'inside'}{'img'})
137 0 0 if $orig == 0
146 0 0 if exists $html{$k} and $html{$k} - $text{$k} < 1
156 0 0 if $diff > $pms->{'madiff'}
167 0 0 if (not defined $minlines or $minlines < 1)
173 0 0 unless (exists $blank_line_ratio_ref->{$minlines})
181 0 0 unless /\S/
186 0 0 $nlines < $minlines ? :
199 0 0 if $max >= 100
201 0 0 unless (defined $pms->{'tvd_vertical_words'})
206 0 0 unless $l > 5
210 0 0 if ($spaces > $nonspaces or $nonspaces == 0) { }
216 0 0 if $pct > $pms->{'tvd_vertical_words'}
221 0 0 if $pms->{'tvd_vertical_words'} >= $min and $pms->{'tvd_vertical_words'} < $max
227 0 0 unless exists $pms->{'stock_info'}
229 0 0 if ($min == 0 or $pms->{'stock_info'} >= $min)
241 0 0 unless @parts
247 0 0 unless $type
260 0 0 if ($str =~ /( ^trad(?:e|ing)date| company(?:name)?| s\w?(?:t\w?o\w?c\w?k|y\w?m(?:\w?b\w?o\w?l)?)| t(?:arget|icker)| (?:opening|current)p(?:rice)?| p(?:rojected|osition)| expectations| weeks?high| marketperformance| (?:year|week|month|day|price)(?:target|estimates?)| sector| r(?:ecommendation|ating) )$/x)
292 0 0 defined $body_length && $body_length <= $min ? :