Branch Coverage

blib/lib/Mail/Mailer.pm
Criterion Covered Total %
branch 8 46 17.3


line true false branch
65 1 0 unless @_
70 0 0 unless &is_exe($exe)
79 0 0 ref $thing ? :
92 0 0 if -x $name and not -d $name and $name =~ m[[\\/]]
95 15 0 if (defined $ENV{'PATH'})
97 0 135 if -x "$dir/$name" and not -d "$dir/$name"
109 1 0 unless ($type)
110 0 1 unless $MailerType
112 1 0 if $MailerType eq 'testfile'
120 0 1 if (defined $exe)
121 0 0 if defined $type
124 0 0 unless $exe ||= $MailerBinary
129 0 1 unless eval "require $class"
147 0 0 if (defined $exe) { }
150 0 0 unless defined $child
152 0 0 if ($child == 0)
155 0 0 unless ($self->exec($exe, $args, \@to, $sender))
163 0 0 unless $self->exec(undef, $args, \@to)
173 0 0 ref $h ? :
193 0 0 unless ($self->can_cc)
194 0 0 if $hdrs->{'Cc'}
195 0 0 if $hdrs->{'Bcc'}
211 0 0 unless fileno $self