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)
162 0 3 if ($opts_build->has('noopt')) { }
177 0 3 if ($use_feature{'future'}{'lfs'})
181 0 0 if ($abi_bits == 32 and $cpu_bits == 32)
190 0 3 if ($use_feature{'qa'}{'bug'})
212 0 3 if ($use_feature{'qa'}{'canary'})
227 3 0 if ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
236 0 3 if ($build_path =~ m[[^-+:.0-9a-zA-Z~/_]])
243 3 0 if ($use_feature{'reproducible'}{'timeless'})
248 3 0 if ($use_feature{'reproducible'}{'fixfilepath'} or $use_feature{'reproducible'}{'fixdebugpath'})
254 0 3 if ($use_feature{'reproducible'}{'fixfilepath'}) { }
272 0 0 if ($use_feature{'sanitize'}{'address'} and $use_feature{'sanitize'}{'thread'})
277 0 3 if ($use_feature{'sanitize'}{'address'} or $use_feature{'sanitize'}{'thread'})
282 0 3 if ($use_feature{'sanitize'}{'address'})
289 0 3 if ($use_feature{'sanitize'}{'thread'})
296 0 3 if ($use_feature{'sanitize'}{'leak'})
300 0 3 if ($use_feature{'sanitize'}{'undefined'})
330 0 3 unless (exists $builtin_pie_arch{$arch})
335 0 3 if (not $os =~ /^(?:linux|kfreebsd|knetbsd|hurd)$/ or $cpu =~ /^(?:hppa|avr32)$/)
342 0 3 if ($cpu =~ /^(?:ia64|alpha|hppa|nios2)$/ or $arch eq 'arm')
349 0 3 if ($cpu =~ /^(?:ia64|hppa|avr32)$/)
355 0 3 if ($opts_build->has('noopt'))
361 0 3 if ($use_feature{'hardening'}{'relro'} == 0)
366 0 3 if ($use_feature{'hardening'}{'stackprotector'} == 0)
372 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'}) { }
399 3 0 if ($use_feature{'hardening'}{'stackprotectorstrong'}) { }
0 0 elsif ($use_feature{'hardening'}{'stackprotector'}) { }
420 3 0 if ($use_feature{'hardening'}{'fortify'})
425 3 0 if ($use_feature{'hardening'}{'format'})
434 3 0 if ($use_feature{'hardening'}{'relro'})
439 0 3 if ($use_feature{'hardening'}{'bindnow'})
465 0 0 unless -l $pathname
468 0 0 if ($linkname eq "usr$pathname" or $linkname eq "/usr$pathname")
483 0 0 if -f $_