Branch Coverage

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


line true false branch
108 0 0 unless ($content)
114 0 0 unless ($content =~ /\n$/s)
120 0 0 unless ($content =~ /^(.*\n)\n/s)
129 0 0 unless ($header =~ /^$fieldname\s+(\S+.*?)$/m)
136 0 0 unless ($addr =~ /^\s*[^\@]+\@[^\@]+\s*$/ or $addr =~ /^\s*[^,<\@]*<[^\@]+\@[^\@]+>\s*/)
144 0 0 unless ($header =~ /^Subject: /m)
152 0 0 if ($success) { }
186 0 0 if (not $sendmail) { }
195 0 0 if ($$self{'envelopeSender'})
199 0 0 if (not open(MAIL, "| $cmd")) { }
207 0 0 unless (close MAIL)
213 0 0 $error ? :
222 0 0 unless ($global_sendmail_path)
225 0 0 if (-x $try)