Branch Coverage

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


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