{# -*- engine: jinja -*- #}
Line | Branch | {% if not EXCLUDE_CONDITIONS %}Condition | {% endif %} {% if SHOW_DECISION %}Decision | {% endif %} {% if not EXCLUDE_CALLS %}Call | {% endif %}Exec | Source |
---|---|---|---|---|---|---|
{{row.lineno}} |
{% if row.linebranch %}
{{row.linebranch.taken}}/{{row.linebranch.total}}
{% for branch in row.linebranch.branches %}
{% if branch.excluded %}
– Branch {{branch.name}} excluded.
{% elif branch.taken %}
✓ Branch {{branch.name}} taken {{branch.count}} times.
{% else %}
✗ Branch {{branch.name}} not taken.
{% endif%}
{% endfor %}
|
{% if not EXCLUDE_CONDITIONS %}
{% if row.linecondition %}
{{row.linecondition.covered}}/{{row.linecondition.count}}
{% for condition in row.linecondition.condition %}
{% if condition.not_covered_true and condition.not_covered_false %}
✗ {% if condition.name is not none %}Condition {{condition.name}}: {% endif %}Not covered.
{% elif condition.not_covered_true %}
✗ {% if condition.name is not none %}Condition {{condition.name}}: {% endif %}True not covered.
{% elif condition.not_covered_false %}
✗ {% if condition.name is not none %}Condition {{condition.name}}: {% endif %}False not covered.
{% else %}
✓ {% if condition.name is not none %}Condition {{condition.name}}: {% endif %}Fully covered.
{% endif%}
{% endfor %}
|
{% endif %}
{% 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 not EXCLUDE_CALLS %}
{% if row.linecall %}
{{row.linecall.invoked}}/{{row.linecall.total}}
{% for call in row.linecall.calls %}
{% if call.invoked %}
✓ Call {{call.name}} invoked.
{% else %}
✗ Call {{call.name}} not invoked.
{% endif%}
{% endfor %}
|
{% endif %}
{% if ( row.covclass == 'uncoveredLine' ) %}✗{% elif ( row.covclass == 'excludedLine' ) %}−{% else %}{{row.linecount}}{% endif %} | {{row.source}} |