blib/lib/MooseX/DataModel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 12 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 4 | 0 | 4 | $constraint->has_coercion && $constraint->coercion->has_coercion_for_type('HashRef') |
32 | 4 | 4 | $constraint->isa('Moose::Meta::TypeConstraint::Class') and not $constraint->has_coercion && $constraint->coercion->has_coercion_for_type('HashRef') | |
87 | 1 | 8 | 5 | defined $type_constraint and not $type_constraint->has_coercion |
145 | 1 | 3 | 8 | defined $type_constraint and not $type_constraint->has_coercion |