<commit_before>{% extends 'WebProfilerBundle:Profiler:layout.twig' %}

{% block menu %}
<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Events" src="{{ asset('bundles/webprofiler/images/events.png') }}" />
Events
{% endblock %}

{% block panel %}
    <h2>Called Events</h2>

    <table>
        <tr>
            <th>Event</th>
            <th>Caller</th>
            <th>Listener</th>
        </tr>
        {% for event in collector.calledevents %}
            <tr>
                <td><code>{{ event.event }}</code></td>
                <td><code>{{ event.caller|abbr_class }}</code></td>
                <td><code>{{ event.listener|abbr_method }}()</code></td>
            </tr>
        {% endfor %}
    </table>

    {% if collector.notcalledevents %}
        <h2>Not Called Events</h2>

        <table>
            <tr>
                <th>Event</th>
                <th>Listener</th>
            </tr>
            {% for event in collector.notcalledevents %}
                <tr>
                    <td><code>{{ event.event }}</code></td>
                    <td><code>{{ event.listener|abbr_method }}()</code></td>
                </tr>
            {% endfor %}
        </table>
    {% endif %}
{% endblock %}<commit_msg>[Event] Collected data is about listener (not event) calls<commit_after>{% extends 'WebProfilerBundle:Profiler:layout.twig' %}

{% block menu %}
<img style="margin: 0 5px 0 0; vertical-align: middle; width: 32px" width="32" height="32" alt="Events" src="{{ asset('bundles/webprofiler/images/events.png') }}" />
Events
{% endblock %}

{% block panel %}
    <h2>Called Listeners</h2>

    <table>
        <tr>
            <th>Event</th>
            <th>Caller</th>
            <th>Listener</th>
        </tr>
        {% for elements in collector.calledlisteners %}
            <tr>
                <td><code>{{ elements.event }}</code></td>
                <td><code>{{ elements.caller|abbr_class }}</code></td>
                <td><code>{{ elements.listener|abbr_method }}()</code></td>
            </tr>
        {% endfor %}
    </table>

    {% if collector.notcalledlisteners %}
        <h2>Not Called Listeners</h2>

        <table>
            <tr>
                <th>Event</th>
                <th>Listener</th>
            </tr>
            {% for elements in collector.notcalledlisteners %}
                <tr>
                    <td><code>{{ elements.event }}</code></td>
                    <td><code>{{ elements.listener|abbr_method }}()</code></td>
                </tr>
            {% endfor %}
        </table>
    {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.18230155715913407, 'fraction_numerical': 0.010634257500949488, 'mean_word_length': 1.740894901144641, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '7133625', 'n_tokens_mistral': 889, 'n_tokens_neox': 789, 'n_words': 158}