1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
2 <html> |
2 <html> |
3 <head> |
3 <head> |
4 <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> |
4 <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> |
5 <title>Coverage report</title> |
5 <title>{{ title|escape }}</title> |
6 <link rel='stylesheet' href='style.css' type='text/css'> |
6 <link rel='stylesheet' href='style.css' type='text/css'> |
7 <script type='text/javascript' src='jquery-1.3.2.min.js'></script> |
7 {% if extra_css %} |
8 <script type='text/javascript' src='jquery.tablesorter.min.js'></script> |
8 <link rel='stylesheet' href='{{ extra_css }}' type='text/css'> |
9 <script type='text/javascript' src='coverage_html.js'></script> |
9 {% endif %} |
10 <script type="text/javascript" charset="utf-8"> |
10 <script type='text/javascript' src='jquery.min.js'></script> |
11 jQuery(document).ready(index_page_ready); |
11 <script type='text/javascript' src='jquery.tablesorter.min.js'></script> |
12 </script> |
12 <script type='text/javascript' src='jquery.hotkeys.js'></script> |
13 </head> |
13 <script type='text/javascript' src='coverage_html.js'></script> |
14 <body> |
14 <script type='text/javascript' charset='utf-8'> |
|
15 jQuery(document).ready(coverage.index_ready); |
|
16 </script> |
|
17 </head> |
|
18 <body id='indexfile'> |
15 |
19 |
16 <div id='header'> |
20 <div id='header'> |
17 <div class='content'> |
21 <div class='content'> |
18 <h1>Coverage report: |
22 <h1>{{ title|escape }}: |
19 <span class='pc_cov'>{{totals.pc_covered|format_pct}}%</span> |
23 <span class='pc_cov'>{{totals.pc_covered_str}}%</span> |
20 </h1> |
24 </h1> |
21 </div> |
25 <img id='keyboard_icon' src='keybd_closed.png'> |
22 </div> |
26 </div> |
|
27 </div> |
23 |
28 |
24 <div id='index'> |
29 <div class='help_panel'> |
25 <table class='index'> |
30 <img id='panel_icon' src='keybd_open.png'> |
26 <thead> |
31 <p class='legend'>Hot-keys on this page</p> |
27 {# The title='' attr doesn't work in Safari. #} |
32 <div> |
28 <tr class='tablehead' title='Click to sort'> |
33 <p class='keyhelp'> |
29 <th class='name left headerSortDown'>Module</th> |
34 <span class='key'>n</span> |
30 <th>statements</th> |
35 <span class='key'>s</span> |
31 <th>run</th> |
36 <span class='key'>m</span> |
32 <th>excluded</th> |
37 <span class='key'>x</span> |
33 {% if arcs %} |
38 {% if arcs %} |
34 <th>branches</th> |
39 <span class='key'>b</span> |
35 <th>br exec</th> |
40 <span class='key'>p</span> |
36 {% endif %} |
41 {% endif %} |
37 <th class='right'>coverage</th> |
42 <span class='key'>c</span> change column sorting |
38 </tr> |
43 </p> |
39 </thead> |
44 </div> |
40 {# HTML syntax requires thead, tfoot, tbody #} |
45 </div> |
41 <tfoot> |
|
42 <tr class='total'> |
|
43 <td class='name left'>Total</td> |
|
44 <td>{{totals.n_statements}}</td> |
|
45 <td>{{totals.n_executed}}</td> |
|
46 <td>{{totals.n_excluded}}</td> |
|
47 {% if arcs %} |
|
48 <td>{{totals.n_branches}}</td> |
|
49 <td>{{totals.n_executed_branches}}</td> |
|
50 {% endif %} |
|
51 <td class='right'>{{totals.pc_covered|format_pct}}%</td> |
|
52 </tr> |
|
53 </tfoot> |
|
54 <tbody> |
|
55 {% for file in files %} |
|
56 <tr class='file'> |
|
57 <td class='name left'><a href='{{file.html_filename}}'>{{file.cu.name}}</a></td> |
|
58 <td>{{file.nums.n_statements}}</td> |
|
59 <td>{{file.nums.n_executed}}</td> |
|
60 <td>{{file.nums.n_excluded}}</td> |
|
61 {% if arcs %} |
|
62 <td>{{file.nums.n_branches}}</td> |
|
63 <td>{{file.nums.n_executed_branches}}</td> |
|
64 {% endif %} |
|
65 <td class='right'>{{file.nums.pc_covered|format_pct}}%</td> |
|
66 </tr> |
|
67 {% endfor %} |
|
68 </tbody> |
|
69 </table> |
|
70 </div> |
|
71 |
46 |
72 <div id='footer'> |
47 <div id='index'> |
73 <div class='content'> |
48 <table class='index'> |
74 <p> |
49 <thead> |
75 <a class='nav' href='{{__url__}}'>coverage.py v{{__version__}}</a> |
50 {# The title='' attr doesn't work in Safari. #} |
76 </p> |
51 <tr class='tablehead' title='Click to sort'> |
77 </div> |
52 <th class='name left headerSortDown shortkey_n'>Module</th> |
78 </div> |
53 <th class='shortkey_s'>statements</th> |
79 </body> |
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> |
80 </html> |
104 </html> |