line |
true |
false |
branch |
46
|
39 |
15 |
unless @props == 1 |
65
|
1 |
0 |
if grep $reffed->{$_}, @{$sig2names{$sig};} |
110
|
15 |
21 |
if $reffed->{$defname} |
114
|
157 |
11 |
unless ($thismask & $supermask) == $thismask |
130
|
148 |
5 |
unless $prop->{'enum'} |
|
5 |
148 |
if (@{[] unless $prop->{'enum'};}) |
140
|
37 |
61 |
ref $field_in eq 'ARRAY' ? : |
150
|
3 |
34 |
ref $field_in eq 'ARRAY' ? : |
152
|
34 |
3 |
if @fields == 1 |
168
|
0 |
101 |
unless $ref =~ s[^#/definitions/][] |
183
|
2 |
23 |
unless $schema->get_table($name) |
195
|
0 |
25 |
unless $field |
197
|
22 |
3 |
if $required |
206
|
1 |
37 |
if (my $view_of = $def->{'x-view-of'}) |
214
|
24 |
3 |
unless ($props->{'id'} or $m2m) |
218
|
16 |
21 |
unless $def->{'required'} |
224
|
12 |
164 |
if (my $ref = $thisprop->{'$ref'}) { } |
|
11 |
153 |
elsif (($thisprop->{'type'} // '') eq 'array') { } |
234
|
11 |
0 |
if (my $ref = $thisprop->{'items'}{'$ref'}) |
250
|
34 |
119 |
if ($propname eq 'id') |
254
|
39 |
114 |
if ($field and $prop2required{$propname} and $propname ne 'id') |
258
|
3 |
34 |
if ($m2m) |
269
|
0 |
4 |
unless $from->{'required'} |
|
4 |
2 |
unless $ignore_required |
270
|
0 |
6 |
unless $def->{'properties'} |
271
|
5 |
1 |
if $from->{'type'} |
283
|
34 |
4 |
unless exists $thisdef->{'allOf'} |
285
|
4 |
4 |
unless my $ref = $partial->{'$ref'} |
302
|
2 |
2 |
if exists $partial->{'$ref'} |
311
|
2 |
33 |
if (exists $thisdef->{'allOf'}) |
314
|
2 |
2 |
if (exists $partial->{'$ref'}) { } |
334
|
22 |
136 |
if (my $ref = $theseprops->{$propname}{'$ref'} || $theseprops->{$propname}{'items'} && $theseprops->{$propname}{'items'}{'$ref'}) |
354
|
18 |
2 |
if $thisprop->{'$ref'} or $thisprop->{'items'} and $thisprop->{'items'}{'$ref'} |
356
|
5 |
114 |
if (($thisprop->{'type'} // '') eq 'object') { } |
|
0 |
114 |
elsif ($thisprop->{'items'} and ($thisprop->{'items'}{'type'} // '') eq 'object') { } |
382
|
17 |
124 |
if $thisprop->{'$ref'} |
384
|
122 |
2 |
unless $thisprop->{'items'} and ($thisprop->{'items'}{'type'} // '') ne 'object' |
413
|
118 |
8 |
unless $thisprop->{'$ref'} or $thisprop->{'items'} and $thisprop->{'items'}{'$ref'} |
416
|
17 |
8 |
if ($thisprop->{'$ref'}) { } |
|
8 |
0 |
elsif ($thisprop->{'items'} and $thisprop->{'items'}{'$ref'}) { } |
425
|
22 |
3 |
unless $def2aP{_ref2def($refname)} |
454
|
124 |
11 |
unless $thisprop->{'$ref'} or $thisprop->{'items'} and $thisprop->{'items'}{'$ref'} |
457
|
14 |
11 |
if ($thisprop->{'$ref'}) { } |
|
11 |
0 |
elsif ($thisprop->{'items'} and $thisprop->{'items'}{'$ref'}) { } |
467
|
23 |
2 |
unless $def2nonobj{$refdef} |
515
|
1 |
2 |
if ($f1_fromkey eq $f2_fromkey and $f1->{'from'} eq $f2->{'from'}) |
553
|
0 |
34 |
unless $SQL::Translator::Parser::OpenAPI::a->{'from'} cmp $SQL::Translator::Parser::OpenAPI::b->{'from'} |
569
|
5 |
292 |
if $thisprop->{$name} |