Branch Coverage

blib/lib/JSON/Schema/Modern/Document.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
150 771 13013 if $state->{'initial_schema_uri'} ne $original_uri
152 121 13663 if (@{$state->{'errors'}})
154 147 0 unless defined $error->mode
169 12927 736 if not "$original_uri" and $original_uri eq $self->canonical_uri or "$original_uri"
177 0 13665 if XXX and exists $self->schema->{'openapi'}
179 1 13783 $self->metaschema_uri ? :
186 121 13663 if @{$state->{'errors'}}
191 13548 115 XXX ? :
193 13662 1 if $metaschema_uri ne ($self->metaschema_uri // "")