{# -*- engine: jinja -*- #}
{% for function_batch in all_functions | batch(10000) %}
<table class="m-3 text-mono text-small listOfFunctions" style="width:100%;">
  <tr class="text-left">
    <th>Function (File:Line)</th>
    <th>Call count</th>
    <th>Block coverage</th>
  </tr>
  {% for entry in function_batch %}
  <tr>
    {#- #}<td><a href="{{ entry['html_filename'] }}#l{{ entry['line'] }}">{{ entry["name"] }} ({{ entry["filename"] }}:{{ entry["line"] }})</a></td>
    {#- #}<td>
            {%- if entry["excluded"] %}excluded
            {%- else %}
            {%-  if entry["count"] == 0 %}not called
            {%-  else %}called {{ entry["count"] }} time{% if entry["count"] > 1 %}s{% endif %}, returned {{ entry["returned"] }} time{% if entry["returned"] > 1 %}s{% endif %}
            {%-  endif -%}
            {%- endif -%}
    {#- #}</td>
    {#- #}<td>{{ entry["blocks"] }}%</td>
    {#- -#}
  </tr>
  {% endfor %}
</table>
{% endfor %}
