Branch Coverage

lib/Sisimai/Lhost/mFILTER.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
20 197 27 unless defined $mhead->{'x-mailer'}
21 6 21 unless $mhead->{'x-mailer'} eq "m-FILTER"
22 0 21 unless $mhead->{'subject'} eq "failure notice"
42 126 147 unless ($readcursor)
44 21 105 if $e =~ /$markingsof->{'message'}/
46 105 168 unless $readcursor & $indicators->{'deliverystatus'}
47 63 105 unless length $e
66 21 84 if ($e =~ /\A([^ ]+[\@][^ ]+)\z/) { }
21 63 elsif ($e =~ /\A[A-Z]{4}/) { }
69 0 21 if ($v->{'recipient'})
80 0 21 if $v->{'command'}
81 21 0 if $markingset->{'command'}
85 21 42 if ($e eq $startingof->{'error'}[0]) { }
21 21 elsif ($e eq $startingof->{'command'}[0]) { }
95 0 21 if index($e, "-") == 0
96 0 21 if $v->{'diagnosis'}
101 0 21 unless $recipients
107 0 21 unless scalar @{$mhead->{'received'};}
114 21 21 unless rindex($ee, ".") > -1