Branch Coverage

blib/lib/JSON/Schema/Modern/Vocabulary/FormatAssertion.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
179 300 16 if grep(($format eq $_), @{$formats_by_spec_version{$state->{'spec_version'}}})
184 0 18 unless assert_keyword_type($state, $schema, "string")
190 2 347 if $schema->{'format'} eq "uri-template"
219 2 12 $default_spec ? :
298 4 $default_spec ? :
14 302 $evaluator_spec ? :
226 58 89 $schema->{'format'} =~ /^[aeio]/u ? :
147 165 if $spec and is_type($spec->{'type'}, $data) and not $spec->{'sub'}->($data)