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