blib/lib/Return/Type.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 22 | 59.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
33 | 0 | 4 | 4 | $type->has_coercion and $type->coercion->can_be_inlined |
52 | 4 | 0 | 16 | $_{$_} &&= to_TypeTiny($_{$_}) |
118 | 1 | 0 | 1 | @$data == 1 and $data->[0] eq "Void" |
line | l | !l | condition |
---|---|---|---|
69 | 2 | 18 | exists $_{$_} or $_{$_} = $_{'coerce'} |
114 | 2 | 0 | ref $data || "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 10 | 0 | 0 | $_{'scalar'} ||= &Any() |
54 | 6 | 4 | 0 | $_{'list'} ||= $_{'scalar'} == &Any() ? &Any() : &ArrayRef([$_{'scalar'}]) |
119 | 0 | 1 | 0 | $Void ||= Any->complementary_type->create_child_type("name", "Void") |