Branch Coverage

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


line true false branch
59 0 0 unless exists $pms->{'madiff'}
61 0 0 if ($min == 0 || $pms->{'madiff'} > $min and $max eq 'undef' || $pms->{'madiff'} <= $max)
70 0 0 unless exists $pms->{'madiff'}
71 0 0 unless $pms->{'madiff_html'} > $minhtml
87 0 0 unless @ma
95 0 0 if (@content == 3 and $content[2] eq "text/calendar" and $content[1] eq "text/html" and $content[0] eq "multipart/alternative")
111 0 0 unless defined $type
119 0 0 if ($type eq 'text/html') { }
126 0 0 if (not %html and exists $pms->{'html'}{'inside'}{'img'})
141 0 0 if $orig == 0
150 0 0 if exists $html{$k} and $html{$k} - $text{$k} < 1
160 0 0 if $diff > $pms->{'madiff'}
171 0 0 if (not defined $minlines or $minlines < 1)
177 0 0 unless (exists $blank_line_ratio_ref->{$minlines})
185 0 0 unless /\S/
190 0 0 $nlines < $minlines ? :
203 0 0 if $max >= 100
205 0 0 unless (defined $pms->{'tvd_vertical_words'})
210 0 0 unless $l > 5
214 0 0 if ($spaces > $nonspaces or $nonspaces == 0) { }
220 0 0 if $pct > $pms->{'tvd_vertical_words'}
225 0 0 if $pms->{'tvd_vertical_words'} >= $min and $pms->{'tvd_vertical_words'} < $max
231 0 0 unless exists $pms->{'stock_info'}
233 0 0 if ($min == 0 or $pms->{'stock_info'} >= $min)
245 0 0 unless @parts
251 0 0 unless $type
264 0 0 if ($str =~ /(
296 0 0 defined $body_length && $body_length <= $min ? :
314 0 0 defined $len && $len >= $min && (defined $max ? $len <= $max : 1) ? :
326 0 0 defined $len && $len >= $min && (defined $max ? $len <= $max : 1) ? :
338 0 0 defined $len && $len >= $min && (defined $max ? $len <= $max : 1000000) ? :
346 0 0 if exists $pms->{'plaintext_body_sig_ratio'}
356 0 0 unless defined $part
365 0 0 unless (defined $len_b)
373 0 0 $len_s ? :