diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-27 07:21:41 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-27 07:21:41 -0400 |
commit | 52ef6f76547e757dc9ca9fc4aecdb9aec4a47368 (patch) | |
tree | e28bb135ec053c6237b089155b80c838b1f9dca2 /coverage/htmlfiles/index.html | |
parent | 1c96df0e2a02da1d07730125a5738d8277397854 (diff) | |
download | python-coveragepy-git-52ef6f76547e757dc9ca9fc4aecdb9aec4a47368.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.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 35659317..2234ac73 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>
|