istanbul-js
Menu

Istanbul JS Reference

Make your coverage report explainable.

Choose a collector, inspect source scope, and turn a missed branch into an assertion.

Original learning notes from Istanbul JS Notes. Independent of the Istanbul project.

Illustrative coverage map comparing four execution measures and a missed branch.

Start with the code you execute

All tutorials

Four measures, different questions

Statements identify executed statements. Branches identify taken alternatives. Functions identify called functions. Lines identify executed source lines. None replaces an assertion about the correct result.

Use the integration guide to choose collection and source scope to understand what enters the report.

A historical address with original explanations

The live official documentation remains the source of truth. These guides are original writing, not a recovered copy of that site. Read about this reference for the distinction.