blib/lib/Moose/Meta/TypeCoercion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 50 | ref $constraint_name ? : |
48 | 1 | 49 | unless (defined $type_constraint) |
63 | 159 | 27 | if (&$constraint($thing)) |
75 | 2 | 0 | exists $coercion_map{$type_name} ? : |
87 | 1 | 4 | if (exists $has_coercion{$constraint_name}) |