Condition Coverage

blib/lib/Mail/Milter/Authentication/Protocol/Milter.pm
Criterion Covered Total %
condition 7 25 28.0


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 33 $ver >= 2 and $ver <= 6
183 0 0 1 $rcode =~ /^[5]\d\d$/u && $xcode =~ /^[5]\.\d\.\d$/u
199 0 0 0 $rcode =~ /^[4]\d\d$/u && $xcode =~ /^[4]\.\d\.\d$/u

or 2 conditions

line l !l condition
26 923 0 unpack('N', $self->milter_read_block(4)) || (last)
30 923 0 $self->milter_read_block(1) || (last)

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 923 $length <= 0 or $length > 131072
183 0 0 1 not $rcode =~ /^[5]\d\d$/u && $xcode =~ /^[5]\.\d\.\d$/u or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
199 0 0 0 not $rcode =~ /^[4]\d\d$/u && $xcode =~ /^[4]\.\d\.\d$/u or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
274 0 0 2637 not defined $read or $read <= 0