Condition Coverage

blib/lib/MooseX/Types/TypeDecorator.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
79 0 58 215 &blessed($arg) and $arg->isa('Moose::Meta::TypeConstraint')
0 0 58 &blessed($arg) and $arg->isa('MooseX::Types::UndefinedType')
201 1 724 16 $search_tc and $search_tc->is_subtype_of('Object')
206 734 14 0 $class and not $tc->can($method)

or 3 conditions

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 71 0 3 $self->__type_constraint->isa(@_) || $self->_try_delegate('isa', @_)