Branch Coverage

lib/Sisimai/Lhost/MailMarshal.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
19 17 880 unless $mhead->{'subject'}
20 874 6 unless index($mhead->{'subject'}, "Undeliverable Mail: \"") == 0
35 6 0 if $q
41 6 126 unless ($readcursor)
43 6 0 if index($e, $startingof->{'message'}[0]) == 0
45 0 132 if ($readcursor & $indicators->{'deliverystatus'}) == 0
59 6 126 if (index($e, ' ') == 0 and index($e, '@') > 1) { }
62 0 6 if ($v->{'recipient'})
72 6 120 if ($e eq $startingof->{'error'}[0]) { }
24 96 elsif ($v->{'diagnosis'} and not $endoferror) { }
80 6 18 if index($e, $startingof->{'rcpts'}[0]) == 0
81 6 18 if $endoferror
96 6 90 if (index($e, 'Original Sender: ') == 0) { }
6 84 elsif (index($e, 'Sender-MTA: ') == 0) { }
6 78 elsif (index($e, 'Reporting-MTA: ') == 0) { }
12 66 elsif (index($e, ' From:') > 0 or index($e, ' Subject:') > 0) { }
112 6 6 if $p1 < 0
122 0 6 unless $recipients