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
181 2436 1632 501 $entity and $reffable_entities->check($entity)
185 4456 89 24 $schema->{'$ref'} eq "#/\$defs/operation" and defined $data->{'operationId'}
223 55 106 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] . "/"
300 26 11 124 XXX and keys %$schema

or 2 conditions

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

or 3 conditions

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