Branch Coverage

lib/Sisimai/Lhost/Aol.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
29 378 31 unless $mhead->{'x-aol-ip'}
53 264 680 unless ($readcursor)
55 31 233 if index($e, $startingof->{'message'}[0]) == 0
58 0 680 unless $readcursor & $indicators->{'deliverystatus'}
59 30 650 unless length $e
61 262 388 if (my $f = 'Sisimai::RFC1894'->match($e)) { }
63 0 262 unless my $o = "Sisimai::RFC1894"->field($e)
66 72 190 if ($o->[-1] eq 'addr') { }
36 154 elsif ($o->[-1] eq 'code') { }
69 36 36 if ($o->[0] eq 'final-recipient') { }
71 5 31 if ($v->{'recipient'})
90 0 154 unless exists $$fieldtable{$o->[0]}
93 92 62 unless $f == 1
98 372 16 unless index($p, "Diagnostic-Code:") == 0
99 0 16 unless $e =~ /\A[ \t]+(.+)\z/
106 0 31 unless $recipients
117 50 16 unless grep {index($e->{'diagnosis'}, $_) > -1;} @{$$messagesof{$r};}