{# -*- engine: jinja -*- #} {% extends "base.html" %} {% block summary %}
{% if SHOW_DECISION and decisions.unchecked > 0 %} {% endif %}
Directory: {{info.get_directory()}}
File: {{filename}}
Date: {{info.date}}
Warnings: {{decisions.unchecked}} unchecked decisions!
{% if SHOW_DECISION %} {% endif %}
Exec Total Coverage
Lines: {{lines.exec}} {{lines.total}} {{lines.coverage}}%
Functions: {{functions.exec}} {{functions.total}} {{functions.coverage}}%
Branches: {{branches.exec}} {{branches.total}} {{branches.coverage}}%
Decisions: {{decisions.exec}} {{decisions.total}} {{decisions.coverage}}%
{% endblock %} {% block navigation %} {% if function_list %}
List of functions {% for entry in function_list %} {% endfor %}
Function Line Call count
{{ entry["name"] }} {{ entry["line"] }} {%- if entry["count"] == 0 %} not called {%- else %} called {{ entry["count"] }} time{% if entry["count"] > 1 %}s{% endif %} {%- endif -%}
{% endif -%} {% endblock %} {% block content %}
{% if SHOW_DECISION %} {% endif %} {% for row in source_lines %} {% if SHOW_DECISION %} {% endif %} {% endfor %}
Line BranchDecisionExec Source
{{row.lineno}} {% if row.linebranch %}
{{row.linebranch.taken}}/{{row.linebranch.total}}
{% for branch in row.linebranch.branches %} {% if branch.taken %}
✓ Branch {{branch.name}} taken {{branch.count}} times.
{% else %}
✗ Branch {{branch.name}} not taken.
{% endif%} {% endfor %}
{% endif %}
{% if row.linedecision %}
{{row.linedecision.taken}}/{{row.linedecision.total}}
{% for decision in row.linedecision.decisions %} {% if decision.uncheckable %}
? Decision couldn't be analyzed.
{% elif decision.taken %}
✓ Decision '{{decision.name}}' taken {{decision.count}} times.
{% else %}
✗ Decision '{{decision.name}}' not taken.
{% endif %} {% endfor %}
{% endif %}
{% if ( row.covclass == 'uncoveredLine' ) %}✗{% elif ( row.covclass == 'excludedLine' ) %}−{% else %}{{row.linecount}}{% endif %} {{row.source}}
{% endblock %}