Branch Coverage

blib/lib/App/Smarkmail.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
52 0 2 if ref $msg
0 2 eval { do { $msg->isa('Email::MIME') if ref $msg } } ? :
56 1 1 if ($to_send->content_type =~ m[^text/plain]) { }
1 0 elsif ($to_send->content_type =~ m[^multipart/(?:related|mixed)]) { }
63 1 0 if ($parts[0]->content_type =~ m[^text/plain])
84 0 2 if ($sig =~ tr/\n// > 5)
91 2 0 if ($sig)