Condition Coverage

blib/lib/Modern/OpenAPI/Generator/Spec.pm
Criterion Covered Total %
condition 9 31 29.0


and 3 conditions

line !l l&&!r l&&r condition
114 0 0 0 ($sch->{'type'} // "") eq "array" and ref $sch->{'items'} eq "HASH"

or 2 conditions

line l !l condition
38 5 0 $copy->{'paths'} // (return $copy)
55 0 0 ($self->{'raw'}{'openapi'} // $self->{'raw'}{'swagger'}) // ""
60 6 0 $self->{'raw'}{'info'}{'title'} // "API"
69 12 0 $self->{'raw'}{'paths'} // {}
90 0 12 $op->{'tags'} // []
103 12 0 $op->{'responses'} // {}
106 12 0 $responses->{$code}{'content'} // {}
114 0 0 $sch->{'type'} // ""
127 0 12 $op->{'requestBody'} // (return 0)
129 0 0 $rb->{'content'} // {}
147 0 0 $p->{'in'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
55 23 0 0 $self->{'raw'}{'openapi'} // $self->{'raw'}{'swagger'}
78 12 0 0 $op->{'operationId'} // _default_operation_id($method, $path)