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
109 0 0 26 $ver >= 2 and $ver <= 6
182 0 0 1 $rcode =~ /^[5]\d\d$/ && $xcode =~ /^[5]\.\d\.\d$/
198 0 0 0 $rcode =~ /^[4]\d\d$/ && $xcode =~ /^[4]\.\d\.\d$/

or 2 conditions

line l !l condition
27 707 0 unpack('N', $self->milter_read_block(4)) || (last)
31 707 0 $self->milter_read_block(1) || (last)

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 707 $length <= 0 or $length > 131072
182 0 0 1 not $rcode =~ /^[5]\d\d$/ && $xcode =~ /^[5]\.\d\.\d$/ or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
198 0 0 0 not $rcode =~ /^[4]\d\d$/ && $xcode =~ /^[4]\.\d\.\d$/ or substr($rcode, 0, 1) ne substr($xcode, 0, 1)
275 0 0 2019 not defined $read or $read <= 0