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 <title>Coverage for {{cu.name|escape}}</title> |
5 <title>Coverage for {{cu.name|escape}}</title> |
5 <link rel='stylesheet' href='style.css' type='text/css'> |
6 <link rel='stylesheet' href='style.css' type='text/css'> |
6 <script src='jquery-1.3.2.min.js'></script> |
7 <script type='text/javascript' src='jquery-1.3.2.min.js'></script> |
7 <script> |
8 <script type='text/javascript'> |
8 function toggle_lines(btn, cls) { |
9 function toggle_lines(btn, cls) { |
9 var btn = $(btn); |
10 var btn = $(btn); |
10 if (btn.hasClass("hide")) { |
11 var hide = "hide_"+cls; |
11 $("#source ."+cls).removeClass("hide"); |
12 if (btn.hasClass(hide)) { |
12 btn.removeClass("hide"); |
13 $("#source ."+cls).removeClass(hide); |
|
14 btn.removeClass(hide); |
13 } |
15 } |
14 else { |
16 else { |
15 $("#source ."+cls).addClass("hide"); |
17 $("#source ."+cls).addClass(hide); |
16 btn.addClass("hide"); |
18 btn.addClass(hide); |
17 } |
19 } |
18 } |
20 } |
19 </script> |
21 </script> |
20 </head> |
22 </head> |
21 <body> |
23 <body> |
22 <div id='header'> |
24 <div id='header'> |
23 <div class='content'> |
25 <div class='content'> |
24 <h1>Coverage for <b>{{cu.name|escape}}</b> : |
26 <h1>Coverage for <b>{{cu.name|escape}}</b> : |
25 <span class='pc_cov'>{{pc_cov|format_pct}}%</span> |
27 <span class='pc_cov'>{{nums.pc_covered|format_pct}}%</span> |
26 </h1> |
28 </h1> |
27 <h2 class='stats'> |
29 <h2 class='stats'> |
28 {{n_stm}} statements |
30 {{nums.n_statements}} statements |
29 <span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{n_run}} run</span> |
31 <span class='{{c_run.strip}}' onclick='toggle_lines(this, "run")'>{{nums.n_executed}} run</span> |
30 <span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{n_exc}} excluded</span> |
32 <span class='{{c_exc.strip}}' onclick='toggle_lines(this, "exc")'>{{nums.n_excluded}} excluded</span> |
31 <span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{n_mis}} missing</span> |
33 <span class='{{c_mis.strip}}' onclick='toggle_lines(this, "mis")'>{{nums.n_missing}} missing</span> |
|
34 {% if arcs %} |
|
35 <span class='{{c_par.strip}}' onclick='toggle_lines(this, "par")'>{{n_par}} partial</span> |
|
36 {% endif %} |
32 </h2> |
37 </h2> |
33 </div> |
38 </div> |
34 </div> |
39 </div> |
35 |
40 |
36 <div id='source'> |
41 <div id='source'> |