Condition Coverage

blib/lib/Mojo/Content/MultiPart.pm
Criterion Covered Total %
condition 15 17 88.2


and 2 conditions

line l !l condition
10 48 14 $_->headers_contain($chunk) || $_->body_contains($chunk) and return 1

and 3 conditions

line !l l&&!r l&&r condition
70 91 2 69 $self->{'offset'} and $offset > $self->{'offset'}

or 2 conditions

line l !l condition
44 17 1 $headers->content_type // ""
170 438 41 $self->{'multi_state'} //= "multipart_preamble"
183 240 0 $self->{'multipart'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
10 1 13 48 $_->headers_contain($chunk) || $_->body_contains($chunk)
63 161 23 0 $self->{'boundary'} //= $self->build_boundary