Branch Coverage

blib/lib/CAM/EmailTemplate/SMTP.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
79 0 0 if (ref $pkg_or_self) { }
109 0 0 if (not $mailhost) { }
117 0 0 if (not $smtp) { }
131 0 0 if ($header =~ s/^([^:\n]+):[ \t]*([^\n]*)\n//) { }
137 0 0 if ($fieldname =~ /^To|From|Cc|Bcc$/) { }
164 0 0 unless ($error)
166 0 0 if (not $smtp->mail($fields{'From'}[0])) { }
0 0 elsif (not $smtp->to(@{$fields{'To'};})) { }
0 0 elsif (not $smtp->data($content)) { }
182 0 0 unless ($smtp->quit)
189 0 0 $error ? :