blib/lib/MouseX/Types/Enum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 21 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 0 | 21 | caller() eq $child and not ref $child |
60 | 32 | 170 | 12 | exists $reserved_subs{$sub_name} and not exists $dup_allow_subs{$sub_name} |
89 | 0 | 166 | 1 | $class and $class ne $child |
128 | 23 | 26 | 17 | ref $first eq ref $second && $first->id eq $second->id |
line | l | !l | condition |
---|---|---|---|
138 | 29 | 7 | $_ENUM_METAS{$class} //= {} |
143 | 29 | 7 | $class->_enum_meta->{'enums'} //= {} |
148 | 0 | 0 | $class->_enum_meta->{'overwrite_flg'} //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
112 | 4 | 0 | 0 | $class->_enums->{$id} // confess("$id is not found.") |