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