1 |
siliconforks |
2 |
<!-- |
2 |
|
|
scriptaculous.html - script.aculo.us unit tests for JSCoverage |
3 |
|
|
Copyright (C) 2007 siliconforks.com |
4 |
|
|
|
5 |
|
|
This program is free software; you can redistribute it and/or modify |
6 |
|
|
it under the terms of the GNU General Public License as published by |
7 |
|
|
the Free Software Foundation; either version 2 of the License, or |
8 |
|
|
(at your option) any later version. |
9 |
|
|
|
10 |
|
|
This program is distributed in the hope that it will be useful, |
11 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 |
|
|
GNU General Public License for more details. |
14 |
|
|
|
15 |
|
|
You should have received a copy of the GNU General Public License along |
16 |
|
|
with this program; if not, write to the Free Software Foundation, Inc., |
17 |
|
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
18 |
|
|
--> |
19 |
|
|
|
20 |
|
|
<html> |
21 |
|
|
<head> |
22 |
|
|
<title>JSCoverage</title> |
23 |
|
|
<script src="scriptaculous-js-1.7.0/lib/prototype.js" type="text/javascript"></script> |
24 |
|
|
<script src="scriptaculous-js-1.7.0/src/unittest.js" type="text/javascript"></script> |
25 |
|
|
<script type="text/javascript" src="sh_main.min.js"></script> |
26 |
|
|
<script type="text/javascript" src="sh_javascript.min.js"></script> |
27 |
|
|
<script src="jscoverage.js" type="text/javascript"></script> |
28 |
|
|
<link rel="stylesheet" href="scriptaculous-js-1.7.0/test/test.css" type="text/css"> |
29 |
|
|
<link rel="stylesheet" href="jscoverage.css" type="text/css"> |
30 |
|
|
</head> |
31 |
|
|
<body id="body"> |
32 |
|
|
<div style="position: absolute; top: 100px; left: 5%; width: 90%; z-index: 10; background: white;"> |
33 |
|
|
<div id="testlog"></div> |
34 |
|
|
<div id="result"></div> |
35 |
|
|
</div> |
36 |
|
|
|
37 |
|
|
<div id="tabControl" class="TabControl"> |
38 |
|
|
<div id="tabs" class="Tabs"> |
39 |
|
|
<div><img src="jscoverage-throbber.gif" alt="loading..."> Browser <img src="jscoverage-throbber.gif" alt="loading..."></div> |
40 |
|
|
<div id="summaryTab"><img src="jscoverage-throbber.gif" alt="loading..."> Summary <img src="jscoverage-throbber.gif" alt="loading..."></div> |
41 |
|
|
<div id="sourceTab" class="disabled"><img id="throbberImg" src="jscoverage-throbber.gif" alt="loading..."> Source <img src="jscoverage-throbber.gif" alt="loading..."></div> |
42 |
|
|
<div><img src="jscoverage-throbber.gif" alt="loading..."> About <img src="jscoverage-throbber.gif" alt="loading..."></div> |
43 |
|
|
</div> |
44 |
|
|
<div id="tabPages" class="TabPages"> |
45 |
|
|
<div class="TabPage"> |
46 |
|
|
<div id="locationDiv"> |
47 |
|
|
URL: <input id="location" type="text" size="70" onkeypress="input_keypress(event)"> |
48 |
|
|
<button onclick="button_click();">Go</button> |
49 |
|
|
</div> |
50 |
|
|
<iframe id="browserIframe" onload="browser_load();"></iframe> |
51 |
|
|
</div> |
52 |
|
|
<div class="TabPage"> |
53 |
|
|
<div id="summaryDiv"> |
54 |
|
|
<table id="summaryTable"> |
55 |
|
|
<thead> |
56 |
|
|
<tr> |
57 |
|
|
<th>File</th> |
58 |
|
|
<th><abbr title="The total number of executable statements">Statements</abbr></th> |
59 |
|
|
<th><abbr title="The number of statements actually executed">Executed</abbr></th> |
60 |
|
|
<th><abbr title="Number of executed statements as a percentage of total number of statements">Coverage</abbr></th> |
61 |
|
|
<th><abbr title="List of statements missed during execution">Missing</abbr></th> |
62 |
|
|
</tr> |
63 |
|
|
</thead> |
64 |
|
|
<tbody id="summaryTbody"> |
65 |
|
|
|
66 |
|
|
<!-- |
67 |
|
|
<tr> |
68 |
|
|
<td>0</td> |
69 |
|
|
<td>0</td> |
70 |
|
|
<td>0</td> |
71 |
|
|
<td>0%</td> |
72 |
|
|
<td>0</td> |
73 |
|
|
</tr> |
74 |
|
|
--> |
75 |
|
|
|
76 |
|
|
</tbody> |
77 |
|
|
</table> |
78 |
|
|
</div> |
79 |
|
|
</div> |
80 |
|
|
<div class="TabPage"> |
81 |
|
|
<div id="fileDiv"></div> |
82 |
|
|
<div id="sourceDiv"></div> |
83 |
|
|
</div> |
84 |
|
|
<div class="TabPage"> |
85 |
|
|
This is version 0.2 of JSCoverage, a program that calculates code |
86 |
|
|
coverage statistics for JavaScript. |
87 |
|
|
<p> |
88 |
|
|
See <a href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information. |
89 |
|
|
</p> |
90 |
|
|
<p> |
91 |
|
|
Copyright © 2007 siliconforks.com |
92 |
|
|
</p> |
93 |
|
|
</div> |
94 |
|
|
</div> |
95 |
|
|
</div> |
96 |
|
|
|
97 |
|
|
<script src="scriptaculous.js" type="text/javascript"></script> |
98 |
|
|
</body> |
99 |
|
|
</html> |