Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
93 1 0 86 assert_keyword_exists({%$state, "keyword", "openapi"}, $schema) and assert_keyword_type({%$state, "keyword", "openapi"}, $schema, "string")
105 81 3 1 exists $schema->{'jsonSchemaDialect'} and not assert_keyword_type({%$state, "keyword", "jsonSchemaDialect"}, $schema, "string")
141 3050 59 30 $schema->{'$ref'} eq "#/\$defs/operation" and defined $data->{'operationId'}
209 20 6 84 XXX and keys %$schema

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
107 0 3 81 $self->json_schema_dialect // $schema->{'jsonSchemaDialect'}