| blib/lib/Emailesque.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 45 | 20.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 929 | 0 | 0 | 9 | $name and not defined $headers->{$name} |
| 972 | 3 | 0 | 0 | $type and lc $type eq 'multi' |
| 3 | 0 | 0 | $html_msg and $text_msg | |
| 3 | 0 | 0 | $type and lc $type ne 'multi' | |
| 3 | 0 | 0 | $type and lc $type ne 'multi' and $message | |
| 978 | 0 | 0 | 0 | $type and $type eq 'html' |
| 979 | 0 | 0 | 0 | $type and $type eq 'text' |
| line | l | !l | condition |
|---|---|---|---|
| 892 | 0 | 0 | $self->{'headers'} //= {} |
| 901 | 6 | 0 | $self->{'headers'} //= {} |
| 912 | 3 | 0 | $options // {} |
| 923 | 0 | 3 | $email->{'headers'} //= {} |
| 1041 | 0 | 0 | $path ||= '/usr/bin/sendmail' |
| 1042 | 0 | 0 | $path ||= '/usr/sbin/sendmail' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 890 | 0 | 0 | 0 | $headers{$name} // $name |
| 972 | 0 | 0 | 3 | $type and lc $type eq 'multi' or $html_msg and $text_msg |
| 1036 | 0 | 0 | 0 | $sendmail or $smtpmail |
| 1066 | 0 | 0 | 0 | $map{$key} // $key |