Branch Coverage

lib/Sisimai/Lhost/X3.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
19 181 26 unless index($mhead->{'from'}, "Mail Delivery System") == 0
20 0 26 unless index($mhead->{'subject'}, "Delivery status notification") == 0
35 94 321 unless ($readcursor)
37 26 68 if index($e, $startingof->{'message'}[0]) == 0
40 0 321 unless $readcursor & $indicators->{'deliverystatus'}
41 125 196 unless length $e
60 26 170 if ($e =~ /\A[ \t]+[*][ \t]([^ ]+[\@][^ ]+)\z/) { }
62 0 26 if ($v->{'recipient'})
72 11 159 if ($e =~ /\ASMTP:([^ ]+)[ \t](.+)\z/) { }
5 154 elsif ($e =~ /\ARouting: (.+)/) { }
5 149 elsif ($e =~ /\ADiagnostic-Code: smtp; (.+)/) { }
87 0 26 unless $recipients