Branch Coverage

blib/lib/Dpkg/Vendor/Debian.pm
Criterion Covered Total %
branch 42 94 44.6


line true false branch
51 0 261 if ($hook eq 'package-keyrings') { }
0 261 elsif ($hook eq 'archive-keyrings') { }
0 261 elsif ($hook eq 'archive-keyrings-historic') { }
0 261 elsif ($hook eq 'builtin-build-depends') { }
0 261 elsif ($hook eq 'builtin-build-conflicts') { }
8 253 elsif ($hook eq 'register-custom-fields') { }
0 253 elsif ($hook eq 'extend-patch-header') { }
3 250 elsif ($hook eq 'update-buildflags') { }
0 250 elsif ($hook eq 'builtin-system-build-paths') { }
0 250 elsif ($hook eq 'build-tainted-by') { }
0 250 elsif ($hook eq 'sanitize-environment') { }
66 0 0 if ($ch_info->{'Closes'})
154 0 3 unless (defined $abi and defined $libc and defined $os and defined $cpu)
163 0 3 if ($opts_build->has('noopt')) { }
181 0 3 if ($use_feature{'future'}{'lfs'})
185 0 0 if ($abi_bits == 32 and $cpu_bits == 32)
194 0 3 if ($use_feature{'qa'}{'bug'})
216 0 3 if ($use_feature{'qa'}{'canary'})
231 3 0 if ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
240 0 3 if ($build_path =~ m[[^-+:.0-9a-zA-Z~/_]])
247 3 0 if ($use_feature{'reproducible'}{'timeless'})
252 3 0 if ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
258 3 0 if ($use_feature{'reproducible'}{'fixfilepath'}) { }
276 0 0 if ($use_feature{'sanitize'}{'address'} and $use_feature{'sanitize'}{'thread'})
281 0 3 if ($use_feature{'sanitize'}{'address'} or $use_feature{'sanitize'}{'thread'})
286 0 3 if ($use_feature{'sanitize'}{'address'})
293 0 3 if ($use_feature{'sanitize'}{'thread'})
300 0 3 if ($use_feature{'sanitize'}{'leak'})
304 0 3 if ($use_feature{'sanitize'}{'undefined'})
334 0 3 unless (exists $builtin_pie_arch{$arch})
339 0 3 if (not $os =~ /^(?:linux|kfreebsd|knetbsd|hurd)$/ or $cpu =~ /^(?:hppa|avr32)$/)
346 0 3 if ($cpu =~ /^(?:ia64|alpha|hppa|nios2)$/ or $arch eq 'arm')
353 0 3 if ($cpu =~ /^(?:ia64|hppa|avr32)$/)
359 0 3 if ($opts_build->has('noopt'))
365 0 3 if ($use_feature{'hardening'}{'relro'} == 0)
370 0 3 if ($use_feature{'hardening'}{'stackprotector'} == 0)
376 0 3 if (defined $use_feature{'hardening'}{'pie'} and $use_feature{'hardening'}{'pie'} and not $builtin_feature{'hardening'}{'pie'}) { }
0 3 elsif (defined $use_feature{'hardening'}{'pie'} and not $use_feature{'hardening'}{'pie'} and $builtin_feature{'hardening'}{'pie'}) { }
403 3 0 if ($use_feature{'hardening'}{'stackprotectorstrong'}) { }
0 0 elsif ($use_feature{'hardening'}{'stackprotector'}) { }
424 3 0 if ($use_feature{'hardening'}{'fortify'})
429 3 0 if ($use_feature{'hardening'}{'format'})
438 3 0 if ($use_feature{'hardening'}{'relro'})
443 0 3 if ($use_feature{'hardening'}{'bindnow'})
469 0 0 unless -l $pathname
472 0 0 if ($linkname eq "usr$pathname" or $linkname eq "/usr$pathname")
487 0 0 if -f $_