line |
true |
false |
branch |
18
|
2 |
370 |
if ($self->check_type($instance, "null")) |
28
|
10 |
360 |
unless $self->check_type($instance, $type) |
35
|
360 |
10 |
if $result |
47
|
0 |
15 |
unless $self->check_type($instance, "array") |
56
|
6 |
22 |
unless $r |
64
|
2 |
6 |
unless $schema->{'type'} |
65
|
5 |
1 |
if $nullable |
66
|
1 |
0 |
unless (defined $instance) |
79
|
0 |
14 |
unless $readOnly |
80
|
12 |
2 |
if $data->{'direction'} eq "response" |
92
|
0 |
11 |
unless $writeOnly |
93
|
9 |
2 |
if $data->{'direction'} eq "request" |
105
|
0 |
93 |
unless $self->check_type($instance, "object") |
110
|
158 |
26 |
if exists $instance->{$prop} |
112
|
26 |
0 |
if ($schema->{'properties'} and $schema->{'properties'}{$prop}) |
118
|
8 |
18 |
if $direction eq "request" and $read_only |
119
|
6 |
12 |
if $direction eq "response" and $write_only |
134
|
0 |
28 |
unless $self->check_type($instance, "object") |
151
|
24 |
4 |
if $scope |
155
|
0 |
28 |
unless $schema |
163
|
0 |
28 |
if ($@) |
181
|
0 |
6 |
unless $deprecated |
198
|
2 |
26 |
if $ref =~ m[/] |
199
|
0 |
26 |
if $ref =~ /\.json$/ |