Branch Coverage

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


line true false branch
43 0 0 if ($element =~ /^([^\[]*)\[(\d+)\]$/) { }
51 0 0 if (ref $xconfig eq 'ARRAY') { }
0 0 elsif (not exists $xconfig->{$element}) { }
58 0 0 if (ref $xconfig->{$element} eq 'ARRAY') { }
59 0 0 if (not defined $index) { }
64 0 0 if (exists $xconfig->{$element}[$index]) { }
91 4 0 if (exists $this->{'config'}{$key}) { }
92 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') { }
99 0 0 if (ref $element eq 'HASH') { }
106 0 0 if ($this->{'StrictObjects'})
120 0 0 if ($this->{'StrictObjects'}) { }
142 0 3 if (defined $value) { }
146 3 0 if (exists $this->{'config'}{$key}) { }
150 0 0 if ($this->{'StrictObjects'}) { }
167 0 0 if (exists $this->{'config'}{$key}) { }
171 0 0 if ($this->{'StrictObjects'}) { }
187 0 0 if (exists $this->{'config'}{$key})
190 0 0 if ($this->{'StrictObjects'}) { }
205 3 0 if (exists $this->{'config'}{$key}) { }
206 1 2 if (ref $this->{'config'}{$key} eq 'HASH') { }
225 2 0 if (exists $this->{'config'}{$key}) { }
226 0 2 if (ref $this->{'config'}{$key} eq 'ARRAY') { }
244 0 0 if (exists $this->{'config'}{$key} and not ref $this->{'config'}{$key})
257 0 0 if (exists $this->{'config'}{$key}) { }
272 0 3 if (not $key) { }
3 0 elsif (exists $this->{'config'}{$key} and ref $this->{'config'}{$key} eq 'HASH') { }
273 0 0 if (ref $this->{'config'} eq 'HASH') { }
295 0 0 if (exists $this->{'config'}{$key}) { }
311 0 0 if ($file)
320 0 0 unless $this->exists($key)
321 0 0 if (@_) { }
337 2 2 if (defined $value) { }
2 0 elsif (exists $this->{'config'}{$key}) { }
342 0 2 if ($this->is_hash($key)) { }
0 2 elsif ($this->is_array($key)) { }
353 0 0 if ($this->{'StrictObjects'}) { }