Node.js 24.18.0 · native V8 coverage

vanilla-test Node native V8 coverage

Coverage calculated directly from the executable ranges reported by V8.

The source ran as written—without source instrumentation, transpilation, or runtime rewriting.

Coverage gates passedEvery enabled total and per-file gate is satisfied.

Executable ranges

Measured
92.27…%

490 of 531 known ranges covered · Total gate disabled

Block ranges

Measured
90.64…%

378 of 417 known ranges covered · Total gate disabled

Function ranges

Measured
98.24…%

112 of 114 known ranges covered · Total gate disabled

Executable lines

Measured
92.83…%

1256 of 1353 known ranges covered · Total gate disabled

Thresholds

Total: not enforced · Per file: enforced

Threshold results
MetricMinimumTotalPer file
Executable ranges90%Not enforcedPass
Block ranges85%Not enforcedPass
Function ranges90%Not enforcedPass
Executable lines90%Not enforcedPass

Files

6 sources measured

Native coverage by source file
SourceV8 stateExecutable rangesBlock rangesFunction rangesExecutable lines
server/Config.jsLoaded100%68 / 68100%51 / 51100%17 / 17100%197 / 197
server/Config.mjsLoaded100%1 / 1100%0 / 0100%1 / 1100%3 / 3
server/MimeTypes.jsLoaded100%1 / 1100%0 / 0100%1 / 1100%97 / 97
server/MimeTypes.mjsLoaded100%1 / 1100%0 / 0100%1 / 1100%3 / 3
server/Server.jsLoaded91.06…%418 / 45989.34…%327 / 36697.84…%91 / 9390.69…%946 / 1043
server/index.mjsLoaded100%1 / 1100%0 / 0100%1 / 1100%10 / 10

How these metrics work

Transparent range semantics

Native metric definitions
Executable rangesOne item for every executable range record emitted by V8, including function roots and nested block ranges; a positive execution count is covered. V8 may collapse equal-count ranges, so totals can vary with the execution path.
Block rangesOne item for every nested block range after a function root range; a positive execution count is covered. These are count-change regions, not parser-enumerated branch alternatives.
Function rangesOne item for the first (root) range of every V8 function record; a positive execution count is covered.
Executable linesOne item for every source line whose content intersects an effective executable range; a line is covered only when every intersecting effective range has a positive count.
Effective rangesSource is partitioned at every V8 range boundary. Each segment uses the count from its smallest enclosing range, with the lowest count winning an equal-size tie.
Output interoperabilityThe JSON and LCOV files use conventional field names and records for tool transport, but executable-range and block-range totals are native V8 measurements and are not interchangeable with parser-derived statement or branch totals. Summary pct values are truncated to two decimals; threshold gates compare the exact covered/total ratio.
Included, not loadedAn included file not emitted by V8 is represented by one zero-count whole-file range. Its internal function and block structure is unknown and cannot satisfy a positive function or block threshold.

These measurements deliberately describe V8 ranges. They do not claim parser-derived statement or branch semantics.