summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-08 17:38:24 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-08 17:38:24 -0500
commit715ceff602f744cf3ddd3e60bd65260250b8163f (patch)
treeeeac3cf254ef1d2af5954d66d8e0eb571868cca4
parente2de44ad1f1670a9e78db69a1f362bcd7b2484d7 (diff)
downloadpython-coveragepy-git-715ceff602f744cf3ddd3e60bd65260250b8163f.tar.gz
Show branches and executed branches in HTML reports.
-rw-r--r--coverage/htmlfiles/index.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html
index 646851ae..92b89444 100644
--- a/coverage/htmlfiles/index.html
+++ b/coverage/htmlfiles/index.html
@@ -23,7 +23,8 @@
<th>run</th>
<th>excluded</th>
{% if arcs %}
- <th>partial</th>
+ <th>branches</th>
+ <th>br exec</th>
{% endif %}
<th>coverage</th>
</tr>
@@ -34,7 +35,8 @@
<td>{{file.nums.n_executed}}</td>
<td>{{file.nums.n_excluded}}</td>
{% if arcs %}
- <td>{{file.par}}</td>
+ <td>{{file.nums.n_branches}}</td>
+ <td>{{file.nums.n_executed_branches}}</td>
{% endif %}
<td>{{file.nums.pc_covered|format_pct}}%</td>
</tr>
@@ -45,7 +47,8 @@
<td>{{totals.n_executed}}</td>
<td>{{totals.n_excluded}}</td>
{% if arcs %}
-<td>{{total_par}}</td>
+<td>{{totals.n_branches}}</td>
+<td>{{totals.n_executed_branches}}</td>
{% endif %}
<td>{{totals.pc_covered|format_pct}}%</td>
</tr>