blib/lib/JSV/Reference.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 27 | 66.6 |
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 | 312 | 98 | 0 | ref $_ eq 'HASH' and exists $_->{'$ref'} |
70 | 0 | 28 | ref $_ eq 'HASH' and exists $_->{'$ref'} and not ref $_->{'$ref'} | |
70 | 0 | 28 | ref $_ eq 'HASH' and exists $_->{'$ref'} and not ref $_->{'$ref'} and keys %$_ == 1 |
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'} |