Branch Coverage

lib/Sisimai/Lhost/TrendMicro.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
24 6 922 if index($mhead->{'from'}, "\"InterScan MSS\"") == 0
25 0 928 if index($mhead->{'from'}, "\"InterScan Notification\"") == 0
26 16 912 if grep {$mhead->{'subject'} eq $_;} @$tryto
27 912 16 unless $match
39 136 408 unless length $e
44 16 37 if (index($e, "\@") > 1 and index($e, " <") > 1 and $p1 > 1 || $p2 > 1 || index($e, 'Unable to deliver ') != -1)
51 0 22 if ($v->{'recipient'} and $cr ne $v->{'recipient'})
57 10 12 if index($e, "Unable to deliver ") != -1
61 6 402 if (index($e, 'Sent <<< ') == 0) { }
6 396 elsif (index($e, 'Received >>> ') == 0) { }
0 396 elsif ($p1 > 0 or $p2 > 0) { }
71 0 0 if index($e, " >>> ") != -1
72 0 0 if $p3 == -1
76 0 16 unless $recipients
81 10 6 if index($e->{'diagnosis'}, "Unable to deliver") != -1