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