diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-02 11:10:19 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-11-02 11:10:19 -0500 |
| commit | b4b8a1e1d263982eed48892be6c9bb82742489ae (patch) | |
| tree | bd133859dd56a5dcd73313ccfc00ec1152c7a1fe /coverage/htmlfiles/index.html | |
| parent | fa2f16dd58a1859823bc4942cfc5ecdf8c6f87bd (diff) | |
| download | python-coveragepy-b4b8a1e1d263982eed48892be6c9bb82742489ae.tar.gz | |
HTML reporting makes use of Numbers to simplify and centralize the code.
Diffstat (limited to 'coverage/htmlfiles/index.html')
| -rw-r--r-- | coverage/htmlfiles/index.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 03a83cc..1e11e9e 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'>{{total_cov|format_pct}}%</span>
+ <span class='pc_cov'>{{totals.percent_covered|format_pct}}%</span>
</h1>
</div>
</div>
@@ -30,24 +30,24 @@ {% for file in files %}
<tr class='file'>
<td class='name'><a href='{{file.html_filename}}'>{{file.cu.name}}</a></td>
- <td>{{file.stm}}</td>
- <td>{{file.run}}</td>
- <td>{{file.exc}}</td>
+ <td>{{file.nums.n_statements}}</td>
+ <td>{{file.nums.n_run}}</td>
+ <td>{{file.nums.n_excluded}}</td>
{% if arcs %}
<td>{{file.par}}</td>
{% endif %}
- <td>{{file.pc_cov|format_pct}}%</td>
+ <td>{{file.nums.percent_covered|format_pct}}%</td>
</tr>
{% endfor %}
<tr class='total'>
<td class='name'>Total</td>
-<td>{{total_stm}}</td>
-<td>{{total_run}}</td>
-<td>{{total_exc}}</td>
+<td>{{totals.n_statements}}</td>
+<td>{{totals.n_run}}</td>
+<td>{{totals.n_excluded}}</td>
{% if arcs %}
<td>{{total_par}}</td>
{% endif %}
-<td>{{total_cov|format_pct}}%</td>
+<td>{{totals.percent_covered|format_pct}}%</td>
</tr>
</table>
</div>
|
