<commit_before>"""

.. module:: report
    :synopsis: Specialized Report class for Wapiti.

.. moduleauthor:: <NAME>

"""

from libptp.report import AbstractReport
from libptp.tools.wapiti.parser import WapitiXMLParser


class WapitiReport(AbstractReport):
    """Retrieve the information of a WAPITI report."""

    #: :class:`str` -- Name of the tool.
    __tool__ = 'wapiti'<commit_msg>[wapiti] Fix typo in docstring.<commit_after>"""

.. module:: report
    :synopsis: Specialized Report class for Wapiti.

.. moduleauthor:: <NAME>

"""

from libptp.report import AbstractReport
from libptp.tools.wapiti.parser import WapitiXMLParser


class WapitiReport(AbstractReport):
    """Retrieve the information of a Wapiti report."""

    #: :class:`str` -- Name of the tool.
    __tool__ = 'wapiti'
{'fraction_non_alphanumeric': 0.12437185929648241, 'fraction_numerical': 0.0, 'mean_word_length': 4.044303797468355, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4125546', 'n_tokens_mistral': 262, 'n_tokens_neox': 254, 'n_words': 73}