blib/lib/Type/Coercion/Union.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
25 | 74 | 0 | if $self->{'type_constraint'} |
30 | 2 | 0 | if (my $union = $self->{'_union_of'}) |
40 | 0 | 24 | unless $type->isa("Type::Tiny::Union") |
46 | 2 | 46 | unless $tc->has_coercion |
54 | 1 | 0 | if @_ |
62 | 1 | 0 | if $self->has_type_constraint |
77 | 0 | 14 | unless $tc->has_coercion |
78 | 0 | 14 | unless $tc->coercion->can_be_inlined |