summaryrefslogtreecommitdiff
path: root/coverage/htmlfiles/index.html
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-10-27 07:21:41 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-10-27 07:21:41 -0400
commitc84e2de22183a02fe10fe4a12c930b9c47c8f12b (patch)
tree687966a5ad0c46837f119a97860b673bb7c6ec83 /coverage/htmlfiles/index.html
parent934778095e46933f06251d6b27d2d37ec8ac7538 (diff)
downloadpython-coveragepy-c84e2de22183a02fe10fe4a12c930b9c47c8f12b.tar.gz
Better reporting of partial lines, including leaving out partial stuff altogether if no arcs were measured.
Diffstat (limited to 'coverage/htmlfiles/index.html')
-rw-r--r--coverage/htmlfiles/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html
index 3565931..2234ac7 100644
--- a/coverage/htmlfiles/index.html
+++ b/coverage/htmlfiles/index.html
@@ -21,6 +21,9 @@
<th>statements</th>
<th>run</th>
<th>excluded</th>
+ {% if arcs %}
+ <th>partial</th>
+ {% endif %}
<th>coverage</th>
</tr>
{% for file in files %}
@@ -29,6 +32,9 @@
<td>{{file.stm}}</td>
<td>{{file.run}}</td>
<td>{{file.exc}}</td>
+ {% if arcs %}
+ <td>{{file.par}}</td>
+ {% endif %}
<td>{{file.pc_cov|format_pct}}%</td>
</tr>
{% endfor %}
@@ -37,6 +43,9 @@
<td>{{total_stm}}</td>
<td>{{total_run}}</td>
<td>{{total_exc}}</td>
+{% if arcs %}
+<td>{{total_par}}</td>
+{% endif %}
<td>{{total_cov|format_pct}}%</td>
</tr>
</table>