# JSCoverage
code coverage for JavaScript

## News

### December 11, 2008 - JSCoverage 0.4

JSCoverage 0.4 is available for download.

This release includes many new features:

- The new `jscoverage-server` program is provided as an alternative to the `jscoverage` program. The `jscoverage-server` program is a simple HTTP server which instruments JavaScript code as it is served; this allows you to execute JavaScript and gather code coverage statistics without a preliminary step of creating instrumented code. The `jscoverage-server` program can either serve files directly from the filesystem or run as a proxy server (with the `--proxy` option), instrumenting JavaScript provided by another web server.
- Using `jscoverage-server`, coverage reports can now be stored to the filesystem.
- JSCoverage now recognizes special JavaScript comments which specify that certain lines of code should be ignored in coverage reports.
- The new `--encoding` option provides better support for different character encodings.
- The JSCoverage user interface is now faster and more responsive.
- The new `--no-highlight` option can be used to disable syntax highlighting (giving better performance for large JavaScript files).
- The build system has been modified so that `make install` only installs the `jscoverage` and `jscoverage-server` executables and their manual pages. (Previous versions installed SpiderMonkey library and executable files, which could conflict with other versions of SpiderMonkey installed on your system.)
- JSCoverage now supports several features beyond those found in the ECMAScript Language Specification, including the following:
  - getters and setters
  - `for each` loops
  - generators and iterators
  - the `let` keyword
  - destructuring assignment
  - array comprehensions
  - expression closures
  - generator expressions
  Use the new `--js-version` option to enable these features.

The GCC C++ compiler (`g++`) is now required to compile JSCoverage. (Previously, only the C compiler was needed.)

Please report any bugs you find using the new bug tracker.

### March 31, 2008 - JSCoverage and Firefox 3

The JSCoverage FAQ has been updated to address problems using JSCoverage with Firefox 3.

### March 24, 2008 - JSCoverage in Debian GNU/Linux

JSCoverage is now available in the Debian unstable distribution.

### November 22, 2007 - JSCoverage 0.3.1

JSCoverage 0.3.1 is available for download.

This release has a number of bug fixes:

- It should now be possible to run the native Windows version of `jscoverage` with minimal privileges.
- All files used by JSCoverage now use a `jscoverage` prefix to avoid name collisions.
- Compilation bugs which occurred under some versions of MSYS have been fixed.
- Various documentation improvements.

### August 26, 2007 - JSCoverage 0.3

JSCoverage 0.3 is available for download.

This release has the following new features:

- The coverage summary now displays bar graphs (thanks to Ross Simpson).
- A progress bar is displayed for lengthy computations.
- JavaScript syntax highlighting has improved.
- The display of missed statements can be turned on and off.
- New "inverted mode" provides better support for working with JsUnit.

### August 23, 2007 - JSCoverage in Linux Format magazine

JSCoverage is in the October 2007 issue of Linux Format magazine (table of contents).

### July 31, 2007 - Subversion repository now available

See the download page for instructions on accessing the Subversion repository.

### July 8, 2007 - JSCoverage 0.2

JSCoverage 0.2 is available for download.

JSCoverage 0.2 features a new tabbed user interface.

### July 1, 2007 - JSCoverage 0.1.1

JSCoverage 0.1.1 is available for download.

JSCoverage 0.1.1 fixes a bug that can cause large JavaScript files to be truncated when viewed with Opera.

### June 15, 2007 - documentation of JSCoverage internals

A new document, Parsing JavaScript with SpiderMonkey, describes the technique used by JSCoverage to parse JavaScript programs.

### May 30, 2007 - new examples

Added some examples of running JSCoverage on popular JavaScript libraries.

### May 26, 2007 - JSCoverage 0.1

JSCoverage 0.1 is available for download.