Branch Coverage

lib/Sisimai/Lhost/Exchange2007.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
20 244 95 unless $mhead->{'subject'} =~ /\A(?:Undeliverable|Non_remis_|Non[ ]recapitabile):/
21 53 42 unless defined $mhead->{'content-language'}
22 0 42 unless $mhead->{'content-language'} =~ /\A[a-z]{2}(?:[-][A-Z]{2})?\z/
25 0 42 if $mhead->{'x-ms-exchange-crosstenant-originalarrivaltime'}
26 0 42 if $mhead->{'x-ms-exchange-crosstenant-fromentityheader'}
78 948 190 unless ($readcursor)
80 36 912 if $e =~ /$markingsof->{'message'}/
83 0 190 unless $readcursor & $indicators->{'deliverystatus'}
85 118 72 if ($connvalues == scalar keys %$connheader) { }
96 36 82 if ($e =~ /\A([^ \@]+[\@][^ \@]+)\z/) { }
41 41 elsif ($e =~ /([45]\d{2})[ ]([45][.]\d[.]\d+)[ ].+\z/) { }
98 0 36 if ($v->{'recipient'})
117 41 0 unless $v->{'diagnosis'}
118 0 0 unless substr($v->{'diagnosis'}, -1, 1) eq "="
125 36 36 unless $e =~ /$markingsof->{'rhost'}/
126 0 36 if $connheader->{'rhost'}
131 6 36 unless $recipients
134 26 10 if ($e->{'diagnosis'} =~ /$markingsof->{'error'}/)
139 168 26 unless $f eq $r