Condition Coverage

blib/lib/Mojo/Collection/Role/Transform.pm
Criterion Covered Total %
condition 16 18 88.8


and 3 conditions

line !l l&&!r l&&r condition
14 9 37 7 ref $_[0] eq 'HASH' and _parse_flatten_option(shift())
24 10 40 7 ref $_[0] eq 'HASH' and _parse_flatten_option(shift())

or 2 conditions

line l !l condition
79 20 73 $hash->{$key} ||= {}
93 114 6 ref $get_keys || 'scalar value'
99 52 6 ref $get_value || 'scalar value'

or 3 conditions

line l !l&&r !l&&!r condition
41 8 85 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