blib/lib/Moose/Meta/TypeConstraint/Parameterizable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
31 | 0 | 341 | unless $self->has_constraint_generator |
33 | 140 | 201 | if $type->is_subtype_of($self->name) |
36 | 2 | 199 | if $self->has_coercion and $self->coercion->has_coercion_for_type($type->parent->name) |
56 | 1 | 336 | unless $self->has_inline_generator |
78 | 133 | 0 | if (my $parent = $self->parent) |
79 | 3 | 130 | if ($parent->can("type_parameter")) |
80 | 2 | 1 | unless ($contained_tc->is_a_type_of($parent->type_parameter)) |
88 | 131 | 0 | if ($contained_tc->isa('Moose::Meta::TypeConstraint')) { } |