Branch Coverage

blib/lib/CPANPLUS/Dist/Debora/Package/RPM.pm
Criterion Covered Total %
branch 14 44 31.8


line true false branch
68 0 2 if (@commands == grep({can_run($_);} @commands))
70 0 0 if (-f "/etc/redhat-release" or -d "/usr/lib/rpm/suse")
101 0 0 if ($self->installdirs eq "site")
112 0 0 if (not $spec) { }
117 0 0 unless ($ok)
122 0 0 if ($ok)
146 0 0 if (is_testing())
181 1 0 if ($license eq "Artistic-1.0-Perl OR GPL-1.0-or-later")
202 1 0 if ($self->is_noarch) { }
250 0 1 if (exists $PROVIDES_FOR{$dist_name})
263 0 1 if (exists $OBSOLETES_FOR{$dist_name})
273 24 0 if ($text)
478 1 0 unless ($topdir)
480 1 0 if ($homedir)
485 0 1 unless ($topdir)
498 0 1 if (defined $ENV{'EPOCH'} and $ENV{'EPOCH'} =~ /\A \d+ \z/msux)
510 0 1 if ($rpm_cmd)
519 0 0 if ($ok)
521 0 0 if ($output =~ /\A \d+ \z/msux)
535 0 1 $epoch_env > $epoch_sys ? :
549 1 0 unless ($distribution)
553 1 0 if ($os_release and $os_release =~ /$PRETTY_NAME/u)