def get_match_details(match):
    """
    Return a mapping of match details for LicenseMatch ``match``.
    """
    details = {}
    details['score'] = match.score()
    details['start_line'] = match.start_line
    details['end_line'] = match.end_line
    details['matcher'] = match.matcher
    details['rule_length'] = match.rule.length
    details['matched_length'] = match.len()
    details['match_coverage'] = match.coverage()
    details['rule_relevance'] = match.rule.relevance
    details['identifier'] = match.rule.identifier
    details['license_expression'] = match.rule.license_expression
    details['is_license_text'] = match.rule.is_license_text
    details['is_license_notice'] = match.rule.is_license_notice
    details['is_license_reference'] = match.rule.is_license_reference
    details['is_license_tag'] = match.rule.is_license_tag
    details['is_license_intro'] = match.rule.is_license_intro
    details['matched_text'] = match.matched_text(whole_lines=False, highlight=True)
    return details