line |
true |
false |
branch |
43
|
762 |
619 |
!$self->loose_type ? : |
51
|
9826 |
1222 |
unless exists $$schema{$keyword->keyword} |
55
|
210 |
1171 |
if ($self->is_matched_types('integer_or_string', 'number_or_string')) { } |
|
237 |
934 |
elsif ($self->is_matched_types('integer', 'number')) { } |
|
403 |
531 |
elsif ($self->is_matched_types('string')) { } |
|
155 |
376 |
elsif ($self->current_type eq 'array') { } |
|
328 |
48 |
elsif ($self->current_type eq 'object') { } |
60
|
1387 |
83 |
unless exists $$schema{$keyword->keyword} |
66
|
649 |
62 |
unless exists $$schema{$keyword->keyword} |
72
|
1540 |
72 |
unless exists $$schema{$keyword->keyword} |
78
|
483 |
137 |
unless exists $$schema{$keyword->keyword} |
85
|
2296 |
0 |
if defined $_ |
|
1222 |
418 |
unless grep({exists $schema->{$_} if defined $_;} $keyword->keyword, @{$keyword->additional_keywords;}) > 0 |
91
|
0 |
1381 |
$self->enable_history ? : |
95
|
0 |
1381 |
if (my $e = $@) |
103
|
562 |
819 |
if (scalar @{$self->errors;}) |
104
|
0 |
562 |
$self->enable_history ? : |
108
|
0 |
562 |
if ($self->throw_error) |
125
|
0 |
1994 |
if ($ENV{'JSV_DEBUG'} or $self->enable_history) |
148
|
0 |
394 |
if ($ENV{'JSV_DEBUG'}) |
154
|
0 |
394 |
if ($self->throw_immediate) { } |
155
|
0 |
0 |
$self->enable_history ? : |
169
|
11 |
383 |
if (&JSON::is_bool(scalar $self->current_instance)) { } |
170
|
9 |
2 |
if ($self->current_instance == JSON::true()) { } |
187
|
850 |
2636 |
grep({$self->{'current_type'} eq $_;} @types) > 0 ? : |