blib/lib/JSONSchema/Validator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 24 | 70.8 |
line | true | false | branch |
---|---|---|---|
39 | 14 | 11 | if not $schema and $resource |
40 | 0 | 25 | unless defined $schema |
43 | 6 | 19 | unless $validator_class |
45 | 19 | 0 | if ($validate_schema) |
47 | 4 | 15 | unless $result |
51 | 15 | 0 | if (ref $schema eq "HASH") |
79 | 0 | 6 | unless $validator_class |
92 | 0 | 25 | unless $meta_schema_specification |
95 | 0 | 25 | unless $validator_class |
125 | 0 | 24 | if ref $schema ne "HASH" |
128 | 15 | 9 | $meta_schema ? : |
130 | 3 | 6 | if (not $specification and $schema->{'openapi'}) |