Condition Coverage

blib/lib/Mouse/Meta/TypeConstraint.pm
Criterion Covered Total %
condition 14 20 70.0


and 3 conditions

line !l l&&!r l&&r condition
49 6 0 13 &$parameterized_check($_) && &$my_check($_)
61 878 5987 0 defined $check and ref $check ne 'CODE'
195 409 0 371 ref $value and defined &overload::StrVal
209 7 66 0 not ref $other and $other eq '__ANON__'

or 2 conditions

line l !l condition
112 3 27 $self->{'coercion_map'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
41 51 0 2 $args{'constraint_generator'} || $class->throw_error("The $args{'name'} constraint cannot be used," . " because $type_parameter doesn't subtype" . ' from a parameterizable type')
237 44 1 0 $name ||= sprintf('%s[%s]', $self->name, $param->name)