File: | lib/Email/Mailer.pm |
Coverage: | 90.0% |
line | % | coverage | branch | |
---|---|---|---|---|
18 | 100 | T | F | if (not ref $self) { } |
29 | 100 | T | F | if /^(?:to|from|subject|html|text)$/i |
44 | 100 | T | F | if (ref $mail->{'process'} eq 'CODE') |
53 | 100 | T | F | if $mail->{'html'} and not $mail->{'text'} |
73 | 100 | T | F | $_->{'content'} ? : |
75 | 100 | T | F | !$mail->{'attachments'} || ref $mail->{'attachments'} ne 'ARRAY' ? : |
80 | 100 | T | F | if ($mail->{'text'} and not $mail->{'html'} and @$attachments == 0) { } |
50 | T | F | elsif ($mail->{'text'} and not $mail->{'html'}) { } | |
119 | 100 | T | F | ref $_[0] eq 'HASH' ? : |
122 | 50 | T | F | wantarray ? : |