| blib/lib/JSON/Schema/Modern/Vocabulary/FormatAssertion.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 159 | 0 | 18 | unless assert_keyword_type($state, $schema, "string") |
| 165 | 2 | 363 | if $schema->{'format'} eq "uri-template" |
| 190 | 2 | 12 | $default_spec ? : |
| 316 | 2 | $default_spec ? : | |
| 14 | 318 | $evaluator_spec ? : | |
| 197 | 58 | 93 | $schema->{'format'} =~ /^[aeio]/u ? : |
| 151 | 179 | if $spec and is_type($spec->{'type'}, $data) and not $spec->{'sub'}->($data) |