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