Branch Coverage

lib/Sisimai/Lhost/GoogleWorkspace.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
19 749 297 if index($$mbody, "\nDiagnostic-Code:") != -1 or index($$mbody, "\nFinal-Recipient:") != -1
20 145 152 unless rindex($mhead->{'from'}, "") != -1
21 0 152 unless index($mhead->{'subject'}, "Delivery Status Notification") != -1
42 7524 60 unless ($readcursor)
44 5 7519 if (index($e, $startingof->{'message'}[0]) == 0)
50 7549 35 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
58 5 30 if index($e, "Content-Type: ") == 0
65 147 5 if $p0 < 0
71 147 5 unless $recipients
77 5 0 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}