Branch Coverage

blib/lib/Mojolicious/Plugin/EmailMailer.pm
Criterion Covered Total %
branch 13 38 34.2


line true false branch
21 1 0 if ($conf->{'how'})
39 2 3 if defined $args{'text'} and not defined $args{'html'}
52 2 1 unless defined $args{'mail'} and defined $args{'send'}
54 1 0 if defined $args{'mail'}{'text'} and not defined $args{'mail'}{'html'}
58 0 3 if defined $mail->{'text'} and not defined $mail->{'html'}
73 2 0 if $bytestream
80 1 0 if $lower eq 'sendmail'
81 0 0 if $lower eq 'smtp'
82 0 0 if $lower eq 'smtp::persistent'
83 0 0 if $lower eq 'maildir'
84 0 0 if $lower eq 'mbox'
85 0 0 if $lower eq 'print'
86 0 0 if $lower eq 'wrapper'
87 0 0 if $lower eq 'test'
88 0 0 if $lower eq 'devnull'
89 0 0 if $lower eq 'failable'
96 3 0 unless defined $ct
97 3 0 unless defined $cte
109 13 14 if $key