Branch Coverage

lib/Haineko/SMTPD/Relay/ESMTP.pm
Criterion Covered Total %
branch 11 58 18.9


line true false branch
26 0 1 $$self{'starttls'} ? :
33 1 0 unless utf8::is_utf8($$methodargv{'body'})
43 1 3 if $e eq 'Received'
44 0 3 if $e eq 'MIME-Version'
46 0 3 if (ref $$self{'head'}{$e} eq 'ARRAY') { }
69 0 1 if ($$self{'starttls'})
87 1 0 unless $netsmtpobj = $esmtpclass->new($$self{'host'}, %$smtpparams)
90 0 0 if ($nekogreets->auth and $$self{'auth'})
102 0 0 unless $netsmtpobj->auth($authensasl)
105 0 0 if ($nekogreets->pipelining) { }
109 0 0 if $nekogreets->dsn
110 0 0 if $nekogreets->size
113 0 0 if $nekogreets->dsn
117 0 0 unless $netsmtpobj->datasend($pipelining)
118 0 0 unless $netsmtpobj->dataend
127 0 0 if $nekogreets->dsn
128 0 0 if $nekogreets->size
129 0 0 if keys %$cmdparam
130 0 0 unless $netsmtpobj->mail(@$cmdargvs)
135 0 0 if $nekogreets->dsn
136 0 0 if keys %$cmdparam
137 0 0 unless $netsmtpobj->to(@$cmdargvs)
140 0 0 unless $netsmtpobj->data
141 0 0 unless $netsmtpobj->datasend($mailstring)
142 0 0 unless $netsmtpobj->dataend
152 0 1 if &$sendmailto()
153 1 0 if $retryuntil == 0
155 0 0 if defined $netsmtpobj
160 0 1 if (defined $netsmtpobj) { }