def iterAnalysis(self, paths):
        coverage = imp.load_source('coverage', self._executable)
        coverage = coverage.the_coverage
        coverage.cache = self._dataPath
        coverage.restore()
        for path in paths:
            _, statements, excluded, missing, missingFmted = coverage.analysis2(path)
            total = len(statements)
            covered = total - len(missing)
            if covered < total:
                percentCovered = 100.0 * covered / total
            else:
                percentCovered = 100.0
            yield path, total, covered, percentCovered, missingFmted
dataset/ETHPy150Open sassoftware/conary/conary_test/coveragewrapper.py/CoverageWrapper.iterAnalysis/original