Condition Coverage

blib/lib/OpenAPI/Render/HTMLForms.pm
Criterion Covered Total %
condition 15 18 83.3


and 3 conditions

line !l l&&!r l&&r condition
97 1 61 6 $parameter->{'schema'} and $parameter->{'schema'}{'enum'}
1 55 6 $parameter->{'schema'}{'type'} and $parameter->{'schema'}{'type'} eq "object"
26 0 30 $parameter->{'schema'}{'format'} and $parameter->{'schema'}{'format'} eq "binary"

or 3 conditions

line l !l&&r !l&&!r condition
74 3 2 5 $operation eq "get" or $operation eq "post"
97 6 0 56 $parameter->{'schema'}{'type'} and $parameter->{'schema'}{'type'} eq "object" or $parameter->{'schema'}{'format'} and $parameter->{'schema'}{'format'} eq "binary"
123 17 0 9 $parameter->{'in'} eq 'path' || $parameter->{'required'}