def calc_pct(missed, total):
    """Calculates coverage percentage.

    :param missed: string value of missed count, e.g. 77
    :param total: string value of total count, e.g. 1,489
    :return: float value of percentage
    """
    return 100.0 - float(missed.replace(',', '')) / float(total.replace(',', '')) * 100.0