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/pyfile.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/pyfile.html')
| -rw-r--r-- | coverage/htmlfiles/pyfile.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index e2ec19c..5c9509b 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -23,13 +23,13 @@ function toggle_lines(btn, cls) { <div id='header'>
<div class='content'>
<h1>Coverage for <b>{{cu.name|escape}}</b> :
- <span class='pc_cov'>{{pc_cov|format_pct}}%</span>
+ <span class='pc_cov'>{{nums.percent_covered|format_pct}}%</span>
</h1>
<h2 class='stats'>
- {{n_stm}} statements
- <span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{n_run}} run</span>
- <span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span>
- <span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{n_mis}} missing</span>
+ {{nums.n_statements}} statements
+ <span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{nums.n_run}} run</span>
+ <span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{nums.n_excluded}} excluded</span>
+ <span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{nums.n_missing}} missing</span>
{% if arcs %}
<span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
{% endif %}
|
