{% for req in requirements %} {% endfor %} {% for tc in testcases %} {% for req in requirements %} {% if req in tc.traced_to %} {% else %} {% endif %} {% endfor %} {% endfor %} {% for req in requirements %} {% endfor %}
Testcase/Requirement{{ req.id }}Total
{{ tc.id }}x{{ tc.traced_to|length }}
Total{{ req.traced_to|length }}