Coverage Badge
Runs with coverage data display a coverage badge on the Test Runs list. The badge shows the overall statement coverage percentage, giving an at-a-glance indicator without opening the run.Coverage Summary
The Coverage Overview card shows 4 tiles with the overall coverage for the run. Each tile shows the percentage, a fill bar, and the covered count out of the total (for example, 54 of 61 covered). Tiles use the same colors as the badge: green at 80% and above, amber from 50% to 79%, red below 50%.
The card header lists the number of files in the report and the instrumentation tool (for example,
Istanbul). Sharded runs that were combined into 1 report show a Shards merged badge. If a shard never sent its coverage, a Partial report notice appears above the tiles and the numbers understate real coverage.
Coverage by File
The Files card lists every file that ran during the test run. Each row displays statements, branches, functions, and lines percentages, colored on the same scale as the summary tiles. Click a column header to sort and find the files with the lowest coverage. 2 view modes are available using the toggle in the top-right corner of the table:List View
A flat list of all source files with their coverage percentages. Paths are shortened to start at src/, lib/, app/, or components/ where possible, with the directory dimmed and the file name in full contrast. Hover over a path to see the full path.
Tree View
Files grouped by directory structure. Expand or collapse folders to drill into specific areas of your codebase. Each folder row shows the aggregate coverage for all files inside it. All folders start expanded; a single button toggles between Collapse all and Expand all.
Coverage Diff
The diff view compares coverage between the current run and a baseline. It highlights files where coverage increased or decreased, making it easy to spot regressions introduced by a specific change.
The baseline defaults to the previous run on the same branch. For pull request runs, the baseline is the latest run on the target branch.
Related
Code Coverage Guide
Set up instrumentation and coverage collection
Coverage Trend
Track coverage trends across runs
Summary
Group failures and flakiness by cause
Specs
Review results by spec file