Branch Coverage

blib/lib/Mail/Qmail/Filter.pm
Criterion Covered Total %
branch 1 32 3.1


line true false branch
23 1 0 unless $feedback_fh = "IO::Handle"->new_from_fd(4, "w")
53 0 0 unless (&blessed($filter))
54 0 0 if @_ and "HASH" eq ref $_[0]
55 0 0 if $filter =~ /^::/u
57 0 0 if length $@
78 0 0 unless state $message = "MailX::Qmail::Queue::Message"->receive
85 0 0 $self->defer_only ? :
93 0 0 if $self->skip_if and $self->skip_if->($self)
95 0 0 if (exists $ENV{'RELAYCLIENT'} and $self->skip_if_relayclient)
100 0 0 if (my $skip_for_sender = $self->skip_for_sender)
101 0 0 if (match_address($skip_for_sender, my $sender = $self->message->from))
112 0 0 if (my $skip_for_from = $self->skip_for_from and my $from = $self->message->header_from)
115 0 0 if (match_address($skip_for_from, $from = $from->address))
121 0 0 if (my $skip_for_rcpt = $self->skip_for_rcpt)
123 0 0 unless match_address($skip_for_rcpt, $_)
137 0 0 if ref $reject_text and "CODE" eq ref $reject_text