Condition Coverage

blib/lib/Hub/Parse/Hash.pm
Criterion Covered Total %
condition 0 43 0.0


and 3 conditions

line !l l&&!r l&&r condition
214 0 0 0 isa($ptr, 'HASH') and not keys %$ptr
0 0 0 isa($ptr, 'ARRAY') and not @$ptr
0 0 0 ref $ptr eq 'SCALAR' and not $$ptr
235 0 0 0 @parts >= 3 and $parts[0] =~ /^Hash(File|Format)$/
301 0 0 0 $name and not $name =~ /^$PAT_LVAL+$/
310 0 0 0 defined $parent and isa($parent, 'HASH')
351 0 0 0 defined $parent and isa($parent, 'HASH')
373 0 0 0 defined $name and $name

or 2 conditions

line l !l condition
294 0 0 shift() || ''
295 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 0 $root ||= $$opts{'as_array'} ? [] : Hub::mkinst('SortedHash')
214 0 0 0 isa($ptr, 'HASH') and not keys %$ptr or isa($ptr, 'ARRAY') and not @$ptr
0 0 0 isa($ptr, 'HASH') and not keys %$ptr or isa($ptr, 'ARRAY') and not @$ptr or ref $ptr eq 'SCALAR' and not $$ptr
305 0 0 0 isa($ref, 'HASH') or isa($ref, 'ARRAY')
349 0 0 0 index($value, "\n") > -1 or $value =~ /^\s+/