Branch Coverage

lib/Haineko/SMTPD/Relay/MX.pm
Criterion Covered Total %
branch 10 52 19.2


line true false branch
35 2 0 unless utf8::is_utf8($$methodargv{'body'})
45 2 6 if $e eq 'Received'
46 0 6 if $e eq 'MIME-Version'
48 0 6 if (ref $$self{'head'}{$e} eq 'ARRAY') { }
82 2 0 unless $netsmtpobj = 'Net::SMTP'->new($$self{'host'}, %$smtpparams)
85 0 0 if ($nekogreets->pipelining) { }
89 0 0 if $nekogreets->dsn
90 0 0 if $nekogreets->size
93 0 0 if $nekogreets->dsn
97 0 0 unless $netsmtpobj->datasend($pipelining)
98 0 0 unless $netsmtpobj->dataend
107 0 0 if $nekogreets->dsn
108 0 0 if $nekogreets->size
109 0 0 if keys %$cmdparam
110 0 0 unless $netsmtpobj->mail(@$cmdargvs)
115 0 0 if $nekogreets->dsn
116 0 0 if keys %$cmdparam
117 0 0 unless $netsmtpobj->to(@$cmdargvs)
120 0 0 unless $netsmtpobj->data
121 0 0 unless $netsmtpobj->datasend($mailstring)
122 0 0 unless $netsmtpobj->dataend
136 2 0 unless scalar @$exchangers
141 0 2 if &$sendmailto()
142 2 0 if $retryuntil == 0
144 0 0 if defined $netsmtpobj
149 0 2 if (defined $netsmtpobj) { }