blib/lib/JSON/TypeInference.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
32 | 3 | 21 | if ($type_class eq 'JSON::TypeInference::Type::Array') { } |
3 | 18 | elsif ($type_class eq 'JSON::TypeInference::Type::Object') { } | |
43 | 1 | 21 | if ('JSON::TypeInference::Type::Maybe'->looks_like_maybe($candidate_types)) { } |
2 | 19 | elsif (scalar @$candidate_types > 1) { } |