Branch Coverage

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


line true false branch
61 1 0 unless @_
66 0 0 unless &is_exe($exe)
75 0 0 ref $thing ? :
88 0 0 if -x $name and not -d $name and $name =~ m[[\\/]]
91 15 0 if (defined $ENV{'PATH'})
93 0 135 if -x "$dir/$name" and not -d "$dir/$name"
105 1 0 unless ($type)
106 0 1 unless $MailerType
108 1 0 if $MailerType eq 'testfile'
116 0 1 if (defined $exe)
117 0 0 if defined $type
120 0 0 unless $exe ||= $MailerBinary
125 0 1 unless eval "require $class"
143 0 0 if (defined $exe) { }
146 0 0 unless defined $child
148 0 0 if ($child == 0)
151 0 0 unless ($self->exec($exe, $args, \@to, $sender))
159 0 0 unless $self->exec(undef, $args, \@to)
169 0 0 ref $h ? :
189 0 0 unless ($self->can_cc)
190 0 0 if $hdrs->{'Cc'}
191 0 0 if $hdrs->{'Bcc'}
207 0 0 unless fileno $self