Branch Coverage

blib/lib/Dpkg/Conf.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
103 0 0 unless -e "$Dpkg::CONFDIR/$file"
120 0 0 if length $ENV{'HOME'}
122 0 0 unless length $confdir
123 0 0 unless -e "$confdir/dpkg/$file"
124 0 0 if length $confdir
166 70 60 unless /=/
168 55 75 if /^#/ or length $_ == 0
169 2 73 if (/^-[^-]/ and not $self->{'allow_short'})
173 73 0 if (/^([^=]+)(?:=(.*))?$/) { }
175 55 18 unless $name =~ /^-/
176 64 9 if (defined $value) { }
177 59 5 unless $value =~ s/^"(.*)"$/$1/
202 21 24 if not &$remove($_)
224 0 21 if defined $fh