Condition Coverage

blib/lib/JSON/Schema/Modern/Document/OpenAPI.pm
Criterion Covered Total %
condition 16 17 94.1


and 3 conditions

line !l l&&!r l&&r condition
180 2371 1577 479 $entity and $reffable_entities->check($entity)
184 4315 88 24 $schema->{'$ref'} eq "#/\$defs/operation" and defined $data->{'operationId'}
222 54 98 46 $idx != $#json_schema_paths and substr($json_schema_paths[$idx], 0, length($real_json_schema_paths[-1]) + 1) eq $real_json_schema_paths[-1] . "/"
280 26 10 116 XXX and keys %$schema

or 2 conditions

line l !l condition
147 4 109 $json_schema_dialect //= "https://spec.openapis.org/oas/3.1/dialect/base"

or 3 conditions

line l !l&&r !l&&!r condition
144 0 4 109 $self->json_schema_dialect // $schema->{'jsonSchemaDialect'}