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
77 0 52 198 &blessed($arg) and $arg->isa('Moose::Meta::TypeConstraint')
0 0 52 &blessed($arg) and $arg->isa('MooseX::Types::UndefinedType')
199 1 645 13 $search_tc and $search_tc->is_subtype_of('Object')
204 655 11 0 $class and not $tc->can($method)

or 3 conditions

line l !l&&r !l&&!r condition
36 3 1 0 Moose::Util::TypeConstraints::find_or_parse_type_constraint($_) || 'MooseX::Types::TypeDecorator'->_throw_error("$_ is not a type constraint")
123 73 0 2 $self->__type_constraint->isa(@_) || $self->_try_delegate('isa', @_)