line |
true |
false |
branch |
28
|
5 |
0 |
wantarray ? : |
33
|
6 |
12 |
if (ref $schema eq 'HASH') |
36
|
18 |
0 |
if (blessed $schema and $schema->can('match')) { } |
37
|
7 |
11 |
if ($schema->match($value)) { } |
40
|
5 |
6 |
if ($schema->error) |
107
|
1 |
12 |
unless ref $value eq 'HASH' |
114
|
3 |
8 |
$ThaiSchema::_NAME ? : |
115
|
5 |
6 |
unless (ThaiSchema::_match_schema($$value{$key}, $$schema{$key})) |
120
|
1 |
11 |
if (%rest_keys and not $ThaiSchema::ALLOW_EXTRA) |
142
|
1 |
3 |
unless ref $value eq 'ARRAY' |
144
|
2 |
1 |
if (defined $schema) |
148
|
2 |
0 |
unless ThaiSchema::_match_schema($elem, $schema) |
163
|
0 |
0 |
unless defined $value |
184
|
0 |
12 |
unless defined $value |
185
|
4 |
8 |
if ($ThaiSchema::STRICT) { } |
188
|
2 |
2 |
if $flags & 12288 and not $flags & 16384 |
201
|
1 |
15 |
unless defined $value |
202
|
5 |
10 |
if ($ThaiSchema::STRICT) { } |
205
|
2 |
1 |
if $flags & 12288 and int $value == $value and not $flags & 16384 |
221
|
0 |
10 |
unless defined $value |
222
|
5 |
5 |
if ($ThaiSchema::STRICT) { } |
225
|
2 |
3 |
if $flags & 12288 and not $flags & 16384 |
239
|
0 |
6 |
unless defined $value |
240
|
2 |
4 |
if &JSON::is_bool($value) |
241
|
2 |
1 |
if ref $value eq 'SCALAR' and $$value eq 1 || $$value eq 0 |