blib/lib/Mojo/Collection/Role/Transform.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 18 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
14 | 10 | 40 | 7 | ref $_[0] eq 'HASH' and _parse_flatten_option(shift()) |
24 | 10 | 40 | 7 | ref $_[0] eq 'HASH' and _parse_flatten_option(shift()) |
line | l | !l | condition |
---|---|---|---|
79 | 24 | 99 | $cur_hash->{$key} ||= {} |
93 | 119 | 6 | ref $get_keys || 'scalar value' |
99 | 52 | 6 | ref $get_value || 'scalar value' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 8 | 97 | 0 | _create_leading_key_hashes($hash, $keys)->{$keys->[-1]} ||= 'Mojo::Collection'->new |
48 | 7 | 11 | 0 | _create_leading_key_hashes($hash, $keys)->{$keys->[-1]} ||= 'Mojo::Collection'->new |