def scrab(self, project, filepath, file):
    '\n        Counts the files that have an extension of one of the languages\n\n        :param    project:   The project that the scrab task shall analyse\n        :param    filepath:  The filepath to the file that can be analysed\n        :param    file:      The file as string that can be analysed\n\n        :returns: Report that contains the scrabbed information of *this* file\n                  - the extensions have either a count of 0 or 1\n        '
    (filename, file_extension) = os.path.splitext(filepath)
    for language in self.__language_extensions:
        if (file_extension in self.__language_extensions[language]):
            self.__report[language][file_extension] += 1
Counts the files that have an extension of one of the languages

:param    project:   The project that the scrab task shall analyse
:param    filepath:  The filepath to the file that can be analysed
:param    file:      The file as string that can be analysed

:returns: Report that contains the scrabbed information of *this* file
          - the extensions have either a count of 0 or 1
def scrab(self, project, filepath, file):
    '\n        Counts the files that have an extension of one of the languages\n\n        :param    project:   The project that the scrab task shall analyse\n        :param    filepath:  The filepath to the file that can be analysed\n        :param    file:      The file as string that can be analysed\n\n        :returns: Report that contains the scrabbed information of *this* file\n                  - the extensions have either a count of 0 or 1\n        '
    (filename, file_extension) = os.path.splitext(filepath)
    for language in self.__language_extensions:
        if (file_extension in self.__language_extensions[language]):
            self.__report[language][file_extension] += 1