Branch Coverage

blib/lib/MouseX/Types/Enum.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
43 1 15 if (caller 2 ne 'MouseX::Types::Enum')
50 0 20 unless (caller() eq $child and not ref $child)
60 12 190 if (exists $reserved_subs{$sub_name} and not exists $dup_allow_subs{$sub_name})
72 7 18 if exists $ignored_subs{$sub_name}
74 1 17 if scalar(@args) % 2
75 0 17 unless $id
78 1 16 if (exists $child->_enums->{$id})
85 1 171 if ($class and $class ne $child)
110 1 4 if ref $class
116 1 4 if ref $class