def METHOD_NAME():
    """Parse the coverage report to return the percentage coverage.
    Returns:
        int or str: coverage percentage or 'unknown'
    """
    cov_tree = None
    cov_percent = "unknown"
    try:
        cov_tree = etree.parse("build/reports/code-coverage.xml")
    except FileNotFoundError:
        print("WARNING code-coverage.xml file not found")
    if cov_tree:
        try:
            cov_root = cov_tree.getroot()
            cov_percent = 100 * float(cov_root.get("line-rate"))
        except AttributeError as err:
            print(
                "WARNING: Attribute not found. Make sure that the file "
                "code-coverage.xml has the correct 'line-rate' attribute: ",
                err,
            )
    return cov_percent