blib/lib/MooseX/Types/TypeDecorator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 18 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 0 | 52 | 198 | &blessed($arg) and $arg->isa('Moose::Meta::TypeConstraint') |
0 | 0 | 52 | &blessed($arg) and $arg->isa('MooseX::Types::UndefinedType') | |
201 | 1 | 645 | 15 | $search_tc and $search_tc->is_subtype_of('Object') |
206 | 655 | 13 | 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($_) || 'MooseX::Types::TypeDecorator'->_throw_error("$_ is not a type constraint") |
125 | 73 | 0 | 3 | $self->__type_constraint->isa(@_) || $self->_try_delegate('isa', @_) |