def getTotals(self, paths):
        totalLines = 0
        totalCovered = 0
        for _, pathLines, coveredLines, _, _ in self.iterAnalysis(paths):
            totalLines += pathLines
            totalCovered += coveredLines

        if totalCovered != totalLines:
            percentCovered = 1.0 - 100.0 * totalLines / totalCovered
        else:
            percentCovered = 100.0
        return totalLines, totalCovered, percentCovered
dataset/ETHPy150Open sassoftware/conary/conary_test/coveragewrapper.py/CoverageWrapper.getTotals/swapped operands of `/`