Condition Coverage

blib/lib/HTTP/MultiPartParser.pm
Criterion Covered Total %
condition 7 27 25.9


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 27 ref \$v eq 'SCALAR' and defined $v
0 0 27 ref \$v eq 'SCALAR' and defined $v and $v =~ /$ValidBoundary/
42 0 0 0 ref \$v eq 'SCALAR' and defined $v
0 0 0 ref \$v eq 'SCALAR' and defined $v and $v =~ /\A [1-9][0-9]* \z/x
47 0 0 0 ref \$v eq 'SCALAR' and defined $v
0 0 0 ref \$v eq 'SCALAR' and defined $v and $v =~ /\A (?: unparsed | lines) \z/x

or 3 conditions

line l !l&&r !l&&!r condition
28 27 27 15 $p eq 'on_header' or $p eq 'on_body'
54 15 0 $p eq 'on_header' or $p eq 'on_body' or $p eq 'on_error'
0 0 0 $p eq 'max_header_size' or $p eq 'max_preamble_size'