line |
true |
false |
branch |
32
|
0 |
46 |
if $spec_version =~ /^draft[467]$/u
|
43
|
0 |
534 |
unless $state->{'collect_annotations'}
|
45
|
0 |
534 |
if $state->{'short_circuit'}
|
47
|
168 |
366 |
unless is_type("array", $data)
|
53
|
167 |
199 |
$state->{'spec_version'} eq 'draft2019-09' ? :
|
57
|
80 |
129 |
if $bools{$_->{'keyword'}} and is_type("boolean", $_->{'annotation'})
|
58
|
80 |
286 |
if &any(sub {
|
62
|
134 |
152 |
$state->{'spec_version'} eq 'draft2019-09' ? :
|
64
|
84 |
24 |
$_->{'keyword'} eq $max_index_annotation_keyword ? :
|
66
|
90 |
196 |
if $last_index == $#$data
|
69
|
24 |
46 |
$_->{'keyword'} eq 'contains' ? :
|
|
90 |
106 |
$state->{'spec_version'} eq 'draft2019-09' ? :
|
73
|
46 |
238 |
if &any(sub {
|
74
|
174 |
64 |
if (is_type('boolean', $schema->{'unevaluatedItems'})) { }
|
75
|
20 |
154 |
if $schema->{'unevaluatedItems'}
|
80
|
46 |
18 |
if ($self->eval($data->[$idx], $schema->{'unevaluatedItems'}, {%$state, "data_path", $state->{'data_path'} . "/" . $idx, "schema_path", $state->{'schema_path'} . "/unevaluatedItems", "collect_annotations", $state->{'collect_annotations'} & '18446744073709551614'}))
|
89
|
0 |
172 |
if $state->{'short_circuit'}
|
93
|
156 |
40 |
unless $valid
|
104
|
0 |
961 |
unless $state->{'collect_annotations'}
|
106
|
0 |
961 |
if $state->{'short_circuit'}
|
108
|
143 |
818 |
unless is_type("object", $data)
|
113
|
647 |
6 |
grep(($keyword eq $_), ('properties', 'additionalProperties', 'patternProperties', 'unevaluatedProperties')) ? :
|
119
|
547 |
554 |
if &any(sub {
|
122
|
519 |
35 |
if (is_type('boolean', $schema->{'unevaluatedProperties'})) { }
|
123
|
197 |
322 |
if $schema->{'unevaluatedProperties'}
|
128
|
22 |
13 |
if ($self->eval($data->{$property}, $schema->{'unevaluatedProperties'}, {%$state, "data_path", jsonp($state->{'data_path'}, $property), "schema_path", $state->{'schema_path'} . "/unevaluatedProperties", "collect_annotations", $state->{'collect_annotations'} & '18446744073709551614'}))
|
137
|
0 |
335 |
if $state->{'short_circuit'}
|
141
|
287 |
531 |
unless $valid
|