Branch Coverage

blib/lib/CPANPLUS/Dist/Debora/Package/RPM.pm
Criterion Covered Total %
branch 13 42 30.9


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())
188 1 0 $self->is_noarch ? :
236 0 1 if (exists $PROVIDES_FOR{$dist_name})
249 0 1 if (exists $OBSOLETES_FOR{$dist_name})
259 25 0 if ($text)
462 1 0 unless ($topdir)
464 1 0 if ($homedir)
469 0 1 unless ($topdir)
482 0 1 if (defined $ENV{'EPOCH'} and $ENV{'EPOCH'} =~ /\A \d+ \z/msux)
494 0 1 if ($rpm_cmd)
503 0 0 if ($ok)
505 0 0 if ($output =~ /\A \d+ \z/msux)
519 0 1 $epoch_env > $epoch_sys ? :
533 1 0 unless ($distribution)
537 1 0 if ($os_release and $os_release =~ /$PRETTY_NAME/u)