Branch Coverage

blib/lib/Dpkg/Vendor/Ubuntu.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
49 0 253 if ($hook eq 'before-source-build') { }
0 253 elsif ($hook eq 'package-keyrings') { }
0 253 elsif ($hook eq 'archive-keyrings') { }
0 253 elsif ($hook eq 'archive-keyrings-historic') { }
1 252 elsif ($hook eq 'register-custom-fields') { }
250 2 elsif ($hook eq 'post-process-changelog-entry') { }
2 0 elsif ($hook eq 'update-buildflags') { }
55 0 0 if (defined $fields->{'Version'} and defined $fields->{'Maintainer'} and $fields->{'Version'} =~ /ubuntu/)
57 0 0 unless ($fields->{'Maintainer'} =~ /ubuntu/i)
58 0 0 if (length $ENV{'DEBEMAIL'} and $ENV{'DEBEMAIL'} =~ /\@ubuntu\.com/) { }
64 0 0 unless ($fields->{'Original-Maintainer'})
91 7 243 if (scalar @$bugs)
105 2 0 unless ($build_opts->has('noopt'))
109 1 1 if (&Dpkg::Arch::debarch_eq($arch, 'ppc64el'))