Condition Coverage

blib/lib/Data/NestedKey.pm
Criterion Covered Total %
condition 27 49 55.1


and 3 conditions

line !l l&&!r l&&r condition
47 0 3 0 @kv_list and @kv_list % 2 != 0
57 3 2 19 ref $_[0] && builtin::reftype($_[0]) eq 'ARRAY'
61 17 1 89 ref $_[0] && builtin::reftype($_[0]) eq 'HASH'
114 0 0 0 $create and not exists $current->{$key}
164 2 0 1 _is_hash($current->{$final_key}) and _is_hash($value)
193 12 0 0 _is_hash($current->{$final_key}) and not _is_hash($value)
216 1 1 45 _is_hash($current) and exists $current->{$key}
248 6 0 4 $FORMAT eq "JSON" and $JSON_PRETTY
271 0 0 4 _is_hash($current) and exists $current->{$key}
301 0 0 2 _is_hash($current) and exists $current->{$final_key}
0 0 2 _is_hash($current) and exists $current->{$final_key} and _is_array($current->{$final_key})
308 0 0 2 _is_hash($current) and exists $current->{$final_key}
338 0 4 11 _is_hash($current) and exists $current->{$key}
347 0 1 3 _is_array($current) and defined $current->[$idx]

or 2 conditions

line l !l condition
114 0 0 $current->{$key} //= {}
157 7 6 $current->{$key} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
316 0 1 2 not _is_hash($parent->{$key}) or %{$parent->{$key};}