Branch Coverage

lib/Sisimai/Lhost/DragonFly.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
19 868 198 unless index($mhead->{'subject'}, "Mail delivery failed") != -1
20 48 150 unless grep {rindex($_, " (DragonFly Mail Agent") != -1;} @{$$mhead{"received"}}
40 150 755 unless ($readcursor)
42 150 0 if index($e, $startingof->{'message'}[0]) == 0
45 300 455 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
57 150 305 if (index($e, 'There was an error delivering your mail to <') == 0) { }
60 0 150 if ($v->{'recipient'})
74 170 135 if index($e, " did not like our ") == -1 or length $v->{'rhost'} > 0
77 135 0 index($p->[0], '.') > 1 ? :
81 0 150 unless $recipients