blib/lib/Sub/HandlesVia/HandlerLibrary/Enum.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 6 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 0 | 0 | 6 | is_Str($handler_name) and $handler_name =~ /^(is|assign|set)_(.+)$/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 0 | 1 | 0 | $spec->{'isa'} ||= "Type::Tiny::Enum"->new("values", $values) |