File: | lib/Email/Mailer.pm |
Coverage: | 56.0% |
line | % | coverage | condition | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46 | 50 |
| $mail->{'data'} || {} | ||||||||||||||||||||||||||||||
53 | 100 |
| $mail->{'html'} and not $mail->{'text'} | ||||||||||||||||||||||||||||||
73 | 33 |
| $_->{'name'} || $_->{'filename'} || $_->{'source'} | ||||||||||||||||||||||||||||||
50 |
| $_->{'ctype'} || 'application/octet-stream' | |||||||||||||||||||||||||||||||
33 |
| $_->{'name'} || $_->{'filename'} || $_->{'source'} | |||||||||||||||||||||||||||||||
75 | 67 |
| !$mail->{'attachments'} || ref $mail->{'attachments'} ne 'ARRAY' | ||||||||||||||||||||||||||||||
80 | 20 |
| $mail->{'text'} and not $mail->{'html'} and @$attachments == 0 |