def __decide_h_extension(self):
    "\n        Decides which language 'owns' how many .h files\n\n        :returns: The report with divided header files\n        "
    report = self.__report
    h_files = report['C']['.h']
    if (h_files > 0):
        c_files = (sum(report['C'].values()) - h_files)
        cpp_files = ((sum(report['C++'].values()) - h_files) - report['C++']['.c'])
        oc_files = (sum(report['Objective-C'].values()) - h_files)
        lang_fiels = ((c_files + cpp_files) + oc_files)
        if (lang_fiels == 0):
            report['C']['.h'] = 1
            report['C++']['.h'] = 0
            report['Objective-C']['.h'] = 0
        else:
            report['C']['.h'] = ((h_files * c_files) / lang_fiels)
            report['C++']['.h'] = ((h_files * cpp_files) / lang_fiels)
            report['Objective-C']['.h'] = ((h_files * oc_files) / lang_fiels)
    return report
Decides which language 'owns' how many .h files

:returns: The report with divided header files
def __decide_h_extension(self):
    "\n        Decides which language 'owns' how many .h files\n\n        :returns: The report with divided header files\n        "
    report = self.__report
    h_files = report['C']['.h']
    if (h_files > 0):
        c_files = (sum(report['C'].values()) - h_files)
        cpp_files = ((sum(report['C++'].values()) - h_files) - report['C++']['.c'])
        oc_files = (sum(report['Objective-C'].values()) - h_files)
        lang_fiels = ((c_files + cpp_files) + oc_files)
        if (lang_fiels == 0):
            report['C']['.h'] = 1
            report['C++']['.h'] = 0
            report['Objective-C']['.h'] = 0
        else:
            report['C']['.h'] = ((h_files * c_files) / lang_fiels)
            report['C++']['.h'] = ((h_files * cpp_files) / lang_fiels)
            report['Objective-C']['.h'] = ((h_files * oc_files) / lang_fiels)
    return report