blib/lib/Class/Enumemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 16 | 93.7 |
line | true | false | branch |
---|---|---|---|
17 | 11 | 9 | if (ref $v) { } |
25 | 4 | 3 | if $meta->{'values'} |
26 | 2 | 5 | if $meta->{'getter'} |
27 | 3 | 4 | if $meta->{'indexer'} |
39 | 5 | 6 | if ($meta->{'indexer'}) |
57 | 1 | 14 | wantarray ? : |
70 | 19 | 0 | defined $field_val ? : |
90 | 1 | 4 | unless defined wantarray |