Branch Coverage

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


line true false branch
132 1 40 if $def->{'isa'} =~ /hash/iu
133 38 2 unless ref $node eq "HASH"
140 1 1 if ($source eq $CONF_FROM_FILE) { }
1 0 elsif ($source eq $CONF_FROM_ENV) { }
141 1 0 if (-f -r $ref)
146 1 0 if exists $ENV{$ref}
152 41 1 if (defined $node)
153 2 39 is_ref_node($el, $node) ? :
154 41 0 if defined $v
160 0 52 $b =~ /^$SLASH/u ? :
165 37 1 if (defined $tc) { }
179 21 19 match_glob($_, $path) ? :
186 38 0 if (defined $v)
187 37 1 if (typecheck $isa, $v) { }
215 37 0 if (is_hashref $el)
217 1 52 if $def eq any(@RESERVED)
225 38 14 is_leaf_node($el->{$def}) ? :
231 19 18 if ($self->_base eq $SLASH)
234 22 24 $path eq $SLASH ? :
236 32 14 if (is_leaf_node $n) { }
238 4 28 if (@hooks)
259 40 0 if $dynamic
289 0 0 unless defined $name
302 0 0 if (defined $name) { }