Condition Coverage

blib/lib/JSV/Reference.pm
Criterion Covered Total %
condition 21 30 70.0


and 3 conditions

line !l l&&!r l&&r condition
35 49 30 0 not $ref_uri->scheme and $opts->{'base_uri'}
43 0 77 0 ref $ref_obj eq 'HASH' and exists $ref_obj->{'$ref'}
64 72 6 0 exists $schema->{'$ref'} and $schema->{'$ref'} eq $normalized_uri
95 293 19 98 defined $Data::Walk::type and $Data::Walk::type eq 'HASH'
312 98 0 defined $Data::Walk::type and $Data::Walk::type eq 'HASH' and exists $_->{'$ref'}
70 0 28 defined $Data::Walk::type and $Data::Walk::type eq 'HASH' and exists $_->{'$ref'} and not ref $_->{'$ref'}
70 0 28 defined $Data::Walk::type and $Data::Walk::type eq 'HASH' and exists $_->{'$ref'} and not ref $_->{'$ref'} and keys %$_ == 1

or 3 conditions

line l !l&&r !l&&!r condition
39 53 24 2 $ref_uri->scheme or $ref_uri->fragment
77 2 0 $ref_uri->scheme or $ref_uri->fragment or $ref_uri->as_string eq '#'
59 50 0 29 $self->{'registered_schema_map'}{$normalized_uri} || $opts->{'root'}