line |
true |
false |
branch |
89
|
0 |
4699 |
if @_ < 2
|
93
|
4655 |
6 |
$_[0]->$JSON::Schema::Draft201909::_isa('Mojo::URL') ? :
|
|
38 |
4661 |
!XXX ? :
|
96
|
1 |
4698 |
if defined $uri->fragment
|
98
|
2 |
4696 |
unless (@_)
|
100
|
1 |
1 |
unless defined $schema and defined wantarray
|
104
|
4686 |
0 |
$uri ? :
|
|
10 |
4686 |
$_[0]->$JSON::Schema::Draft201909::_isa('JSON::Schema::Draft201909::Document') ? :
|
111
|
52 |
4644 |
if $document->has_errors
|
117
|
4640 |
4 |
unless (grep(($_->{'document'} == $document), $self->_resource_values))
|
121
|
3399 |
1241 |
if (my $existing_doc = &first(sub {
|
135
|
33 |
4605 |
if ("$uri")
|
143
|
0 |
3 |
unless defined wantarray
|
144
|
0 |
3 |
if @_ < 3
|
174
|
0 |
4737 |
if @_ < 2
|
216
|
0 |
4670 |
unless defined wantarray
|
217
|
0 |
4670 |
if @_ < 3
|
294
|
12 |
2493 |
$config_override->{'collect_annotations'} // $self->collect_annotations ? :
|
|
2505 |
2113 |
$valid ? :
|
299
|
0 |
8 |
if @_ < 2
|
303
|
4 |
4 |
if XXX
|
304
|
3 |
3 |
wantarray ? :
|
|
2 |
6 |
!defined($subschema) ? :
|
310
|
0 |
10192 |
if @_ < 3
|
316
|
0 |
10192 |
if $state->{'depth'}++ > $self->max_traversal_depth
|
319
|
2040 |
8152 |
if $schema_type eq 'boolean'
|
321
|
3 |
8149 |
if $schema_type ne 'object'
|
325
|
452072 |
12421 |
unless exists $schema->{$keyword}
|
330
|
11959 |
462 |
if $vocabulary->can($method)
|
332
|
4 |
12417 |
if (my $sub = $state->{'callbacks'}{$keyword})
|
346
|
0 |
8937 |
unless defined wantarray
|
347
|
0 |
8937 |
if @_ < 4
|
356
|
3 |
8934 |
if $state->{'depth'}++ > $self->max_traversal_depth
|
364
|
1 |
8933 |
if grep((substr($schema_location, 0, length $_) eq $_), keys %{$state->{'seen'}{$state->{'data_path'}}{$canonical_uri};})
|
368
|
271 |
8662 |
if $schema_type eq 'boolean'
|
371
|
0 |
8662 |
if $schema_type ne 'object'
|
382
|
425458 |
15253 |
unless exists $schema->{$keyword}
|
387
|
1425 |
13828 |
unless $vocabulary->can($method)
|
391
|
3271 |
10280 |
unless ($vocabulary->$method($data, $schema, $state))
|
393
|
0 |
3271 |
if $error_count == @{$state->{'errors'};}
|
397
|
1420 |
2405 |
if not $valid and $state->{'short_circuit'}
|
405
|
16768 |
2 |
unless exists $schema->{$keyword}
|
408
|
2 |
0 |
if ($removed_keywords{$keyword})
|
410
|
0 |
2 |
if @list > 2
|
411
|
1 |
1 |
if @list > 1
|
419
|
5158 |
3227 |
if ($valid)
|
499
|
1074 |
26 |
if $resource
|
501
|
23 |
3 |
if (my $local_filename = $self->CACHED_METASCHEMAS->{$uri})
|
507
|
0 |
23 |
if $document->has_errors
|
536
|
23 |
1116 |
unless XXX
|
540
|
1099 |
40 |
if (not length $fragment or $fragment =~ m[^/]u) { }
|
542
|
1096 |
3 |
if (my $resource = $self->_get_or_load_resource($base))
|
547
|
349 |
836 |
unless not length $_->[1]{'path'}
|
554
|
772 |
324 |
unless length $canonical_uri->fragment
|
558
|
35 |
5 |
if (my $resource = $self->_get_resource($uri))
|
565
|
1128 |
11 |
defined $subschema ? :
|