Branch Coverage

lib/Sisimai/Lhost/MailFoundry.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
19 865 11 unless $mhead->{'subject'} eq "Message delivery has failed"
20 0 11 unless grep {rindex($_, "(MAILFOUNDRY) id") != -1;} @{$$mhead{"received"}}
37 33 44 unless ($readcursor)
39 11 22 if index($e, $startingof->{'message'}[0]) == 0
41 33 44 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
50 11 33 if (index($e, 'Unable to deliver message to: <') == 0 and index($e, '@') > 1) { }
52 0 11 if ($v->{'recipient'})
62 11 22 if ($e eq $startingof->{'error'}[0])
64 0 22 unless $v->{'diagnosis'}
65 0 22 if index($e, "-") == 0
69 0 11 unless $recipients