Branch Coverage

script/demerge
Criterion Covered Total %
branch 0 118 0.0


line true false branch
406 0 0 if (-e $homedir . '/' . $wipe . '.systemstate')
407 0 0 if (-e $homedir . '/' . $wipe . '.version')
408 0 0 if (-e $homedir . '/' . $wipe . '.comment')
409 0 0 if (-e $homedir . '/' . $wipe . '.world')
410 0 0 if (-e $homedir . '/' . $wipe . '.dvdb')
411 0 0 if (-d $homedir . '/' . $wipe)
418 0 0 if (lc $pxs->getParamFromFile(path($configfile)->slurp, 'usepkg', 'lastseen') eq 'yes')
425 0 0 unless (-d $homedir)
426 0 0 if (mkdir $homedir) { }
446 0 0 if ($lastSystemState)
447 0 0 if (path($homedir, $lastSystemState . '.systemstate')->slurp eq path($homedir, $time . '.systemstate')->slurp)
462 0 0 unless open FH, '>' . $homedir . '/' . $time . '.systemstate'
467 0 0 unless open FH, '>' . $homedir . '/' . $time . '.version'
472 0 0 if ($comment)
473 0 0 unless open FH, '>' . $homedir . '/' . $time . '.comment'
479 0 0 if (-e '/var/lib/portage/world')
491 0 0 unless open DVDB, '>' . $homedir . '/' . $time . '.dvdb'
496 0 0 if (-e '/var/db/pkg/' . $_ . '/USE')
501 0 0 if (-e '/var/db/pkg/' . $_ . '/IUSE')
508 0 0 if $thisIUSE eq ''
511 0 0 if ($thisIUSE eq $thisUSE)
560 0 0 unless ($CACHE_getUseSettingsOfInstalledPackageF{$t2})
564 0 0 unless ($CACHE_getUseSettingsOfRecordedPackageF{$t})
568 0 0 if ($CACHE_getUseSettingsOfInstalledPackage{$t2} eq $CACHE_getUseSettingsOfRecordedPackage{$t}) { }
595 0 0 if (getSystemStateVersion($restoreSystemState) >= $NEEDVERSION) { }
609 0 0 if ($this_src eq $this_dest)
611 0 0 if (compareCachedUseSettings($restoreSystemState . '/' . $this_src, $this_src))
617 0 0 unless ($has)
625 0 0 if ($this_src eq $this_dest)
627 0 0 if (compareCachedUseSettings($restoreSystemState . '/' . $this_src, $this_src))
633 0 0 unless ($has)
638 0 0 if ($indent) { }
639 0 0 if ($#emergePackages < 0 and $#unmergePackages < 0) { }
643 0 0 if ($#unmergePackages > -1)
649 0 0 if ($#emergePackages > -1)
653 0 0 if ($ebuildDa == 0)
661 0 0 if ($#emergePackages < 0 and $#unmergePackages < 0) { }
666 0 0 if ($#unmergePackages > -1)
674 0 0 if ($#emergePackages > -1)
679 0 0 if ($ebuildDa == 0)
699 0 0 if ($pxs->getEbuildName($u) eq $pxs->getEbuildName($e))
713 0 0 if ($pxs->getEbuildName($u) eq $pxs->getEbuildName($e))
727 0 0 if ($tmp_unmergePackages{$_}) { }
728 0 0 unless ($tmp_crossgradePackagesEN{$pxs->getEbuildName($_)})
737 0 0 if ($tmp_emergePackages{$_} and not $tmp_crossgradePackages{$_})
738 0 0 unless ($tmp_crossgradePackagesEN{$pxs->getEbuildName($_)})
744 0 0 if ($tmp_crossgradePackages{$_})
769 0 0 unless ($CACHE_getUseSettingsOfRecordedPackageF{$time . '/' . $package})
774 0 0 if (not $elements[2]) { }
791 0 0 if (-e $homedir . '/' . $timestamp . '.version')
792 0 0 unless open FH, '<' . $homedir . '/' . $timestamp . '.version'
823 0 0 if (@useflags) { }
830 0 0 if ($chars + length($thisUseClean) >= $terminalWidth)
852 0 0 if (not $DEBUG) { }
855 0 0 if ($rc == 0) { }
875 0 0 if (defined $dh)
877 0 0 if ($this_file =~ /^([0-9]+)\.systemstate$/i)
893 0 0 if ($pn)
894 0 0 if (-e $_ . '/' . $pxs->getEbuildName($ebuild) . '/' . $pn . '-' . $pxs->getEbuildVersion($ebuild) . '.ebuild')