Branch Coverage

blib/lib/Mail/Qmail/Filter.pm
Criterion Covered Total %
branch 1 30 3.3


line true false branch
23 1 0 unless $feedback_fh = "IO::Handle"->new_from_fd(4, "w")
52 0 0 unless (&blessed($filter))
53 0 0 if @_ and "HASH" eq ref $_[0]
54 0 0 if $filter =~ /^::/u
56 0 0 if length $@
77 0 0 unless state $message = "MailX::Qmail::Queue::Message"->receive
84 0 0 $self->defer_only ? :
92 0 0 if (exists $ENV{'RELAYCLIENT'} and $self->skip_if_relayclient)
97 0 0 if (my $skip_for_sender = $self->skip_for_sender)
98 0 0 if (match_address($skip_for_sender, my $sender = $self->message->from))
109 0 0 if (my $skip_for_from = $self->skip_for_from and my $from = $self->message->header_from)
112 0 0 if (match_address($skip_for_from, $from = $from->address))
118 0 0 if (my $skip_for_rcpt = $self->skip_for_rcpt)
120 0 0 unless match_address($skip_for_rcpt, $_)
134 0 0 if ref $reject_text and "CODE" eq ref $reject_text