Branch Coverage

lib/Sisimai/Lhost/FML.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
19 191 10 unless defined $mhead->{'x-mlserver'}
20 0 10 unless $mhead->{'from'} =~ /.+[-]admin[\@].+/
21 0 10 unless $mhead->{'message-id'} =~ /\A[<]\d+[.]FML.+[\@].+[>]\z/
70 25 40 unless length $e
76 10 30 if ($e =~ /[<]([^ ]+?[\@][^ ]+?)[>][.]\z/) { }
78 0 10 if ($v->{'recipient'})
93 0 10 unless $recipients
100 10 10 unless $e->{'diagnosis'} =~ /$errortable->{$f}/
104 10 0 if $e->{'reason'}
109 0 0 unless $mhead->{'subject'} =~ /$errortitle->{$f}/