diff options
Diffstat (limited to 'coverage/htmlfiles')
-rw-r--r-- | coverage/htmlfiles/index.html | 9 | ||||
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 4 | ||||
-rw-r--r-- | coverage/htmlfiles/style.css | 4 |
3 files changed, 14 insertions, 3 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>
diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index 8a0dd4e..91c56cb 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -29,7 +29,9 @@ function toggle_lines(btn, cls) { <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>
- <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
+ {% if arcs %}
+ <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span>
+ {% endif %}
</h2>
</div>
</div>
diff --git a/coverage/htmlfiles/style.css b/coverage/htmlfiles/style.css index b55e499..48961e5 100644 --- a/coverage/htmlfiles/style.css +++ b/coverage/htmlfiles/style.css @@ -126,8 +126,8 @@ td.text { border-left: 2px solid #808080; } .text p.par { - background: #ffffdd; - border-left: 2px solid #ffff00; + background: #ffffaa; + border-left: 2px solid #eeee99; } .text p.hide { background: inherit; |