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 51 assert_keyword_exists({%$state, "keyword", "openapi"}, $schema) and assert_keyword_type({%$state, "keyword", "openapi"}, $schema, "string")
105 46 3 1 exists $schema->{'jsonSchemaDialect'} and not assert_keyword_type({%$state, "keyword", "jsonSchemaDialect"}, $schema, "string")
141 1615 30 21 $schema->{'$ref'} eq "#/\$defs/operation" and defined $data->{'operationId'}
209 10 3 45 XXX and keys %$schema

or 2 conditions

line l !l condition
110 3 46 $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 46 $self->json_schema_dialect // $schema->{'jsonSchemaDialect'}