| blib/lib/MooseX/Types/TypeDecorator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 12 | 18 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 79 | 0 | 58 | 210 | builtin::blessed($arg) and $arg->isa("Moose::Meta::TypeConstraint") |
| 0 | 0 | 58 | builtin::blessed($arg) and $arg->isa("MooseX::Types::UndefinedType") | |
| 201 | 1 | 669 | 16 | $search_tc and $search_tc->is_subtype_of("Object") |
| 206 | 679 | 14 | 0 | $class and not $tc->can($method) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 39 | 3 | 1 | 0 | Moose::Util::TypeConstraints::find_or_parse_type_constraint($_) || __PACKAGE__->_throw_error("$_ is not a type constraint") |
| 125 | 62 | 0 | 3 | $self->__type_constraint->isa(@_) || $self->_try_delegate('isa', @_) |