Branch Coverage

blib/lib/Mojolicious/Plugin/SendEmail.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
106 6 1 unless defined $conf->{'sasl_username'}
107 7 0 unless defined $conf->{'sasl_password'}
183 1 17 unless $mail_from
184 0 17 unless $args{'to'}
193 2 0 ref $x eq 'ARRAY' ? :
194 2 15 if $args{'cc'}
195 0 17 if $args{'bcc'}
198 3 14 if ($args{'template'}) { }
4 10 elsif ($args{'body'}) { }
204 3 0 if $bs
208 15 2 unless defined $args{'html'}
209 4 13 if ($args{'html'}) { }
220 0 0 if (ref $att eq 'ARRAY') { }
228 0 0 if (ref $att eq 'ARRAY') { }
263 1 2 if (defined $t)
264 0 1 if (&_INSTANCEDOES($t, 'Email::Sender::Transport')) { }