DebugClients/Python3/coverage/htmlfiles/index.html

changeset 29
391dc0bc4ae5
parent 0
de9c2efb9d02
child 3495
fac17a82b431
equal deleted inserted replaced
28:dde24fc7f7ba 29:391dc0bc4ae5
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 <title>Coverage report</title> 4 <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
5 <link rel='stylesheet' href='style.css' type='text/css'> 5 <title>Coverage report</title>
6 </head> 6 <link rel='stylesheet' href='style.css' type='text/css'>
7 <body> 7 <script type='text/javascript' src='jquery-1.3.2.min.js'></script>
8 <script type='text/javascript' src='jquery.tablesorter.min.js'></script>
9 <script type='text/javascript' src='coverage_html.js'></script>
10 <script type="text/javascript" charset="utf-8">
11 jQuery(document).ready(index_page_ready);
12 </script>
13 </head>
14 <body>
8 15
9 <div id='header'> 16 <div id='header'>
10 <div class='content'> 17 <div class='content'>
11 <h1>Coverage report: 18 <h1>Coverage report:
12 <span class='pc_cov'>{{total_cov|format_pct}}%</span> 19 <span class='pc_cov'>{{totals.pc_covered|format_pct}}%</span>
13 </h1> 20 </h1>
14 </div> 21 </div>
15 </div> 22 </div>
16 23
17 <div id='index'> 24 <div id='index'>
18 <table class='index'> 25 <table class='index'>
19 <tr> 26 <thead>
20 <th class='name'>Module</th> 27 {# The title='' attr doesn't work in Safari. #}
21 <th>statements</th> 28 <tr class='tablehead' title='Click to sort'>
22 <th>run</th> 29 <th class='name left headerSortDown'>Module</th>
23 <th>excluded</th> 30 <th>statements</th>
24 <th>coverage</th> 31 <th>run</th>
25 </tr> 32 <th>excluded</th>
26 {% for file in files %} 33 {% if arcs %}
27 <tr> 34 <th>branches</th>
28 <td class='name'><a href='{{file.html_filename}}'>{{file.cu.name}}</a></td> 35 <th>br exec</th>
29 <td>{{file.stm}}</td> 36 {% endif %}
30 <td>{{file.run}}</td> 37 <th class='right'>coverage</th>
31 <td>{{file.exc}}</td> 38 </tr>
32 <td>{{file.pc_cov|format_pct}}%</td> 39 </thead>
33 </tr> 40 {# HTML syntax requires thead, tfoot, tbody #}
34 {% endfor %} 41 <tfoot>
35 <tr class='total'> 42 <tr class='total'>
36 <td class='name'>Total</td> 43 <td class='name left'>Total</td>
37 <td>{{total_stm}}</td> 44 <td>{{totals.n_statements}}</td>
38 <td>{{total_run}}</td> 45 <td>{{totals.n_executed}}</td>
39 <td>{{total_exc}}</td> 46 <td>{{totals.n_excluded}}</td>
40 <td>{{total_cov|format_pct}}%</td> 47 {% if arcs %}
41 </tr> 48 <td>{{totals.n_branches}}</td>
42 </table> 49 <td>{{totals.n_executed_branches}}</td>
43 </div> 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>
44 71
45 <div id='footer'> 72 <div id='footer'>
46 <div class='content'> 73 <div class='content'>
47 <p> 74 <p>
48 <a class='nav' href='http://nedbatchelder.com/code/coverage'>coverage v{{__version__}}</a> 75 <a class='nav' href='{{__url__}}'>coverage.py v{{__version__}}</a>
49 </p> 76 </p>
50 </div> 77 </div>
51 </div> 78 </div>
52 79 </body>
53 </body>
54 </html> 80 </html>

eric ide

mercurial