Branch Coverage

blib/lib/Slackware/Slackget/PkgTools.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
54 0 0 if not defined $config and ref $config ne 'Slackware::Slackget::Config'
76 0 0 if defined $args{'fake_mode'}
95 0 0 unless defined $self->{'DATA'}{'info-output'} and $self->{'DATA'}{'info-output'}
96 0 0 if defined $self->{'DATA'}{'info-output'} and $self->{'DATA'}{'info-output'}
100 0 0 if $client and defined $self->{'DATA'}{'connection-id'} and $self->{'DATA'}{'connection-id'}
136 0 0 if ($pkg->getValue('install_later')) { }
0 0 elsif (-e "$self->{'CONF'}{'common'}{'update-directory'}/package-cache/" . $pkg->get_id . '.tgz') { }
139 0 0 unless -e '/tmp/slack_get_boot_install'
145 0 0 if (system("2>>$self->{'CONF'}{'common'}{'log'}{'log-file'} $self->{'CONF'}{'common'}{'pkgtools'}{'installpkg-binary'} $self->{'CONF'}{'common'}{'update-directory'}/package-cache/" . $pkg->get_id . '.tgz') == 0) { }
167 0 0 if (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }
205 0 0 if (-e "$self->{'CONF'}{'common'}{'update-directory'}/package-cache/" . $pkg->get_id . '.tgz') { }
209 0 0 if (system("2>>$self->{'CONF'}{'common'}{'log'}{'log-file'} $self->{'CONF'}{'common'}{'pkgtools'}{'upgradepkg-binary'} $self->{'CONF'}{'common'}{'update-directory'}/package-cache/" . $pkg->get_id . '.tgz') == 0) { }
227 0 0 if (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }
262 0 0 if (-e "$self->{'CONF'}{'common'}{'packages-history-dir'}/" . $pkg->get_id) { }
267 0 0 if (system("$self->{'CONF'}{'common'}{'pkgtools'}{'removepkg-binary'} " . $pkg->get_id) == 0) { }
288 0 0 if (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }