blib/lib/enum/hash.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 20 | 70.0 |
line | true | false | branch |
---|---|---|---|
23 | 8 | 37 | if (substr($item, 0, 1) eq ':') { } |
5 | 32 | elsif (index($item, '=') != -1) { } | |
2 | 30 | elsif (index($item, '..') != -1) { } | |
31 | 5 | 3 | if (index($item, '=') != -1) { } |
42 | 8 | 0 | defined $tmp_prefix ? : |
84 | 10 | 0 | if ($change =~ /(-?)(.+)/) { } |
93 | 0 | 10 | if ($index =~ /^0x[\da-f]+$/i) { } |
0 | 10 | elsif ($index =~ /^0\d/) { } | |
10 | 0 | elsif (not $index =~ /[^\d_]/) { } | |
104 | 0 | 10 | if ($index =~ /\D/) { } |