-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
164 lines (153 loc) · 6.45 KB
/
index.html
File metadata and controls
164 lines (153 loc) · 6.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<!--
jscoverage.html - code coverage for JavaScript
Copyright (C) 2007, 2008, 2009, 2010 siliconforks.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
<title>JSCoverage</title>
<link rel="stylesheet" type="text/css" href="jscoverage-highlight.css">
<link rel="stylesheet" type="text/css" href="jscoverage.css">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="jscoverage-ie.css">
<![endif]-->
<script type="text/javascript" src="jscoverage.js"></script>
</head>
<body onload="jscoverage_body_load();" onresize="jscoverage_body_resize();">
<div id="mainDiv">
<div id="headingDiv">
<h1>JSCoverage</h1>
<div class="ProgressBar" id="progressBar"><span class="ProgressPercentage"></span><div class="ProgressGraph"><div class="ProgressCovered"></div></div></div>
<span id="progressLabel"></span>
<div id="warningDiv"><strong>Warning:</strong> <a href="#" onclick="jscoverage_openWarningDialog(); return false;">loading <code>jscoverage.html</code> using a <code>file:</code> URL is deprecated</a></div>
</div>
<div id="warningDialog" class="WarningDialog">
<p>
Recent web browsers tend to place significant security restrictions on the use
of <code>file:</code> URLs. These restrictions can prevent JSCoverage from
working properly. To avoid problems, it is recommended that you do either of the
following:
</p>
<ul>
<li>If you are using the <code>jscoverage</code> program to instrument your
JavaScript code, install the instrumented files on a web server.</li>
<li>Use the <code>jscoverage-server</code> program (which itself acts as a web
server).</li>
</ul>
<p>
See the
<a target="_blank" href="http://siliconforks.com/jscoverage/manual.html">manual</a>
for further details.
</p>
<button type="button" onclick="jscoverage_closeWarningDialog();">OK</button>
</div>
<div id="reportWarningDialog" class="WarningDialog">
<p>
Recent web browsers tend to place significant security restrictions on the use
of <code>file:</code> URLs. These restrictions can prevent JSCoverage from
working properly. To avoid problems, it is recommended that you view coverage
reports stored to the filesystem by serving them from a web server.
</p>
<p>
See the
<a target="_blank" href="http://siliconforks.com/jscoverage/manual.html">manual</a>
for further details.
</p>
<button type="button" onclick="jscoverage_closeWarningDialog();">OK</button>
</div>
<div id="tabs" class="Tabs">
<div id="browserTab"><img src="jscoverage-throbber.gif" alt=""> Browser <img src="jscoverage-throbber.gif" alt=""></div>
<div id="summaryTab"><img id="summaryThrobber" src="jscoverage-throbber.gif" alt=""> Summary <img src="jscoverage-throbber.gif" alt=""></div>
<div id="sourceTab" class="disabled"><img src="jscoverage-throbber.gif" alt=""> Source <img src="jscoverage-throbber.gif" alt=""></div>
<div id="storeTab"><img id="storeThrobber" src="jscoverage-throbber.gif" alt=""> Store <img src="jscoverage-throbber.gif" alt=""></div>
<div id="aboutTab"><img src="jscoverage-throbber.gif" alt=""> About <img src="jscoverage-throbber.gif" alt=""></div>
</div>
<div id="tabPages" class="TabPages">
<div class="TabPage" id="browserTabPage">
<div id="locationDiv">
URL: <input id="location" type="text" size="70" onkeypress="jscoverage_input_keypress(event)">
<button onclick="jscoverage_openInFrameButton_click();" title="open URL in the iframe below [Enter]">Open in frame</button>
<button onclick="jscoverage_openInWindowButton_click();" title="open URL in a new window (or tab) [Shift+Enter]">Open in window</button>
</div>
<div id="iframeDiv">
<iframe id="browserIframe" onload="jscoverage_browser_load();"></iframe>
</div>
</div>
<div class="TabPage">
<input type="checkbox" id="checkbox" onclick="return jscoverage_checkbox_click();"> <label for="checkbox">Show missing statements column</label>
<div id="summaryDiv">
<div id="summaryErrorDiv"></div>
<table id="summaryTable">
<thead>
<tr id="headerRow">
<th class="leftColumn">File</th>
<th><abbr title="The total number of executable statements">Statements</abbr></th>
<th><abbr title="The number of statements actually executed">Executed</abbr></th>
<th><abbr title="Number of executed statements as a percentage of total number of statements">Coverage</abbr></th>
</tr>
<tr id="summaryTotals">
<td class="leftColumn">
<span class="title">Total:</span>
<span>0</span>
</td>
<td class="numeric">0</td>
<td class="numeric">0</td>
<td class="coverage">
<div class="pctGraph">
<div class="covered"></div>
</div>
<span class="pct">0%</span>
</td>
</tr>
</thead>
<tbody id="summaryTbody">
<!--
<tr>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0%</td>
<td>0</td>
</tr>
-->
</tbody>
</table>
</div>
</div>
<div class="TabPage">
<div id="fileDiv"></div>
<div id="sourceDiv"></div>
</div>
<div class="TabPage" id="storeTabPage">
<button id="storeButton" onclick="jscoverage_storeButton_click();">Store Report</button>
<img id="storeImg" src="jscoverage-throbber.gif" alt="loading...">
<div id="storeDiv"></div>
</div>
<div class="TabPage">
<p>
This is version 0.5.1 of JSCoverage, a program that calculates code
coverage statistics for JavaScript.
</p>
<p>
See <a target="_blank" href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information.
</p>
<p>
Copyright © 2007, 2008, 2009, 2010 siliconforks.com
</p>
</div>
</div>
</div>
</body>
</html>