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