Code coverage statistics show which lines of a program have been executed (and which have been missed). This information is useful for constructing comprehensive test suites (hence, it is often called test coverage).
JSCoverage supports the complete language syntax described in the ECMAScript Language Specification (ECMA-262, 3rd edition). JSCoverage works with any modern standards-compliant web browser - including Internet Explorer (IE 6, 7, and 8), Firefox, Opera, Safari, and Google Chrome - on Microsoft Windows and GNU/Linux.
JSCoverage is free software, distributed under the GNU General Public License version 2.
Any future development of the JSCoverage code base will likely occur in the new JSCover project on GitHub, which reuses a substantial amount of JSCoverage code and aims for a high degree of backward compatibility with JSCoverage. JSCoverage itself is unlikely to have any further releases.
JSCoverage 0.5.1 is available for download.
This release contains several bug fixes and improvements:
file:URLs. It is recommended that an HTTP server be used instead. (See the manual for details.) The JSCoverage user interface now displays a warning when used with
jscoveragenow produces better output.
jscoverage-serverwas started with the option
--ip-address=A, where A was a specific IP address, it was impossible to shut it down with
jscoverage-server --shutdown. This should be possible now by running
jscoverage-server --shutdown --ip-address=Afrom the same machine.
JSCoverage 0.5 is available for download.
This release contains a number of new features and bug fixes:
--mozillaoption (thanks to Murali Nandigama for help creating this).
newoperator were instrumented incorrectly; this has now been fixed (thanks to Guillaume Lung).
jscoverage-serverprogram now allows more characters in URLs (thanks to Guillaume Lung).
jscoverage-serverprogram now handles HTTP headers with empty values (thanks to Velo).
jscoverageprogram now refuses to instrument code which has already been instrumented (thanks to Velo).
jscoverageprogram was unable to instrument a directory in a drive root; this has now been fixed.
jscoverage-serverprogram can no longer bind to the same port multiple times on Windows.
jscoverage-server's handling of the "chunked" Transfer-Encoding have been fixed.
jscoverage-serverhas changed. (This change will not have any visible effects for most users; it will only be of interest to those who have written code which parses that format.)