Branch Coverage

lib/Config/AST/Node/Section.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
44 0 69 unless my $root = shift()
48 48 21 if ($root->isa('Config::AST'))
77 327 124 if (my $key = shift())
79 104 223 if (my $val = shift())
131 2 0 if (my $old = $self->subtree($k)) { }
132 0 2 if ($old->is_section) { }
1 1 elsif (ref $old->value eq 'ARRAY') { }
187 0 0 if ($elt->[1]->is_section) { }