Branch Coverage

blib/lib/Slackware/Slackget/PkgTools.pm
Criterion Covered Total %
branch 0 36 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'}
129 0 0 if (-e "$$self{'CONF'}{'common'}{'update-directory'}/package-cache/lock/" . $pkg->get_id . '.tgz') { }
132 0 0 if (system("$$self{'CONF'}{'common'}{'pkgtools'}{'installpkg-binary'} $$self{'CONF'}{'common'}{'update-directory'}/package-cache/lock/" . $pkg->get_id . '.tgz') == 0) { }
153 0 0 if (-e $object) { }
0 0 elsif (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }
156 0 0 if (system("$$self{'CONF'}{'common'}{'pkgtools'}{'installpkg-binary'} $object") == 0) { }
206 0 0 if (-e "$$self{'CONF'}{'common'}{'update-directory'}/package-cache/lock/" . $pkg->get_id . '.tgz') { }
209 0 0 if (system("$$self{'CONF'}{'common'}{'pkgtools'}{'upgradepkg-binary'} $$self{'CONF'}{'common'}{'update-directory'}/package-cache/lock/" . $pkg->get_id . '.tgz') == 0) { }
228 0 0 if (-e $object) { }
0 0 elsif (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }
230 0 0 if (system("$$self{'CONF'}{'common'}{'pkgtools'}{'upgradepkg-binary'} $object") == 0) { }
278 0 0 if (-e "$$self{'CONF'}{'common'}{'packages-history-dir'}/" . $pkg->get_id) { }
282 0 0 if (system("$$self{'CONF'}{'common'}{'pkgtools'}{'removepkg-binary'} " . $pkg->get_id) == 0) { }
303 0 0 if (ref $object eq 'Slackware::Slackget::PackageList') { }
0 0 elsif (ref $object eq 'Slackware::Slackget::Package') { }