def _get_pc_covered(self):
if self.n_statements > <NUM_LIT:0>:<EOL><INDENT>pc_cov = (<NUM_LIT> * (self.n_executed + self.n_executed_branches) /<EOL>(self.n_statements + self.n_branches))<EOL><DEDENT>else:<EOL><INDENT>pc_cov = <NUM_LIT><EOL><DEDENT>return pc_cov<EOL>
Returns a single percentage value for coverage.