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 ref $bodydata eq 'GLOB' ? :
107 0 0 unless $server->dataend
119 0 0 unless $server = $self->contactAnyServer
121 0 0 unless $server->mail($from, %send_options)
126 0 0 if $server->to($_)
137 0 0 ref $bodydata eq 'GLOB' ? :
139 0 0 unless $server->dataend
152 0 0 ref $host ? :
160 0 0 unless defined $server
164 0 0 if (defined $username)
165 0 0 if ($server->auth($username, $password)) { }