| blib/lib/JSON/Schema/Modern/Vocabulary/OpenAPI_3_0.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 6 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 89 | 2 | 9 | if not defined $data and $$schema{"nullable"} |
| 98 | 0 | 0 | if $type eq $want or $want eq "number" and $type eq "integer" or $type eq "string" and $$state{"stringy_numbers"} and &looks_like_number($data) and $want eq 'number' || $want eq 'integer' && $data == int $data or $want eq "boolean" and $$state{"scalarref_booleans"} and $type eq "reference to SCALAR" |
| 100 | 2 | 1 | $$schema{'nullable'} ? : |