Branch Coverage

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


line true false branch
131 1 38 if $def->{'isa'} =~ /hash/iu
132 36 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 39 1 if (defined $node)
152 2 37 is_ref_node($el, $node) ? :
153 39 0 if defined $v
159 0 49 $b =~ /^$SLASH/u ? :
164 35 1 if (defined $tc) { }
178 21 19 match_glob($_, $path) ? :
185 36 0 if (defined $v)
186 35 1 if (typecheck $isa, $v) { }
214 35 0 if (is_hashref $el)
216 1 49 if $def eq any(@RESERVED)
224 36 13 is_leaf_node($el->{$def}) ? :
230 18 17 if ($self->_base eq $SLASH)
233 21 22 $path eq $SLASH ? :
235 30 13 if (is_leaf_node $n) { }
237 4 26 if (@hooks)
258 39 0 if $dynamic
288 0 0 unless defined $name
301 0 0 if (defined $name) { }