Branch Coverage

lib/Sisimai/Lhost/MailFoundry.pm
Criterion Covered Total %
branch 20 26 76.9


line true false branch
19 186 11 unless $mhead->{'subject'} eq "Message delivery has failed"
20 0 11 unless grep {rindex($_, "(MAILFOUNDRY) id") > -1;} @{$$mhead{"received"};}
38 33 44 unless ($readcursor)
40 11 22 if index($e, $startingof->{'message'}[0]) == 0
42 22 55 unless $readcursor & $indicators->{'deliverystatus'}
43 11 44 unless length $e
52 11 33 if ($e =~ /\AUnable to deliver message to: [<]([^ ]+[\@][^ ]+)[>]\z/) { }
54 0 11 if ($v->{'recipient'})
64 11 22 if ($e eq $startingof->{'error'}[0]) { }
70 0 22 unless length $e
71 0 22 unless $v->{'diagnosis'}
72 0 22 if index($e, "-") == 0
79 0 11 unless $recipients