blib/lib/JSONSchema/Validator/Constraints/OAS30.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 20 | 85.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 0 | 0 | 26 | $schema->{'properties'} and $schema->{'properties'}{$prop} |
118 | 14 | 4 | 8 | $direction eq "request" and $read_only |
119 | 4 | 8 | 6 | $direction eq "response" and $write_only |
line | l | !l | condition |
---|---|---|---|
20 | 1 | 1 | $schema->{'nullable'} // 0 |
114 | 10 | 16 | $prop->{'readOnly'} // 0 |
115 | 8 | 18 | $prop->{'writeOnly'} // 0 |
139 | 4 | 24 | $discriminator->{'mapping'} // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
144 | 4 | 24 | 0 | $ref || $type |