summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles
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
commit266ed2154d27c212f5189b1e4c80e5f6494c358b (patch)
tree53fda20a35a62d3dec943bee2265da09eab44bdb /coverage/htmlfiles
parent8f6da482a2bef7a22a2d704eab98150f40b07211 (diff)
downloadpython-coveragepy-266ed2154d27c212f5189b1e4c80e5f6494c358b.tar.gz
Show branches and executed branches in HTML reports.
Diffstat (limited to 'coverage/htmlfiles')
-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 646851a..92b8944 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>