{# -*- 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 last path segment #}
{% set clean_path = row.filename.rstrip('/') %}
{% set display_name = clean_path.split('/')[0] if '/' in clean_path else clean_path %}
{% set display_name = display_name if (display_name and info.html_nested) else row.filename %}
{% set is_file = '.' in display_name and not display_name.endswith('...') %}
{% if row.link is none and not is_file %}
{% elif is_file %}
{% 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 %}