Branch Coverage

blib/lib/Dpkg/BuildFlags.pm
Criterion Covered Total %
branch 16 62 25.8


line true false branch
134 0 0 if length $ENV{'HOME'}
135 0 0 if (length $confdir)
152 0 0 if (Dpkg::Build::Env::has($envvar))
156 0 0 if (Dpkg::Build::Env::has($envvar))
160 0 0 if (Dpkg::Build::Env::has($envvar))
164 0 0 if (Dpkg::Build::Env::has($envvar))
182 0 0 if (Dpkg::Build::Env::has($envvar))
186 0 0 if (Dpkg::Build::Env::has($envvar))
190 0 0 if (Dpkg::Build::Env::has($envvar))
194 0 0 if (Dpkg::Build::Env::has($envvar))
243 1 7 if defined $src
244 0 8 if $maint
271 0 1 unless length $tostrip
276 1 0 if defined $src
277 0 1 if $maint
290 58 30 if (length $self->{'flags'}{$flag}) { }
295 1 87 if defined $src
296 0 88 if $maint
309 3 0 if (length $self->{'flags'}{$flag}) { }
314 1 2 if defined $src
315 1 2 if $maint
332 0 0 unless -e $file
333 0 0 unless open my $conf_fh, '<', $file
336 0 0 if /^\s*#/
337 0 0 if /^\s*$/
338 0 0 if (/^(append|prepend|set|strip)\s+(\S+)\s+(\S.*\S)\s*$/i) { }
340 0 0 unless (exists $self->{'flags'}{$flag})
344 0 0 if (lc $op eq 'set') { }
0 0 elsif (lc $op eq 'strip') { }
0 0 elsif (lc $op eq 'append') { }
0 0 elsif (lc $op eq 'prepend') { }