Branch Coverage

blib/lib/Mojo/Collection/Role/Transform.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
14 7 48 if (ref $_[0] eq 'HASH' and _parse_flatten_option(shift()))
24 7 48 if (ref $_[0] eq 'HASH' and _parse_flatten_option(shift()))
33 2 21 if @extra_values
56 89 16 unless (exists $$leading_hash{$keys->[-1]})
67 11 7 unless (exists $$leading_hash{$keys->[-1]})
88 3 125 unless (@_)
94 9 116 unless $get_keys_ref eq 'CODE'
97 58 58 if (@_) { }
100 9 49 if $get_value_ref ne 'CODE'
113 56 44 ref $_ ? :
117 64 30 unless %$options
119 2 28 if keys %$options > 1
123 2 26 if %$options