blib/lib/Moose/Meta/TypeConstraint/Registry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
35 | 14946 | 3223 | $type_name && exists $self->type_constraints->{$type_name} ? : |
40 | 0 | 26437 | unless defined $type_name |
47 | 3 | 11549 | 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 |