| line |
true |
false |
branch |
|
15
|
0 |
67 |
unless (ref $definition || '') eq 'HASH' |
|
17
|
1 |
66 |
if ($definition->{'items'}) |
|
20
|
1 |
0 |
if ($type eq 'HASH') { } |
|
|
0 |
0 |
elsif ($type eq 'ARRAY') { } |
|
27
|
42 |
25 |
if ($definition->{'properties'}) |
|
30
|
42 |
0 |
if ($type eq 'HASH') |
|
43
|
0 |
40 |
unless (ref $definition || '') eq 'HASH' |
|
46
|
3 |
37 |
if ($ref) |
|
49
|
1 |
2 |
if $def and not $ref =~ qr"^/resource/[^/]+$"u |
|
70
|
49 |
47 |
if defined $definition->{'example'} |
|
73
|
19 |
28 |
if ($ref) |
|
76
|
19 |
0 |
if $def |
|
83
|
41 |
0 |
if defined $example |
|
86
|
28 |
0 |
if $type eq 'object' |
|
88
|
0 |
0 |
if ($type eq 'array') |
|
89
|
0 |
0 |
if $result{'[]'} |
|
93
|
0 |
0 |
unless $_ =~ /\A\[([0-9]+)\]\z/u |