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

Annotation of /trunk/scriptaculous.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (hide annotations)
Wed Aug 1 16:50:23 2007 UTC (15 years, 8 months ago) by siliconforks
File MIME type: text/html
File size: 4443 byte(s)
Add bar graphs to coverage summary (patch by Ross Simpson).

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 siliconforks 4 <tr id="summaryTotals">
64     <td class="totals">
65     <span class="title">Total:</span>
66     <span>0</span>
67     </td>
68     <td class="numeric">0</td>
69     <td class="numeric">0</td>
70     <td class="coverage">
71     <div class="pctGraph">
72     <div class="covered"></div>
73     </div>
74     <span class="pct">0%</span>
75     </td>
76     <td></td>
77     </tr>
78 siliconforks 2 </thead>
79     <tbody id="summaryTbody">
80    
81     <!--
82     <tr>
83     <td>0</td>
84     <td>0</td>
85     <td>0</td>
86     <td>0%</td>
87     <td>0</td>
88     </tr>
89     -->
90    
91     </tbody>
92     </table>
93     </div>
94     </div>
95     <div class="TabPage">
96     <div id="fileDiv"></div>
97     <div id="sourceDiv"></div>
98     </div>
99     <div class="TabPage">
100     This is version 0.2 of JSCoverage, a program that calculates code
101     coverage statistics for JavaScript.
102     <p>
103     See <a href="http://siliconforks.com/jscoverage/">http://siliconforks.com/jscoverage/</a> for more information.
104     </p>
105     <p>
106     Copyright &copy; 2007 siliconforks.com
107     </p>
108     </div>
109     </div>
110     </div>
111    
112     <script src="scriptaculous.js" type="text/javascript"></script>
113     </body>
114     </html>

  ViewVC Help
Powered by ViewVC 1.1.24