Branch Coverage

blib/lib/Mail/Transport/SMTP.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
25 0 0 unless ($hosts)
28 0 0 unless @$hosts
35 0 0 unless $self->SUPER::init($args)
55 0 0 unless $self->{'MTS_esmtp_options'}
56 0 0 unless $args{'esmtp_options'}
61 0 0 if ref $from and $from->isa('Mail::Address')
65 0 0 if defined $args{'To'}
70 0 0 unless (@to)
86 0 0 if (wantarray)
89 0 0 unless $server = $self->contactAnyServer
92 0 0 unless $server->mail($from, %send_options)
96 0 0 if $server->to($_)
106 0 0 if (ref $bodydata eq 'GLOB') { }
113 0 0 unless $server->dataend
125 0 0 unless $server = $self->contactAnyServer
127 0 0 unless $server->mail($from, %send_options)
132 0 0 if $server->to($_)
143 0 0 if (ref $bodydata eq 'GLOB') { }
146 0 0 unless $server->dataend
159 0 0 ref $host ? :
167 0 0 unless defined $server
171 0 0 if (defined $username)
172 0 0 if ($server->auth($username, $password)) { }