Branch Coverage

blib/lib/Dancer2/Plugin/Email.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
38 0 1 if (my $type = $headers{'type'})
39 0 0 $type eq 'html' ? :
42 1 0 if $headers{'Type'} eq 'text/plain'
52 0 1 if ($attach)
53 0 0 if ($multipart)
61 0 0 ref $attach eq 'ARRAY' ? :
64 0 0 if (ref $attachment eq 'HASH') { }
66 0 0 unless ($mime{'Path'} or $mime{'Data'})
70 0 0 if ($mime{'Path'})
86 1 0 if (my($transport_name) = keys %{$plugin->transport;})
93 0 1 if ($transport_redirect)
104 0 1 if defined $sender