Branch Coverage

blib/lib/LWP/Protocol/mailto.pm
Criterion Covered Total %
branch 4 54 7.4


line true false branch
35 0 1 if $^O eq 'MacOS'
36 0 1 if $^O eq 'MacOS'
39 0 1 if (defined $proxy)
48 1 0 if ($method ne 'POST')
58 0 0 if ($scheme ne 'mailto')
62 0 0 if ($^O eq 'MacOS') { }
66 0 0 if ($@)
70 0 0 unless ($ENV{'SMTPHOSTS'})
76 0 0 unless (-x $SENDMAIL)
81 0 0 if ($^O eq 'MacOS') { }
82 0 0 unless $mail = 'Mail::Internet'->new
87 0 0 unless open SENDMAIL, "| $SENDMAIL -oi -t"
91 0 0 if ($^O eq 'MacOS') { }
100 0 0 unless defined $v
101 0 0 if (lc $k eq 'body') { }
109 0 0 if ($^O eq 'MacOS') { }
118 0 0 if (defined $content)
119 0 0 ref $content ? :
120 0 0 if (ref $contRef eq 'SCALAR') { }
0 0 elsif (ref $contRef eq 'CODE') { }
121 0 0 if ($^O eq 'MacOS') { }
135 0 0 if ($^O eq 'MacOS') { }
150 0 0 if ($^O eq 'MacOS') { }
152 0 0 unless ($mail->smtpsend)
158 0 0 unless (close SENDMAIL)
159 0 0 $! ? :
169 0 0 if ($^O eq 'MacOS') { }