Branch Coverage

blib/lib/Mojolicious/Plugin/EmailMailer.pm
Criterion Covered Total %
branch 12 38 31.5


line true false branch
21 1 0 if ($conf->{'how'})
39 2 3 if defined $args{'text'} and not defined $args{'html'}
51 2 1 unless defined $args{'mail'} and defined $args{'send'}
53 1 0 if defined $args{'mail'}{'text'} and not defined $args{'mail'}{'html'}
56 0 3 if defined $mail->{'text'} and not defined $mail->{'html'}
70 2 0 if $bytestream
77 1 0 if $lower eq "sendmail"
78 0 0 if $lower eq "smtp"
79 0 0 if $lower eq "smtp::persistent"
80 0 0 if $lower eq "maildir"
81 0 0 if $lower eq "mbox"
82 0 0 if $lower eq "print"
83 0 0 if $lower eq "wrapper"
84 0 0 if $lower eq "test"
85 0 0 if $lower eq "devnull"
86 0 0 if $lower eq "failable"
93 3 0 unless defined $ct
94 3 0 unless defined $cte
98 0 3 unless $encoding eq "utf8"