Condition Coverage

blib/lib/JSON/Schema/Modern/Document.pm
Criterion Covered Total %
condition 21 27 77.7


and 3 conditions

line !l l&&!r l&&r condition
161 390 736 12538 not "$original_uri" and $original_uri eq $self->canonical_uri
170 119 13666 0 XXX and exists $self->schema->{'openapi'}

or 2 conditions

line l !l condition
102 121 0 $_[0]{'errors'} // []
103 117 13653 $_[0]{'errors'} // []
186 1 13663 $self->metaschema_uri // ""

or 3 conditions

line l !l&&r !l&&!r condition
139 13757 28 0 $self->evaluator // $self->_set_evaluator("JSON::Schema::Modern"->new)
161 12538 390 736 not "$original_uri" and $original_uri eq $self->canonical_uri or "$original_uri"
184 5537 1 8126 (XXX ? $self->schema->{'$schema'} : undef) // $self->metaschema_uri
5538 8126 0 ((XXX ? $self->schema->{'$schema'} : undef) // $self->metaschema_uri) // $evaluator->METASCHEMA_URIS->{$state->{'spec_version'}}
192 1 0 0 $self->$JSON::Schema::Modern::Document::_call_if_can("evaluator") // "JSON::Schema::Modern"->new