summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/index.html
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-10-22 22:04:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-10-22 22:04:46 -0400
commitf1fa57a4b57f42694ca4d82c876e5f347dcaa381 (patch)
tree26cf4c2b8e22f2fb7ddccc78525613982e01aa48 /coverage/htmlfiles/index.html
parente938c7058a1f109697de21baa34e9348594e6c59 (diff)
downloadpython-coveragepy-git-f1fa57a4b57f42694ca4d82c876e5f347dcaa381.tar.gz
Filtering now computes coverage percentages properly.
Diffstat (limited to 'coverage/htmlfiles/index.html')
-rw-r--r--coverage/htmlfiles/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html
index 4b572711..bea715e1 100644
--- a/coverage/htmlfiles/index.html
+++ b/coverage/htmlfiles/index.html
@@ -78,7 +78,7 @@
<td>{{totals.n_branches}}</td>
<td>{{totals.n_partial_branches}}</td>
{% endif %}
- <td class='right'>{{totals.pc_covered_str}}%</td>
+ <td class='right' data-ratio='{{totals.ratio_covered|pair}}'>{{totals.pc_covered_str}}%</td>
</tr>
</tfoot>
<tbody>
@@ -92,7 +92,7 @@
<td>{{file.nums.n_branches}}</td>
<td>{{file.nums.n_partial_branches}}</td>
{% endif %}
- <td class='right'>{{file.nums.pc_covered_str}}%</td>
+ <td class='right' data-ratio='{{file.nums.ratio_covered|pair}}'>{{file.nums.pc_covered_str}}%</td>
</tr>
{% endfor %}
</tbody>