1 |
<!-- |
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.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="headingDiv"> |
38 |
<div id="progressBar" class="ProgressBar"><div class="pctGraph"><div class="covered"></div></div><span class="pct"></span></div> |
39 |
<div id="progressLabel"></div> |
40 |
<h1>JSCoverage</h1> |
41 |
</div> |
42 |
|
43 |
<div id="tabControl" class="TabControl"> |
44 |
<div id="tabs" class="Tabs"> |
45 |
<div><img src="jscoverage-throbber.gif" alt="loading..."> Browser <img src="jscoverage-throbber.gif" alt="loading..."></div> |
46 |
<div id="summaryTab"><img src="jscoverage-throbber.gif" alt="loading..."> Summary <img src="jscoverage-throbber.gif" alt="loading..."></div> |
47 |
<div id="sourceTab" class="disabled"><img id="throbberImg" src="jscoverage-throbber.gif" alt="loading..."> Source <img src="jscoverage-throbber.gif" alt="loading..."></div> |
48 |
<div><img src="jscoverage-throbber.gif" alt="loading..."> About <img src="jscoverage-throbber.gif" alt="loading..."></div> |
49 |
</div> |
50 |
<div id="tabPages" class="TabPages"> |
51 |
<div class="TabPage"> |
52 |
<div id="locationDiv"> |
53 |
URL: <input id="location" type="text" size="70" onkeypress="input_keypress(event)"> |
54 |
<button onclick="button_click();">Go</button> |
55 |
</div> |
56 |
<iframe id="browserIframe" onload="browser_load();"></iframe> |
57 |
</div> |
58 |
<div class="TabPage"> |
59 |
<div id="summaryDiv"> |
60 |
<table id="summaryTable"> |
61 |
<thead> |
62 |
<tr> |
63 |
<th>File</th> |
64 |
<th><abbr title="The total number of executable statements">Statements</abbr></th> |
65 |
<th><abbr title="The number of statements actually executed">Executed</abbr></th> |
66 |
<th><abbr title="Number of executed statements as a percentage of total number of statements">Coverage</abbr></th> |
67 |
<th><abbr title="List of statements missed during execution">Missing</abbr></th> |
68 |
</tr> |
69 |
<tr id="summaryTotals"> |
70 |
<td class="totals"> |
71 |
<span class="title">Total:</span> |
72 |
<span>0</span> |
73 |
</td> |
74 |
<td class="numeric">0</td> |
75 |
<td class="numeric">0</td> |
76 |
<td class="coverage"> |
77 |
<div class="pctGraph"> |
78 |
<div class="covered"></div> |
79 |
</div> |
80 |
<span class="pct">0%</span> |
81 |
</td> |
82 |
<td></td> |
83 |
</tr> |
84 |
</thead> |
85 |
<tbody id="summaryTbody"> |
86 |
|
87 |
<!-- |
88 |
<tr> |
89 |
<td>0</td> |
90 |
<td>0</td> |
91 |
<td>0</td> |
92 |
<td>0%</td> |
93 |
<td>0</td> |
94 |
</tr> |
95 |
--> |
96 |
|
97 |
</tbody> |
98 |
</table> |
99 |
</div> |
100 |
</div> |
101 |
<div class="TabPage"> |
102 |
<div id="fileDiv"></div> |
103 |
<div id="sourceDiv"></div> |
104 |
</div> |
105 |
<div class="TabPage"> |
106 |
This is version 0.2 of JSCoverage, a program that calculates code |
107 |
coverage statistics for JavaScript. |
108 |
<p> |
109 |
See <a href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information. |
110 |
</p> |
111 |
<p> |
112 |
Copyright © 2007 siliconforks.com |
113 |
</p> |
114 |
</div> |
115 |
</div> |
116 |
</div> |
117 |
|
118 |
<script src="scriptaculous.js" type="text/javascript"></script> |
119 |
</body> |
120 |
</html> |