/[jscoverage]/trunk/jscoverage.html
ViewVC logotype

Contents of /trunk/jscoverage.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 603 - (show annotations)
Thu Sep 23 22:49:42 2010 UTC (8 years, 1 month ago) by siliconforks
File MIME type: text/html
File size: 6609 byte(s)
Display a different warning message when viewing a report.

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 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" >
24 <title>JSCoverage</title>
25 <link rel="stylesheet" type="text/css" href="jscoverage-highlight.css">
26 <link rel="stylesheet" type="text/css" href="jscoverage.css">
27 <!--[if IE]>
28 <link rel="stylesheet" type="text/css" href="jscoverage-ie.css">
29 <![endif]-->
30 <script type="text/javascript" src="jscoverage.js"></script>
31 </head>
32
33 <body onload="jscoverage_body_load();" onresize="jscoverage_body_resize();">
34 <div id="mainDiv">
35 <div id="headingDiv">
36 <h1>JSCoverage</h1>
37 <div class="ProgressBar" id="progressBar"><span class="ProgressPercentage"></span><div class="ProgressGraph"><div class="ProgressCovered"></div></div></div>
38 <span id="progressLabel"></span>
39 <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>
40 </div>
41
42 <div id="warningDialog" class="WarningDialog">
43 <p>
44 Recent web browsers tend to place significant security restrictions on the use
45 of <code>file:</code> URLs. These restrictions can prevent JSCoverage from
46 working properly. To avoid problems, it is recommended that you do either of the
47 following:
48 </p>
49 <ul>
50 <li>If you are using the <code>jscoverage</code> program to instrument your
51 JavaScript code, install the instrumented files on a web server.</li>
52 <li>Use the <code>jscoverage-server</code> program (which itself acts as a web
53 server).</li>
54 </ul>
55 <p>
56 See the
57 <a target="_blank" href="http://siliconforks.com/jscoverage/manual.html">manual</a>
58 for further details.
59 </p>
60 <button type="button" onclick="jscoverage_closeWarningDialog();">OK</button>
61 </div>
62
63 <div id="reportWarningDialog" class="WarningDialog">
64 <p>
65 Recent web browsers tend to place significant security restrictions on the use
66 of <code>file:</code> URLs. These restrictions can prevent JSCoverage from
67 working properly. To avoid problems, it is recommended that you view coverage
68 reports stored to the filesystem by serving them from a web server.
69 </p>
70 <p>
71 See the
72 <a target="_blank" href="http://siliconforks.com/jscoverage/manual.html">manual</a>
73 for further details.
74 </p>
75 <button type="button" onclick="jscoverage_closeWarningDialog();">OK</button>
76 </div>
77
78 <div id="tabs" class="Tabs">
79 <div id="browserTab"><img src="jscoverage-throbber.gif" alt=""> Browser <img src="jscoverage-throbber.gif" alt=""></div>
80 <div id="summaryTab"><img id="summaryThrobber" src="jscoverage-throbber.gif" alt=""> Summary <img src="jscoverage-throbber.gif" alt=""></div>
81 <div id="sourceTab" class="disabled"><img src="jscoverage-throbber.gif" alt=""> Source <img src="jscoverage-throbber.gif" alt=""></div>
82 <div id="storeTab"><img id="storeThrobber" src="jscoverage-throbber.gif" alt=""> Store <img src="jscoverage-throbber.gif" alt=""></div>
83 <div id="aboutTab"><img src="jscoverage-throbber.gif" alt=""> About <img src="jscoverage-throbber.gif" alt=""></div>
84 </div>
85 <div id="tabPages" class="TabPages">
86 <div class="TabPage" id="browserTabPage">
87 <div id="locationDiv">
88 URL: <input id="location" type="text" size="70" onkeypress="jscoverage_input_keypress(event)">
89 <button onclick="jscoverage_openInFrameButton_click();" title="open URL in the iframe below [Enter]">Open in frame</button>
90 <button onclick="jscoverage_openInWindowButton_click();" title="open URL in a new window (or tab) [Shift+Enter]">Open in window</button>
91 </div>
92 <div id="iframeDiv">
93 <iframe id="browserIframe" onload="jscoverage_browser_load();"></iframe>
94 </div>
95 </div>
96 <div class="TabPage">
97 <input type="checkbox" id="checkbox" onclick="return jscoverage_checkbox_click();"> <label for="checkbox">Show missing statements column</label>
98 <div id="summaryDiv">
99 <div id="summaryErrorDiv"></div>
100 <table id="summaryTable">
101 <thead>
102 <tr id="headerRow">
103 <th class="leftColumn">File</th>
104 <th><abbr title="The total number of executable statements">Statements</abbr></th>
105 <th><abbr title="The number of statements actually executed">Executed</abbr></th>
106 <th><abbr title="Number of executed statements as a percentage of total number of statements">Coverage</abbr></th>
107 </tr>
108 <tr id="summaryTotals">
109 <td class="leftColumn">
110 <span class="title">Total:</span>
111 <span>0</span>
112 </td>
113 <td class="numeric">0</td>
114 <td class="numeric">0</td>
115 <td class="coverage">
116 <div class="pctGraph">
117 <div class="covered"></div>
118 </div>
119 <span class="pct">0%</span>
120 </td>
121 </tr>
122
123 </thead>
124 <tbody id="summaryTbody">
125
126 <!--
127 <tr>
128 <td>0</td>
129 <td>0</td>
130 <td>0</td>
131 <td>0%</td>
132 <td>0</td>
133 </tr>
134 -->
135
136 </tbody>
137 </table>
138 </div>
139 </div>
140 <div class="TabPage">
141 <div id="fileDiv"></div>
142 <div id="sourceDiv"></div>
143 </div>
144 <div class="TabPage" id="storeTabPage">
145 <button id="storeButton" onclick="jscoverage_storeButton_click();">Store Report</button>
146 <img id="storeImg" src="jscoverage-throbber.gif" alt="loading...">
147 <div id="storeDiv"></div>
148 </div>
149 <div class="TabPage">
150 <p>
151 This is version 0.5.1 of JSCoverage, a program that calculates code
152 coverage statistics for JavaScript.
153 </p>
154 <p>
155 See <a target="_blank" href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information.
156 </p>
157 <p>
158 Copyright &copy; 2007, 2008, 2009, 2010 siliconforks.com
159 </p>
160 </div>
161 </div>
162 </div>
163 </body>
164 </html>

  ViewVC Help
Powered by ViewVC 1.1.24