Branch Coverage

lib/Sisimai/Lhost/Verizon.pm
Criterion Covered Total %
branch 41 50 82.0


line true false branch
19 886 11 unless grep {rindex($_, ".vtext.com (") != -1;} @{$$mhead{"received"}}
20 5 6 if $mhead->{'from'} eq "post_master\@vtext.com"
21 6 5 if "Sisimai::String"->aligned(\$mhead->{'from'}, ["sysadmin\@", ".vzwpix.com"])
22 0 11 if $match < 0
34 5 6 if ($match == 1) { }
47 5 65 unless ($readcursor)
49 5 0 if index($e, $markingsof->{'message'}[0]) == 0
52 10 55 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
61 5 50 if (index($e, ' RCPT TO: ') == 0) { }
5 45 elsif (index($e, ' MAIL FROM: ') == 0) { }
5 40 elsif (index($e, ' Subject: ') == 0) { }
62 0 5 if ($v->{'recipient'})
81 5 35 if index($e, " - ") > 2
93 6 48 unless ($readcursor)
95 6 0 if index($e, $startingof->{'message'}[0]) == 0
98 12 36 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
107 6 30 if (index($e, 'To: ') == 0) { }
6 24 elsif (index($e, 'From: ') == 0) { }
6 18 elsif (index($e, 'Subject: ') == 0) { }
108 0 6 if ($v->{'recipient'})
128 6 12 if index($e, "Error: ") == 0
132 0 11 unless $recipients
135 11 0 if index($emailparts->[1], "\nFrom: ") == -1
136 11 0 if index($emailparts->[1], "\nSubject: ") == -1
143 0 11 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}