Branch Coverage

File:Dpkg/Vendor/Debian.pm
Coverage:45.9%

line%coveragebranch
5150TFif ($hook eq 'package-keyrings') { }
50TFelsif ($hook eq 'archive-keyrings') { }
50TFelsif ($hook eq 'archive-keyrings-historic') { }
50TFelsif ($hook eq 'builtin-build-depends') { }
50TFelsif ($hook eq 'builtin-build-conflicts') { }
100TFelsif ($hook eq 'register-custom-fields') { }
50TFelsif ($hook eq 'extend-patch-header') { }
100TFelsif ($hook eq 'update-buildflags') { }
50TFelsif ($hook eq 'builtin-system-build-paths') { }
50TFelsif ($hook eq 'build-tainted-by') { }
50TFelsif ($hook eq 'sanitize-environment') { }
100TFelsif ($hook eq 'backport-version-regex') { }
660TFif ($ch_info->{'Closes'})
15950TFunless (defined $abi and defined $libc and defined $os and defined $cpu)
17850TFif ($opts_build->has('noopt')) { }
19050TFif ($use_feature{'future'}{'lfs'})
1940TFif ($abi_bits == 32 and $cpu_bits == 32)
20350TFif ($use_feature{'qa'}{'bug'})
22550TFif ($use_feature{'qa'}{'canary'})
24050TFif ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
24950TFif ($build_path =~ m[[^-+:.0-9a-zA-Z~/_]])
25650TFif ($use_feature{'reproducible'}{'timeless'})
26150TFif ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
26750TFif ($use_feature{'reproducible'}{'fixfilepath'}) { }
27850TFif ($use_feature{'optimize'}{'lto'})
2860TFif ($use_feature{'sanitize'}{'address'} and $use_feature{'sanitize'}{'thread'})
29150TFif ($use_feature{'sanitize'}{'address'} or $use_feature{'sanitize'}{'thread'})
29650TFif ($use_feature{'sanitize'}{'address'})
30350TFif ($use_feature{'sanitize'}{'thread'})
31050TFif ($use_feature{'sanitize'}{'leak'})
31450TFif ($use_feature{'sanitize'}{'undefined'})
34450TFunless (exists $builtin_pie_arch{$arch})
34950TFif (not $os =~ /^(?:linux|kfreebsd|knetbsd|hurd)$/ or $cpu =~ /^(?:hppa|avr32)$/)
35650TFif ($cpu =~ /^(?:ia64|alpha|hppa|nios2)$/ or $arch eq "arm")
36350TFif ($cpu =~ /^(?:ia64|hppa|avr32)$/)
36950TFif ($opts_build->has("noopt"))
37550TFif ($use_feature{'hardening'}{'relro'} == 0)
38050TFif ($use_feature{'hardening'}{'stackprotector'} == 0)
38650TFif (defined $use_feature{'hardening'}{'pie'} and $use_feature{'hardening'}{'pie'} and not $builtin_feature{'hardening'}{'pie'}) { }
50TFelsif (defined $use_feature{'hardening'}{'pie'} and not $use_feature{'hardening'}{'pie'} and $builtin_feature{'hardening'}{'pie'}) { }
40150TFif ($use_feature{'hardening'}{'stackprotectorstrong'}) { }
0TFelsif ($use_feature{'hardening'}{'stackprotector'}) { }
41050TFif ($use_feature{'hardening'}{'fortify'})
41550TFif ($use_feature{'hardening'}{'format'})
42450TFif ($use_feature{'hardening'}{'relro'})
42950TFif ($use_feature{'hardening'}{'bindnow'})
4550TFunless -l $pathname
4580TFif ($linkname eq "usr$pathname" or $linkname eq "/usr$pathname")
4730TFif -f $_