Condition Coverage

lib/Config/Neat/Render.pm
Criterion Covered Total %
condition 36 51 70.5


and 3 conditions

line !l l&&!r l&&r condition
267 0 114 8 is_neat_array($node) || is_array($node) and not is_homogenous_simple_array($node)
271 211 4 1 is_array($subnode) and not is_homogenous_simple_array($subnode)
276 118 5 93 is_hash($subnode) and not exists $subnode->{''}
284 0 216 0 $recursive and is_hash($subnode) || is_neat_array($subnode) || is_array($subnode)
361 10 203 8 $should_escape and $scalar =~ /\s/
365 211 0 10 not $should_escape and $scalar ne ''
388 10 0 0 $$wasref == $BLOCK and $options->{'separate_blocks'}
402 112 2 0 $$wasref == $BLOCK and $options->{'separate_blocks'}
418 54 48 0 $$wasref and $options->{'separate_blocks'}
420 1 101 0 is_hash($val) and exists $val->{''}
431 0 78 4 $sequential_keys and is_number($key)
476 8 93 39 not $array_mode and scalar @keys > 1

or 3 conditions

line l !l&&r !l&&!r condition
267 118 4 0 is_neat_array($node) || is_array($node)
284 202 4 10 is_hash($subnode) || is_neat_array($subnode) || is_array($subnode)
422 0 0 5 is_scalar($default_value) or is_homogenous_simple_array($default_value)
431 15 0 82 $array_mode or $sequential_keys and is_number($key)
454 1 0 139 is_array($node) or is_neat_array($node)