{# -*- 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 %}