{# -*- engine: jinja -*- #} {% extends "base.html" %} {% block summary %}
Directory: | {{info.get_directory()}} |
---|---|
File: | {{filename}} |
Date: | {{info.date}} |
Warnings: | {{decisions.unchecked}} unchecked decisions! |
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}}% |
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 -%} |
Line | Branch | {% if SHOW_DECISION %}Decision | {% endif %}Exec | 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 %}
|
{% if SHOW_DECISION %}
{% 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}} |