Condition Coverage

blib/lib/Mojolicious/Plugin/EmailMailer.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
39 2 1 2 defined $args{'text'} and not defined $args{'html'}
51 1 1 1 defined $args{'mail'} and defined $args{'send'}
53 0 0 1 defined $args{'mail'}{'text'} and not defined $args{'mail'}{'html'}
56 3 0 0 defined $mail->{'text'} and not defined $mail->{'html'}

or 2 conditions

line l !l condition
13 1 0 $ENV{'MOJO_MAIL_TEST'} || 0
18 1 0 $conf->{'from'} //= "test-emailmailer-plugin\@mojolicio.us"
22 1 0 delete $conf->{'howargs'} // {}
96 0 3 $ct //= "Content-Type"

or 3 conditions

line l !l&&r !l&&!r condition
19 0 1 0 $conf->{'X-Mailer'} //= join(" ", "Mojolicious", $Mojolicious::VERSION, __PACKAGE__, $VERSION, "(Perl)")