Branch Coverage

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


line true false branch
142 771 13014 if $state->{'initial_schema_uri'} ne $original_uri
144 121 13664 if (@{$state->{'errors'}})
146 147 0 unless defined $error->mode
161 12928 736 if not "$original_uri" and $original_uri eq $self->canonical_uri or "$original_uri"
170 0 13666 if XXX and exists $self->schema->{'openapi'}
172 1 13784 $self->metaschema_uri ? :
179 121 13664 if @{$state->{'errors'}}
184 13549 115 XXX ? :
186 13663 1 if $metaschema_uri ne ($self->metaschema_uri // "")