| blib/lib/Moose/Meta/TypeConstraint/Registry.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 10 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 15236 | 3274 | $type_name && exists $self->type_constraints->{$type_name} ? : |
| 40 | 0 | 27009 | unless defined $type_name |
| 47 | 3 | 11831 | unless ($type and &blessed($type) and $type->isa("Moose::Meta::TypeConstraint")) |
| 58 | 0 | 0 | if $self->has_type_constraint($type_name) |
| 60 | 0 | 0 | if $self->has_parent_registry |