virtualEnvironment/lib/python2.7/site-packages/coverage/results.py
def _get_pc_covered(self):
        """Returns a single percentage value for coverage."""
        if self.n_statements > 0:
            pc_cov = (100.0 * (self.n_executed + self.n_executed_branches) /
                        (self.n_statements + self.n_branches))
        else:
            pc_cov = 100.0
        return pc_cov
def _get_pc_covered(self):
        if self.n_statements > 0:
            pc_cov = (100.0 * (self.n_executed + self.n_executed_branches) /
                        (self.n_statements + self.n_branches))
        else:
            pc_cov = 100.0
        return pc_cov
def _get_pc_covered ( self ) : if self . n_statements > 0 : pc_cov = ( 100.0 * ( self . n_executed + self . n_executed_branches ) / ( self . n_statements + self . n_branches ) ) else : pc_cov = 100.0 return pc_cov
Returns a single percentage value for coverage.
Returns a single percentage value for coverage .