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")
100 0 0 if ($self->installdirs eq "site")
111 0 0 if (not $spec) { }
116 0 0 unless ($ok)
121 0 0 if ($ok)
145 0 0 if (is_testing())
180 1 0 if ($license eq "Artistic-1.0-Perl OR GPL-1.0-or-later")
201 1 0 $self->is_noarch ? :
249 0 1 if (exists $PROVIDES_FOR{$dist_name})
262 0 1 if (exists $OBSOLETES_FOR{$dist_name})
272 24 0 if ($text)
483 1 0 unless ($topdir)
485 1 0 if ($homedir)
490 0 1 unless ($topdir)
503 0 1 if (defined $ENV{'EPOCH'} and $ENV{'EPOCH'} =~ /\A \d+ \z/msux)
515 0 1 if ($rpm_cmd)
524 0 0 if ($ok)
526 0 0 if ($output =~ /\A \d+ \z/msux)
540 0 1 $epoch_env > $epoch_sys ? :
554 1 0 unless ($distribution)
558 1 0 if ($os_release and $os_release =~ /$PRETTY_NAME/u)