blib/lib/MouseX/Types/Enum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 21 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 0 | 19 | caller() eq $child and not ref $child |
60 | 30 | 142 | 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 | 28 | 6 | $_ENUM_METAS{$class} //= {} |
143 | 28 | 6 | $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.") |