| line |
true |
false |
branch |
|
38
|
24 |
4 |
!($spec_version =~ /^draft(?:[467]|2019-09)\z/u) ? : |
|
205
|
718 |
158 |
if grep(($format eq $_), @{$formats_by_spec_version{$$state{"specification_version"}}}) and $$formats{$format} |
|
219
|
0 |
25 |
unless assert_keyword_type($state, $schema, "string") |
|
222
|
1 |
24 |
if (my $warn_sub = $$warnings{$$schema{"format"}}) |
|
232
|
2 |
23 |
if $$schema{"format"} eq "uri-template" and not $$state{"evaluator"}->_get_format_validation($$schema{"format"}) |
|
251
|
1 |
26 |
unless $spec |
|
254
|
2 |
24 |
if $type eq "integer" |
|
259
|
0 |
26 |
ref $$spec{'type'} eq 'ARRAY' ? : |
|
|
0 |
3 |
ref $$spec{'type'} eq 'ARRAY' ? : |
|
|
1 |
2 |
unless ref $$spec{"type"} eq "ARRAY" ? CORE::any({$type eq $_;} @{$$spec{"type"}}) : $type eq $$spec{"type"} or $$state{"stringy_numbers"} and $type eq "string" and ref $$spec{"type"} eq "ARRAY" ? CORE::any({$_ eq "number";} @{$$spec{"type"}}) : $$spec{"type"} eq "number" and &looks_like_number($data) |
|
262
|
13 |
11 |
unless $$spec{"sub"}($data) |