{# -*- engine: jinja -*- #} {# Check if we have any function or branch data #}
Name
Lines
{% if SHOW_BRANCH_COVERAGE %}
Branches
{% endif %} {% if SHOW_CONDITION_COVERAGE %}
Conditions
{% endif %} {% if SHOW_DECISION %}
Decisions
{% endif %}
Functions
{% if SHOW_CALLS %}
Calls
{% endif %} {% if info.diff_report %}
Diff
{% endif %}
{% for row in entries %} {# Extract clean display name: just filename or first path segment #} {% set display_name = row.display_name.split('/', maxsplit=1)[0] if (info.html_nested and row.is_dir) else row.display_name %}
{% if row.is_dir %} {% if row.link %} {% else %} {% endif %} {% else %} {% endif %} {% if row.link is not none %} {{display_name}} {% else %} {{display_name}} {% endif %}
{% if row.lines.coverage == '-' %} - {% else %} {{row.lines.exec}} / {{row.lines.total}} {% if row.lines.excluded %} , {{row.lines.excluded}} excl {% endif %}
{% if row.lines.coverage != '-' %}{{row.lines.coverage}}%{% else %}-{% endif %} {% endif %}
{% if SHOW_BRANCH_COVERAGE %}
{% if row.branches.coverage == '-' %} - {% else %} {{row.branches.exec}} / {{row.branches.total}} {% if row.branches.excluded %} , {{row.branches.excluded}} excl {% else %} {% endif %} {{row.branches.coverage}}% {% endif %}
{% endif %} {% if SHOW_CONDITION_COVERAGE %}
{% if row.conditions.coverage == '-' %} - {% else %} {{row.conditions.exec}} / {{row.conditions.total}} {% if row.conditions.excluded %} , {{row.conditions.excluded}} excl {% else %} {% endif %} {{row.conditions.coverage}}% {% endif %}
{% endif %} {% if SHOW_DECISION %}
{% if row.decisions.coverage == '-' %} - {% else %} {{row.decisions.exec}} / {{row.decisions.total}} {{row.decisions.coverage}}% {% endif %}
{% endif %}
{% if row.functions.coverage == '-' %} - {% else %} {{row.functions.exec}} / {{row.functions.total}} {% if row.functions.excluded %} , {{row.functions.excluded}} excl {% else %} {% endif %} {{row.functions.coverage}}% {% endif %}
{% if SHOW_CALLS %}
{% if row.calls.coverage == '-' %} - {% else %} {{row.calls.exec}} / {{row.calls.total}} {% if row.calls.excluded %} , {{row.calls.excluded}} excl {% else %} {% endif %} {{row.calls.coverage}}% {% endif %}
{% endif %} {% if info.diff_report %}
{{row.diff.replace('_', ' ').capitalize()}}
{% endif %}
{% endfor %}