Branch Coverage

blib/lib/Config/Nested.pm
Criterion Covered Total %
branch 18 42 42.8


line true false branch
213 0 4 if @_ % 2
216 0 4 unless ($self->configure(@_))
231 0 17 if @_ % 2
236 69 16 unless exists $arg{$k}
238 13 3 if (ref $arg{$k} eq '') { }
3 0 elsif (ref $arg{$k} eq 'ARRAY') { }
254 0 17 if (keys %arg)
345 12 2 if ($category ne 'defaults') { }
347 0 12 unless $this->configure($category, $line)
351 0 2 unless $this->parse($line)
411 0 0 unless (exists $$this{'section'}{$section})
427 0 0 unless @_
456 0 0 exists $$obj{$field} ? :
468 0 0 unless exists $$obj{"*$field"}
509 0 0 unless open CONFIG, $file
544 3 2 unless (@{$$this{'stack'};})
584 3 2 unless $Config::Nested::PARSER
587 0 5 unless $Config::Nested::PARSER->program($conf)
845 0 0 exists $percent{$1} ? :
864 0 0 if exists $main::obj[0]{$_[0]}
865 0 0 if exists $ENV{$_[0]}