Branch Coverage

lib/Sisimai/Lhost/PowerMTA.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
18 181 16 unless index($mhead->{'subject'}, "Delivery report") > -1
48 32 336 unless ($readcursor)
50 16 16 if (rindex($e, $startingof->{'message'}[0]) > -1)
55 16 336 unless $readcursor & $indicators->{'deliverystatus'}
56 64 272 unless length $e
58 128 144 if (my $f = 'Sisimai::RFC1894'->match($e)) { }
60 0 128 unless my $o = "Sisimai::RFC1894"->field($e)
63 16 112 if ($o->[-1] eq 'addr') { }
16 96 elsif ($o->[-1] eq 'code') { }
66 16 0 if ($o->[0] eq 'final-recipient') { }
68 0 16 if ($v->{'recipient'})
87 0 96 unless exists $$fieldtable{$o->[0]}
90 48 48 unless $f == 1
104 16 128 if ($e =~ /\AX-PowerMTA-BounceCategory:[ ]*(.+)\z/)
110 0 16 unless $recipients