1 |
<!DOCTYPE html> |
2 |
<!-- |
3 |
jscoverage.html - code coverage for JavaScript |
4 |
Copyright (C) 2007, 2008, 2009, 2010 siliconforks.com |
5 |
|
6 |
This program is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2 of the License, or |
9 |
(at your option) any later version. |
10 |
|
11 |
This program is distributed in the hope that it will be useful, |
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 |
GNU General Public License for more details. |
15 |
|
16 |
You should have received a copy of the GNU General Public License along |
17 |
with this program; if not, write to the Free Software Foundation, Inc., |
18 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
19 |
--> |
20 |
|
21 |
<html> |
22 |
<head> |
23 |
<title>JSCoverage</title> |
24 |
<link rel="stylesheet" type="text/css" href="jscoverage-highlight.css"> |
25 |
<link rel="stylesheet" type="text/css" href="jscoverage.css"> |
26 |
<!--[if IE]> |
27 |
<link rel="stylesheet" type="text/css" href="jscoverage-ie.css"> |
28 |
<![endif]--> |
29 |
<script type="text/javascript" src="jscoverage.js"></script> |
30 |
<script type="text/javascript" src="report.js"></script> |
31 |
|
32 |
<link rel="stylesheet" type="text/css" href="scriptaculous-js-1.8.3/test/test.css"> |
33 |
<script type="text/javascript" src="scriptaculous-js-1.8.3/lib/prototype.js"></script> |
34 |
<script type="text/javascript" src="scriptaculous-js-1.8.3/src/unittest.js"></script> |
35 |
</head> |
36 |
|
37 |
<body onload="jscoverage_body_load();" onresize="jscoverage_body_resize();"> |
38 |
<div style="position: absolute; top: 150px; left: 5%; width: 90%; z-index: 10; background-color: white;"> |
39 |
<div id="testlog"></div> |
40 |
<div id="result"></div> |
41 |
</div> |
42 |
|
43 |
<div id="headingDiv"> |
44 |
<h1>JSCoverage</h1> |
45 |
<div class="ProgressBar" id="progressBar"><span class="ProgressPercentage"></span><div class="ProgressGraph"><div class="ProgressCovered"></div></div></div> |
46 |
<span id="progressLabel"></span> |
47 |
</div> |
48 |
|
49 |
<div id="tabs" class="Tabs"> |
50 |
<div id="browserTab"><img src="jscoverage-throbber.gif" alt=""> Browser <img src="jscoverage-throbber.gif" alt=""></div> |
51 |
<div id="summaryTab"><img id="summaryThrobber" src="jscoverage-throbber.gif" alt=""> Summary <img src="jscoverage-throbber.gif" alt=""></div> |
52 |
<div id="sourceTab" class="disabled"><img src="jscoverage-throbber.gif" alt=""> Source <img src="jscoverage-throbber.gif" alt=""></div> |
53 |
<div id="storeTab"><img id="storeThrobber" src="jscoverage-throbber.gif" alt=""> Store <img src="jscoverage-throbber.gif" alt=""></div> |
54 |
<div id="aboutTab"><img src="jscoverage-throbber.gif" alt=""> About <img src="jscoverage-throbber.gif" alt=""></div> |
55 |
</div> |
56 |
<div id="tabPages" class="TabPages"> |
57 |
<div class="TabPage" id="browserTabPage"> |
58 |
<div id="locationDiv"> |
59 |
URL: <input id="location" type="text" size="70" onkeypress="jscoverage_input_keypress(event)"> |
60 |
<button onclick="jscoverage_button_click();">Go</button> |
61 |
</div> |
62 |
<div id="iframeDiv"> |
63 |
<iframe id="browserIframe" onload="jscoverage_browser_load();"></iframe> |
64 |
</div> |
65 |
</div> |
66 |
<div class="TabPage"> |
67 |
<input type="checkbox" id="checkbox" onclick="return jscoverage_checkbox_click();"> <label for="checkbox">Show missing statements column</label> |
68 |
<div id="summaryDiv"> |
69 |
<div id="summaryErrorDiv"></div> |
70 |
<table id="summaryTable"> |
71 |
<thead> |
72 |
<tr id="headerRow"> |
73 |
<th class="leftColumn">File</th> |
74 |
<th><abbr title="The total number of executable statements">Statements</abbr></th> |
75 |
<th><abbr title="The number of statements actually executed">Executed</abbr></th> |
76 |
<th><abbr title="Number of executed statements as a percentage of total number of statements">Coverage</abbr></th> |
77 |
</tr> |
78 |
<tr id="summaryTotals"> |
79 |
<td class="leftColumn"> |
80 |
<span class="title">Total:</span> |
81 |
<span>0</span> |
82 |
</td> |
83 |
<td class="numeric">0</td> |
84 |
<td class="numeric">0</td> |
85 |
<td class="coverage"> |
86 |
<div class="pctGraph"> |
87 |
<div class="covered"></div> |
88 |
</div> |
89 |
<span class="pct">0%</span> |
90 |
</td> |
91 |
</tr> |
92 |
|
93 |
</thead> |
94 |
<tbody id="summaryTbody"> |
95 |
|
96 |
<!-- |
97 |
<tr> |
98 |
<td>0</td> |
99 |
<td>0</td> |
100 |
<td>0</td> |
101 |
<td>0%</td> |
102 |
<td>0</td> |
103 |
</tr> |
104 |
--> |
105 |
|
106 |
</tbody> |
107 |
</table> |
108 |
</div> |
109 |
</div> |
110 |
<div class="TabPage"> |
111 |
<div id="fileDiv"></div> |
112 |
<div id="sourceDiv"></div> |
113 |
</div> |
114 |
<div class="TabPage" id="storeTabPage"> |
115 |
<button id="storeButton" onclick="jscoverage_storeButton_click();">Store Report</button> |
116 |
<img id="storeImg" src="jscoverage-throbber.gif" alt="loading..."> |
117 |
<div id="storeDiv"></div> |
118 |
</div> |
119 |
<div class="TabPage"> |
120 |
<p> |
121 |
This is version 0.4 of JSCoverage, a program that calculates code |
122 |
coverage statistics for JavaScript. |
123 |
</p> |
124 |
<p> |
125 |
See <a href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information. |
126 |
</p> |
127 |
<p> |
128 |
Copyright © 2007, 2008, 2009, 2010 siliconforks.com |
129 |
</p> |
130 |
</div> |
131 |
</div> |
132 |
|
133 |
<script type="text/javascript" src="scriptaculous.js"></script> |
134 |
</body> |
135 |
</html> |