| blib/lib/Moose/Meta/TypeConstraint/Enum.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 14 | 85.7 | 
| line | true | false | branch | 
|---|---|---|---|
| 42 | 2 | 20 | if (scalar @{$args{'values'};} < 1) | 
| 49 | 2 | 107 | if (not defined $_) { } | 
| 2 | 105 | elsif (ref $_) { } | |
| 72 | 0 | 16 | unless $self->_has_compiled_type_constraint | 
| 92 | 2 | 3 | unless $other->isa("Moose::Meta::TypeConstraint::Enum") | 
| 97 | 1 | 2 | unless @self_values == @other_values | 
| 103 | 0 | 8 | unless $value eq $other_value |