Branch Coverage

lib/Sisimai/Lhost/Mimecast.pm
Criterion Covered Total %
branch 25 34 73.5


line true false branch
20 10 0 if index($mhead->{'subject'}, "Email Delivery Failure") != -1
21 10 0 if (defined $mhead->{'message-id'})
23 10 0 if index($mhead->{'message-id'}, ".mimecast.lan>") != -1
25 0 10 unless $match
41 35 205 unless ($readcursor)
43 10 25 if index($e, $startingof->{'message'}[0]) != -1
45 75 165 if ($readcursor & $indicators->{'deliverystatus'}) == 0 or $e eq ""
48 30 135 if (index($e, '-- ') == 0) { }
51 10 20 if (index($cv, ' ') == -1) { }
53 0 10 if ($v->{'recipient'})
71 40 95 if (my $f = "Sisimai::RFC1894"->match($e))
73 0 40 unless my $o = "Sisimai::RFC1894"->field($e)
75 5 35 if ($o->[3] eq 'code') { }
82 0 35 unless exists $$fieldtable{$o->[0]}
83 0 35 if $o->[3] eq "host" and "Sisimai::RFC1123"->is_internethost($o->[2]) == 0
86 25 10 unless $f == 1
92 0 10 unless $recipients