Branch Coverage

blib/lib/Mail/SpamFilter.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
206 0 0 if ($msg =~ s/\n(\n.*)/\n/s) { }
220 0 0 unless @filters
243 0 0 unless @filters
248 0 0 unless $FILTER_CMD{$filter}
251 0 0 unless (open $in_fh, '-|')
252 0 0 unless open $out_fh, "|$FILTER_CMD{$filter}"
260 0 0 if $output eq ''
274 0 0 unless $type eq 'spam' or $type eq 'good'
280 0 0 if ($type eq 'spam') { }
285 0 0 unless $cmd
286 0 0 unless open my $out_fh, "|$cmd"
287 0 0 if (grep {$filter eq $_;} @KEEP_TAG_CMDS) { }
292 0 0 unless close $out_fh
305 0 0 if (ref $msg eq 'HASH') { }
315 0 0 if ($$tags{$filter} =~ /$FILTER_SPAM_TAG{$filter}/)
319 0 0 if ($$tags{$filter} =~ /$FILTER_GOOD_TAG{$filter}/)