Requirements Tracing Report

{%- if trace_result.is_success -%}✓{%- else -%}✗{%- endif -%} {%- if trace_result.is_success -%} All requirements properly traced {%- else -%} Issues found in requirements tracing {%- endif -%}

Summary

Total Items: {{ trace_result.total_items }}
Defects: {{ trace_result.defect_count }}
{%- if trace_result.defect_count > 0 -%}

Defect Breakdown

    {%- for message in trace_result.defect_statistics_messages() -%}
  • {{ message }}
  • {%- endfor -%}
{%- endif -%}
{%- if trace_result.defect_count > 0 -%}

Defects Found

{%- for defect in trace_result.defects -%}
{{ defect.defect_type }} {{ defect.description }} {%- match defect.item_id -%} {%- when Some with (id) -%} → View Item {%- when None -%} {%- endmatch -%}
{%- endfor -%}
{%- endif -%}

Specification Items

{%- for item in trace_result.items -%}

{{ item.item.id }}

{{ item.coverage_status }}
{%- match item.item.title -%} {%- when Some with (title) -%}
{{ title }}
{%- when None -%} {%- endmatch -%} {%- match item.item.description -%} {%- when Some with (description) -%}
{{ description|safe }}
{%- when None -%} {%- endmatch -%}
{%- endfor -%}