Branch Coverage

blib/lib/Config/General/Extended.pm
Criterion Covered Total %
branch 18 76 23.6


line true false branch
41 0 0 if ($element =~ /^([^\[]*)\[(\d+)\]$/) { }
49 0 0 if (ref $xconfig eq 'ARRAY') { }
0 0 elsif (not exists $xconfig->{$element}) { }
56 0 0 if (ref $xconfig->{$element} eq 'ARRAY') { }
57 0 0 if (not defined $index) { }
62 0 0 if (exists $xconfig->{$element}[$index]) { }
89 4 0 if (exists $this->{'config'}{$key}) { }
90 0 4 if (not $this->{'config'}{$key}) { }
0 4 elsif (ref $this->{'config'}{$key} eq 'ARRAY') { }
4 0 elsif (ref $this->{'config'}{$key} eq 'HASH') { }
97 0 0 if (ref $element eq 'HASH') { }
104 0 0 if ($this->{'StrictObjects'})
118 0 0 if ($this->{'StrictObjects'}) { }
140 0 3 if (defined $value) { }
144 3 0 if (exists $this->{'config'}{$key}) { }
148 0 0 if ($this->{'StrictObjects'}) { }
165 0 0 if (exists $this->{'config'}{$key}) { }
169 0 0 if ($this->{'StrictObjects'}) { }
185 0 0 if (exists $this->{'config'}{$key})
188 0 0 if ($this->{'StrictObjects'}) { }
203 3 0 if (exists $this->{'config'}{$key}) { }
204 1 2 if (ref $this->{'config'}{$key} eq 'HASH') { }
223 2 0 if (exists $this->{'config'}{$key}) { }
224 0 2 if (ref $this->{'config'}{$key} eq 'ARRAY') { }
242 0 0 if (exists $this->{'config'}{$key} and not ref $this->{'config'}{$key})
255 0 0 if (exists $this->{'config'}{$key}) { }
270 0 3 if (not $key) { }
3 0 elsif (exists $this->{'config'}{$key} and ref $this->{'config'}{$key} eq 'HASH') { }
271 0 0 if (ref $this->{'config'} eq 'HASH') { }
293 0 0 if (exists $this->{'config'}{$key}) { }
309 0 0 if ($file)
318 0 0 unless $this->exists($key)
319 0 0 if (@_) { }
335 2 2 if (defined $value) { }
2 0 elsif (exists $this->{'config'}{$key}) { }
340 0 2 if ($this->is_hash($key)) { }
0 2 elsif ($this->is_array($key)) { }
351 0 0 if ($this->{'StrictObjects'}) { }