def get_coverage_value(coverage_report):
    """
    extract coverage from last line:
    TOTAL                                        116     22    81%
    """
    coverage_value = coverage_report.split()[-1].rstrip('%')
    coverage_value = int(coverage_value)
    return coverage_value