Branch Coverage

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


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