Condition Coverage

blib/lib/JSON/Schema/Modern/Vocabulary/FormatAnnotation.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
69 351 0 3 $$state{"stringy_numbers"} and $type eq "string"
351 0 3 $$state{"stringy_numbers"} and $type eq "string" and ref $$spec{"type"} eq "ARRAY" ? CORE::any({$_ eq "number";} @{$$spec{"type"}}) : $$spec{"type"} eq "number"
0 1 2 $$state{"stringy_numbers"} and $type eq "string" and ref $$spec{"type"} eq "ARRAY" ? CORE::any({$_ eq "number";} @{$$spec{"type"}}) : $$spec{"type"} eq "number" and &looks_like_number($data)

or 3 conditions

line l !l&&r !l&&!r condition
53 71 698 157 $$state{"evaluator"}->_get_format_validation($$schema{"format"}) // "JSON::Schema::Modern::Vocabulary::FormatAssertion"->_get_default_format_validation($state, $$schema{"format"})
69 415 23 331 ref $$spec{"type"} eq "ARRAY" ? CORE::any({$type eq $_;} @{$$spec{"type"}}) : $type eq $$spec{"type"} or $$state{"stringy_numbers"} and $type eq "string" and ref $$spec{"type"} eq "ARRAY" ? CORE::any({$_ eq "number";} @{$$spec{"type"}}) : $$spec{"type"} eq "number" and &looks_like_number($data)