Branch Coverage

lib/Sisimai/Lhost/Exchange2007.pm
Criterion Covered Total %
branch 33 40 82.5


line true false branch
28 175 883 if grep {index($mhead->{'subject'}, $_) != -1;} @$emailtitle
29 55 1003 if grep {index($mhead->{'from'}, $_) > 1;} @$mailsender
30 103 955 if defined $mhead->{'content-language'}
31 950 108 if $proceedsto < 2
83 2436 695 unless ($readcursor)
85 108 2328 if grep {index($e, $_) == 0;} @{$$startingof{"message"}}
88 221 474 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
100 97 377 if (index($e, ' ') == -1 and index($e, '@') > 1) { }
102 0 97 if ($v->{'recipient'})
112 108 269 if (grep {index($e, $_) == 0;} @{$$startingof{'rhost'}}) { }
116 108 0 if "Sisimai::RFC1123"->is_internethost($cv)
123 5 146 if ($cr ne "" or $cs ne "" or index($e, "Remote Server ") != -1)
142 0 11 if $p1 < 0
143 0 11 if $p2 < 0
144 0 11 if $p3 < 0
147 0 11 unless "Sisimai::Address"->is_emailaddress($cv)
151 0 108 unless $recipients
160 53 115 if $p0 > -1
162 55 53 if $p0 < 0
167 328 53 unless $cv eq $r