blob: 04b314a3427cb7ddaca0281c892786dd91e1c818 [file] [log] [blame]
Tor Norbye3a2425a2013-11-04 10:16:08 -08001<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3<head>
4 <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
5 <title>Coverage report</title>
6 <link rel='stylesheet' href='style.css' type='text/css'>
7 <script type='text/javascript' src='jquery-1.4.3.min.js'></script>
8 <script type='text/javascript' src='jquery.tablesorter.min.js'></script>
9 <script type='text/javascript' src='jquery.hotkeys.js'></script>
10 <script type='text/javascript' src='coverage_html.js'></script>
11 <script type='text/javascript' charset='utf-8'>
12 jQuery(document).ready(coverage.index_ready);
13 </script>
14</head>
15<body id='indexfile'>
16
17<div id='header'>
18 <div class='content'>
19 <h1>Coverage report:
20 <span class='pc_cov'>{{totals.pc_covered_str}}%</span>
21 </h1>
22 <img id='keyboard_icon' src='keybd_closed.png'>
23 </div>
24</div>
25
26<div class='help_panel'>
27 <img id='panel_icon' src='keybd_open.png'>
28 <p class='legend'>Hot-keys on this page</p>
29 <div>
30 <p class='keyhelp'>
31 <span class='key'>n</span>
32 <span class='key'>s</span>
33 <span class='key'>m</span>
34 <span class='key'>x</span>
35 {% if arcs %}
36 <span class='key'>b</span>
37 <span class='key'>p</span>
38 {% endif %}
39 <span class='key'>c</span> &nbsp; change column sorting
40 </p>
41 </div>
42</div>
43
44<div id='index'>
45 <table class='index'>
46 <thead>
47 {# The title='' attr doesn't work in Safari. #}
48 <tr class='tablehead' title='Click to sort'>
49 <th class='name left headerSortDown shortkey_n'>Module</th>
50 <th class='shortkey_s'>statements</th>
51 <th class='shortkey_m'>missing</th>
52 <th class='shortkey_x'>excluded</th>
53 {% if arcs %}
54 <th class='shortkey_b'>branches</th>
55 <th class='shortkey_p'>partial</th>
56 {% endif %}
57 <th class='right shortkey_c'>coverage</th>
58 </tr>
59 </thead>
60 {# HTML syntax requires thead, tfoot, tbody #}
61 <tfoot>
62 <tr class='total'>
63 <td class='name left'>Total</td>
64 <td>{{totals.n_statements}}</td>
65 <td>{{totals.n_missing}}</td>
66 <td>{{totals.n_excluded}}</td>
67 {% if arcs %}
68 <td>{{totals.n_branches}}</td>
69 <td>{{totals.n_missing_branches}}</td>
70 {% endif %}
71 <td class='right'>{{totals.pc_covered_str}}%</td>
72 </tr>
73 </tfoot>
74 <tbody>
75 {% for file in files %}
76 <tr class='file'>
77 <td class='name left'><a href='{{file.html_filename}}'>{{file.name}}</a></td>
78 <td>{{file.nums.n_statements}}</td>
79 <td>{{file.nums.n_missing}}</td>
80 <td>{{file.nums.n_excluded}}</td>
81 {% if arcs %}
82 <td>{{file.nums.n_branches}}</td>
83 <td>{{file.nums.n_missing_branches}}</td>
84 {% endif %}
85 <td class='right'>{{file.nums.pc_covered_str}}%</td>
86 </tr>
87 {% endfor %}
88 </tbody>
89 </table>
90</div>
91
92<div id='footer'>
93 <div class='content'>
94 <p>
95 <a class='nav' href='{{__url__}}'>coverage.py v{{__version__}}</a>
96 </p>
97 </div>
98</div>
99
100</body>
101</html>