Coverage reports

Istanbul coverage summary

Summarize statement, function, branch and line counts from coverage-final.json.

Your inputs

Start with an example

Your inputs stay in your browser.

Your result

Example result

How it works

Count positive hit counters. For line coverage, combine statements starting on the same line using the largest hit count.

One of the sample’s two statements and one of its two branch paths are covered: 50% for each.

Limits

Raw Istanbul file coverage, not summary JSON or source-map remapping. Zero-item metrics have no percentage. Counts do not establish test quality or enforce a threshold.