diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-03 06:30:12 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-03 06:30:12 -0500 |
commit | 625415c2b0bd34a3c0efd814cc68108566c508e1 (patch) | |
tree | 840a6e64f6d8285f9393519973bba9eeeba057d6 /coverage/htmlfiles/index.html | |
parent | 9680c1e57bc5d1f5d4e0d0c1a8f8a5725b3f4890 (diff) | |
download | python-coveragepy-git-625415c2b0bd34a3c0efd814cc68108566c508e1.tar.gz |
Make the naming of Results attributes more consistent.
Diffstat (limited to 'coverage/htmlfiles/index.html')
-rw-r--r-- | coverage/htmlfiles/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 1e11e9e1..646851ae 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -10,7 +10,7 @@ <div id='header'>
<div class='content'>
<h1>Coverage report:
- <span class='pc_cov'>{{totals.percent_covered|format_pct}}%</span>
+ <span class='pc_cov'>{{totals.pc_covered|format_pct}}%</span>
</h1>
</div>
</div>
@@ -31,23 +31,23 @@ <tr class='file'>
<td class='name'><a href='{{file.html_filename}}'>{{file.cu.name}}</a></td>
<td>{{file.nums.n_statements}}</td>
- <td>{{file.nums.n_run}}</td>
+ <td>{{file.nums.n_executed}}</td>
<td>{{file.nums.n_excluded}}</td>
{% if arcs %}
<td>{{file.par}}</td>
{% endif %}
- <td>{{file.nums.percent_covered|format_pct}}%</td>
+ <td>{{file.nums.pc_covered|format_pct}}%</td>
</tr>
{% endfor %}
<tr class='total'>
<td class='name'>Total</td>
<td>{{totals.n_statements}}</td>
-<td>{{totals.n_run}}</td>
+<td>{{totals.n_executed}}</td>
<td>{{totals.n_excluded}}</td>
{% if arcs %}
<td>{{total_par}}</td>
{% endif %}
-<td>{{totals.percent_covered|format_pct}}%</td>
+<td>{{totals.pc_covered|format_pct}}%</td>
</tr>
</table>
</div>
|