Branch Coverage

blib/lib/Config/Structured.pm
Criterion Covered Total %
branch 36 48 75.0


line true false branch
131 1 40 if $def->{'isa'} =~ /hash/iu
132 38 2 unless ref $node eq "HASH"
139 1 1 if ($source eq $CONF_FROM_FILE) { }
1 0 elsif ($source eq $CONF_FROM_ENV) { }
140 1 0 if (-f -r $ref)
145 1 0 if exists $ENV{$ref}
151 41 1 if (defined $node)
152 2 39 is_ref_node($el, $node) ? :
153 41 0 if defined $v
159 0 52 $b =~ /^$SLASH/u ? :
164 37 1 if (defined $tc) { }
178 21 19 match_glob($_, $path) ? :
185 38 0 if (defined $v)
186 37 1 if (typecheck $isa, $v) { }
214 37 0 if (is_hashref $el)
216 1 52 if $def eq any(@RESERVED)
224 38 14 is_leaf_node($el->{$def}) ? :
230 19 18 if ($self->_base eq $SLASH)
233 22 24 $path eq $SLASH ? :
235 32 14 if (is_leaf_node $n) { }
237 4 28 if (@hooks)
258 40 0 if $dynamic
288 0 0 unless defined $name
301 0 0 if (defined $name) { }