Branch Coverage

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


line true false branch
20 473 26 unless defined $mhead->{'x-nai-header'}
21 0 26 unless index($mhead->{'x-nai-header'}, "Modified by McAfee") > -1
22 0 26 unless $mhead->{'subject'} eq "Delivery Status"
50 114 348 unless ($readcursor)
52 26 88 if index($e, $startingof->{'message'}[0]) > -1
55 0 348 unless $readcursor & $indicators->{'deliverystatus'}
56 130 218 unless length $e
69 26 192 if ($e =~ /\A[<]([^ ]+[\@][^ ]+)[>][ \t]+[(](.+)[)]\z/) { }
104 88 elsif (my $f = 'Sisimai::RFC1894'->match($e)) { }
71 0 26 if ($v->{'recipient'})
83 52 52 unless ($o)
86 26 26 if $e =~ /\AOriginal-Recipient:[ ]*([^ ]+)\z/
89 0 52 unless exists $$fieldtable{$o->[0]}
94 88 0 unless index($p, "Diagnostic-Code:") == 0
95 0 0 unless $e =~ /\A[ \t]+(.+)\z/
102 0 26 unless $recipients
109 10 16 unless $e->{'diagnosis'} =~ /$refailures->{$r}/