@classmethod
def convert_name_to_id(cls, name: str) ->str:
    """
        Convert result name to configuration name.

        The name given in CCCC results is different than the name given in CCCC
        configuration. This will map the name in the configuration file to the
        name given in the results.
        """
    name_id = ''
    if name == 'IF4':
        name_id = 'IF4'
    elif name == 'fan_out_concrete':
        name_id = 'FOc'
    elif name == 'IF4_visible':
        name_id = 'IF4v'
    elif name == 'coupling_between_objects':
        name_id = 'CBO'
    elif name == 'fan_in_visible':
        name_id = 'FIv'
    elif name == 'weighted_methods_per_class_unity':
        name_id = 'WMC1'
    elif name == 'fan_out':
        name_id = 'FO'
    elif name == 'weighted_methods_per_class_visibility':
        name_id = 'WMCv'
    elif name == 'fan_out_visible':
        name_id = 'FOv'
    elif name == 'IF4_concrete':
        name_id = 'IF4c'
    elif name == 'depth_of_inheritance_tree':
        name_id = 'DIT'
    elif name == 'number_of_children':
        name_id = 'NOC'
    elif name == 'fan_in_concrete':
        name_id = 'FIc'
    elif name == 'fan_in':
        name_id = 'FI'
    elif name == 'lines_of_comment':
        name_id = 'COM'
    elif name == 'lines_of_code_per_line_of_comment':
        name_id = 'L_C'
    elif name == 'McCabes_cyclomatic_complexity':
        name_id = 'MVGper'
    elif name == 'lines_of_code':
        name_id = 'LOCp'
    elif name == 'McCabes_cyclomatic_complexity_per_line_of_comment':
        name_id = 'M_C'
    return name_id
