Branch Coverage

blib/lib/Config/Options.pm
Criterion Covered Total %
branch 41 68 60.2


line true false branch
68 0 1 if ($Config::Options::Config{'useithreads'}) { }
114 2 3 if (ref $option) { }
3 0 elsif ($option) { }
119 0 3 if (defined $value)
141 0 2 unless ref $option
153 2 3 if (ref $value)
175 0 3 if (++$depth > 20)
180 0 1 if (&Scalar::Util::refaddr($in) == $_)
182 2 1 if (&Scalar::Util::reftype($in) eq 'HASH') { }
1 0 elsif (&Scalar::Util::reftype($in) eq 'ARRAY') { }
0 0 elsif (ref $in) { }
185 1 4 if (ref $v) { }
197 0 1 if (ref $v) { }
222 0 21 if (++$depth > 20)
226 0 21 if (&Scalar::Util::refaddr($from) == &Scalar::Util::refaddr($to))
230 1 41 if (&Scalar::Util::refaddr($from) == $_)
232 0 20 unless ref $from and ref $to
233 20 0 if (&Scalar::Util::reftype($from) eq &Scalar::Util::reftype($to)) { }
234 17 3 if (&Scalar::Util::reftype($from) eq 'HASH') { }
3 0 elsif (&Scalar::Util::reftype($from) eq 'ARRAY') { }
236 51 2 if (exists $$to{$k}) { }
237 51 0 if (defined $v)
238 15 36 if (ref $v) { }
247 0 2 if (ref $v) { }
258 0 3 if (ref $v) { }
312 1 0 if (ref $filename) { }
319 0 1 unless open OUT, '>', $file
322 0 1 unless close OUT
347 2 0 if (ref $filename eq 'ARRAY') { }
355 3 0 if (-e $f)
356 3 0 if (exists $$self{'verbose'} and $$self{'verbose'})
361 0 3 unless open IN, $f
367 3 0 if $o
388 0 4 if ($@) { }