No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.html
jscoverage-highlight.css
jscoverage-ie.css
jscoverage-throbber.gif
jscoverage.css
jscoverage.js

README.md

JSCoverage Report

This HTML report was extracted from the JSCoverage project. It will display a nice HTML report when fed it a JSON file of the form:

{
    "path/to/file.js":
        "coverage": [
            null,
            0,
            ...
        ],
        "source": [
            "function foo() {",
            "   var a = 1;",
                ...
        ]
}

The numbers in the coverage array indicate how many times the corresponding source line has been executed. null values represent lines that do not contain executable statements.

Usage

  1. Clone this repo.
  2. Copy or symlink a file in the above format to jscoverage.json in the project directory.
  3. python -m SimpleHTTPServer
  4. Point your browser to localhost:8000.

License

GPL v2