def report(self):
    '\n        Decides which headers files are (probable) from which language,\n        calculates the main language and  removes redundant / unnecessary\n        detailed information from the report\n\n        :param    report:  The complete report this task created\n\n        :returns: Report that contains all scrabbed information\n                  eg.:\n                  LanguageDetector:\n                      main_language: C\n                      languages:\n                      - C\n                      - C++\n                      - Python\n        '
    pre_report = self.__decide_h_extension()
    main_language = self.__calculate_main_language(pre_report)
    report = {}
    report['main_language'] = main_language
    report['languages'] = self.__calculate_used_languages(pre_report)
    return report
Decides which headers files are (probable) from which language,
calculates the main language and  removes redundant / unnecessary
detailed information from the report

:param    report:  The complete report this task created

:returns: Report that contains all scrabbed information
          eg.:
          LanguageDetector:
              main_language: C
              languages:
              - C
              - C++
              - Python
def report(self):
    '\n        Decides which headers files are (probable) from which language,\n        calculates the main language and  removes redundant / unnecessary\n        detailed information from the report\n\n        :param    report:  The complete report this task created\n\n        :returns: Report that contains all scrabbed information\n                  eg.:\n                  LanguageDetector:\n                      main_language: C\n                      languages:\n                      - C\n                      - C++\n                      - Python\n        '
    pre_report = self.__decide_h_extension()
    main_language = self.__calculate_main_language(pre_report)
    report = {}
    report['main_language'] = main_language
    report['languages'] = self.__calculate_used_languages(pre_report)
    return report