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

Contents of /trunk/doc/index.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 561 - (show annotations)
Sat Apr 24 15:49:29 2010 UTC (10 years, 7 months ago) by siliconforks
File MIME type: text/html
File size: 6734 byte(s)
Update news items.

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>JSCoverage - code coverage for JavaScript</title>
5 <link rel="stylesheet" type="text/css" href="reset-fonts-grids.css">
6 <link rel="stylesheet" type="text/css" href="style.css">
7 </head>
8 <body>
9 <div id="doc3" class="yui-t5">
10 <div id="hd"><h1><span class="h1">JSCoverage</span><br><span class="tag">code coverage for JavaScript</span></h1></div>
11 <div id="bd">
12 <div id="yui-main">
13 <div id="jscoverage-main" class="yui-b">
14 <p>
15 JSCoverage is a tool that measures code coverage for
16 JavaScript programs.
17 </p>
18 <p>
19 <dfn>Code coverage</dfn> statistics show which lines of a program have
20 been executed (and which have been missed). This information is useful
21 for constructing comprehensive test suites (hence, it is often called
22 <dfn>test coverage</dfn>).
23 </p>
24 <p>
25 JSCoverage works by instrumenting the JavaScript code used in web
26 pages. Code coverage statistics are collected while the instrumented
27 JavaScript code is executed in a web browser.
28 </p>
29 <p>
30 JSCoverage supports the complete language syntax described in the
31 <cite>ECMAScript Language Specification</cite> (ECMA-262, 3rd edition).
32 JSCoverage works with any modern standards-compliant web browser -
33 including Internet Explorer (IE 6, 7, and 8), Firefox,
34 Opera, Safari, and Google Chrome - on Microsoft Windows and GNU/Linux.
35 </p>
36 <p>
37 JSCoverage is free software, distributed under the
38 <a href="license.html">GNU General Public License version 2</a>.
39 </p>
40
41 <h2>Latest News <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a></h2>
42
43 <h3><a name="20100424">April 24, 2010 - JSCoverage 0.5</a></h3>
44 <p>
45 JSCoverage 0.5 is available for <a href="http://siliconforks.com/jscoverage/download.html">download</a>.
46 </p>
47 <p>
48 This release contains a number of new features and bug fixes:
49 </p>
50 <ul class="list">
51 <li>
52 A new mode of operation, called "window mode", allows you to run code in a new browser window (or tab).
53 </li>
54 <li>
55 Code coverage statistics can now be generated for applications based on
56 the Mozilla platform using the <code>--mozilla</code> option (thanks to
57 Murali Nandigama for help creating this).
58 </li>
59 <li>
60 The method used to calculate overall percentage code coverage for all
61 files has changed. Previously, the calculation was done using an
62 unweighted average: each file's percentage code coverage contributed
63 equally to the total, regardless of the number of lines of code in the
64 file. Now, the calculation is done using a weighted average. This
65 fixes
66 <a href="http://siliconforks.com/jscoverage/bugs/6">bug #6</a> (thanks to
67 Liu Cougar).
68 </li>
69 <li>
70 Contiguous lines in the "Missing" column are now grouped together (thanks to
71 Liu Cougar).
72 </li>
73 <li>
74 The "Source" tab is no longer empty when code being tested throws an
75 uncaught exception
76 (fixing <a href="http://siliconforks.com/jscoverage/bugs/5">bug #5</a>)
77 </li>
78 <li>
79 Previously, certain uses of the <code>new</code> operator were
80 instrumented incorrectly; this has now been fixed
81 (thanks to Guillaume Lung).
82 </li>
83 <li>
84 The <code>jscoverage-server</code> program now allows more characters in
85 URLs (thanks to Guillaume Lung).
86 </li>
87 <li>
88 The <code>jscoverage-server</code> program now handles HTTP headers with
89 empty values (thanks to Velo).
90 </li>
91 <li>
92 The <code>jscoverage</code> program now refuses to instrument code which
93 has already been instrumented (thanks to Velo).
94 </li>
95 <li>
96 URLs containing spaces now work correctly (thanks to Igor Papkov).
97 </li>
98 <li>
99 Previously, on Windows, the <code>jscoverage</code> program
100 was unable to instrument a directory in a drive root; this has now been
101 fixed.
102 </li>
103 <li>
104 Encoded URLs are now handled better in the query string.
105 </li>
106 <li>
107 A limitation of 65,535 lines per file and 65,535 characters per line has
108 been removed.
109 </li>
110 <li>
111 Floating-point numbers are now handled with improved precision.
112 </li>
113 <li>
114 The <code>jscoverage-server</code> program can no longer bind to the same port multiple times on Windows.
115 </li>
116 <li>
117 Some bugs in <code>jscoverage-server</code>'s handling of the "chunked"
118 Transfer-Encoding have been fixed.
119 </li>
120 <li>
121 Compilation under Cygwin now uses the <code>-mno-cygwin</code> flag.
122 </li>
123 <li>
124 The wire format used for submitting coverage reports for storage by
125 <code>jscoverage-server</code> has changed. (This change will not have
126 any visible effects for most users; it will only be of interest to those
127 who have written code which parses that format.)
128 </li>
129 </ul>
130
131 <p>
132 <a href="news.html">All news items...</a>
133 </p>
134 </div>
135 </div>
136 <div id="jscoverage-sidebar" class="yui-b">
137 <ul>
138 <li>Home
139 <li><a href="news.html">News</a> <a href="http://siliconforks.com/jscoverage/news.xml" type="application/rss+xml" title="RSS feed for JSCoverage"><img src="feed-icon-14x14.png" alt="RSS feed"></a>
140 <li><a href="manual.html">Documentation</a>
141 <li><a href="demo.html">Demo</a>
142 <li><a href="http://siliconforks.com/jscoverage/download.html">Download</a>
143 <li><a href="faq.html">FAQ</a>
144 <li><a href="help.html">Help</a>
145 <li><a href="license.html">License</a>
146 <li><a href="links.html">Links</a>
147 <li><a href="users.html">Users</a>
148 <li><a href="http://siliconforks.com/jscoverage/bugs/">Bug tracker</a>
149 </ul>
150 </div>
151 </div>
152 <div id="ft">
153 <address>
154 Copyright &copy; 2007, 2008, 2009, 2010 <a href="http://siliconforks.com/"><img src="siliconforks-16x16.png" width="16" height="16" class="icon" alt="Silicon Forks"></a> <a href="http://siliconforks.com/">siliconforks.com</a><br>
155 <a href="mailto:jscoverage@siliconforks.com">jscoverage@siliconforks.com</a>
156 </address>
157 </div>
158 </div>
159 </body>
160 </html>

  ViewVC Help
Powered by ViewVC 1.1.24