Condition Coverage

blib/lib/Emailesque.pm
Criterion Covered Total %
condition 9 45 20.0


and 3 conditions

line !l l&&!r l&&r condition
929 0 0 9 $name and not defined $headers->{$name}
971 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
977 0 0 0 $type and $type eq 'html'
978 0 0 0 $type and $type eq 'text'

or 2 conditions

line l !l condition
892 0 0 $self->{'headers'} //= {}
901 6 0 $self->{'headers'} //= {}
912 3 0 $options // {}
923 0 3 $email->{'headers'} //= {}
1040 0 0 $path ||= '/usr/bin/sendmail'
1041 0 0 $path ||= '/usr/sbin/sendmail'

or 3 conditions

line l !l&&r !l&&!r condition
890 0 0 0 $headers{$name} // $name
971 0 0 3 $type and lc $type eq 'multi' or $html_msg and $text_msg
1035 0 0 0 $sendmail or $smtpmail
1065 0 0 0 $map{$key} // $key