Branch Coverage

blib/lib/MouseX/Types/Enum.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
43 1 14 if (caller 2 ne 'MouseX::Types::Enum')
50 0 21 unless (caller() eq $child and not ref $child)
60 12 202 if (exists $reserved_subs{$sub_name} and not exists $dup_allow_subs{$sub_name})
72 7 17 if exists $ignored_subs{$sub_name}
74 1 16 if scalar(@args) % 2
75 1 15 unless defined $id
78 1 14 if (exists $child->_enums->{$id})
89 1 166 if ($class and $class ne $child)
111 1 4 if ref $class
117 1 3 if ref $class