Condition Coverage

blib/lib/Hash/Layout.pm
Criterion Covered Total %
condition 53 81 65.4


and 3 conditions

line !l l&&!r l&&r condition
93 11 65 0 $Lvl->delimiter and $Lvl->delimiter eq $self->deep_delimiter
113 0 0 1 blessed($args[0]) and blessed($args[0]) eq 'Hash::Layout'
147 12 0 16 ref $val and ref $val eq 'HASH'
12 8 8 ref $val and ref $val eq 'HASH' and $self->lookup_mode eq 'merge'
152 0 0 8 ref $val and ref $val eq 'HASH'
162 16 0 23 ref $val and ref $val eq 'HASH'
183 0 0 0 ref $v && ref $v eq 'HASH' && scalar keys %$v > 0
325 0 0 412 defined $key and not ref $key
329 100 0 312 ref $val && ref $val eq 'HASH'
369 291 23 42 $index == 0 and $$bmref
407 0 0 360 ref $hash and ref $hash eq 'HASH'
415 0 0 360 ref $hval and ref $hval eq 'HASH'
426 0 0 3 $key and $key ne ''
455 2939 11 5 $Lvl->registered_keys and $Lvl->registered_keys->{$key}
511 0 0 12 ref $val and ref $val eq 'ARRAY'
519 0 0 79 ref $itm and ref $itm eq 'HASH'
523 64 15 0 $$itm{'name'} and $seen{$$itm{'name'}}++
527 67 12 0 scalar @$val == ++$i and $$itm{'delimiter'}

or 2 conditions

line l !l condition
51 9 0 $self->_all_level_keys->{$index} || {}
314 3 391 $$self{'_force_composite'} || 0
347 291 65 $$self{'_path_bitmask'} ||= \$bm
392 3 0 $self->deep_delimiter || '.'
450 3216 92 $index ||= 0
471 817 133 $index ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
331 21 35 356 $force_composite or $self->_is_composite_key($key, $index)
456 33 8 2909 $Lvl->_peel_str_key($key) || $self->_is_composite_key($key, $index + 1)
472 43 3 904 $no_fill ||= $self->no_fill
493 129 0 478 $last_level || $no_fill && $$self{'_composite_key_peeled'}
494 10 136 461 $self->no_pad || $as_is