{% import "macros.html" as ui %} {# The dead code findings (doctracker.analysis), filtered and grouped by file. The filters go in the URL, so a filtered list can be kept or shared; the same filters as the dead_code MCP tool. #}
{{ ui.view_header("code", "CODE :: Dead Code", "What nothing in the project uses: the code graph and vulture together. Check before deleting: code used only from outside the project, or through data, is not seen.") }}
{{ shown }} of {{ total }}
{% for group in groups %}

{{ group.file }} {{ group.rows | length }}

{% for row in group.rows %} {% endfor %}
NameKindVerdictConfidenceUsed byWhy
{% if row.link %}{{ row.name }}{% else %}{{ row.name }}{% endif %} line {{ row.line }} {{ row.kind }} {{ row.verdict }} {{ row.confidence }}% {{ row.used_by }} {{ row.message }}
{% else %}

{% if total %}Nothing matches these filters.{% else %}No dead code found.{% endif %}

{% endfor %}