Skip to content
Fallow home
All docs pages

Docs home

Runtime coverage unavailable

What a runtime-coverage-unavailable finding of fallow health means, why it matters and how to fix it.

What it reports

Runtime coverage could not be resolved for this function.

Runtime coverage explains how fallow finds it.

Why it matters

fallow has no runtime data for the function, so it cannot tell if production runs it. A decision to delete or keep the function has no runtime evidence.

Example

renderChart runs in a worker thread, so the capture of the main process has no coverage entry for it.

Fix

Capture coverage in the worker too, or check that the source maps map the bundle to the source file. Do not delete code because of this finding.

Facts

FactValue
Issue typeruntime-coverage-unavailable
Rule id in SARIF outputfallow/runtime-coverage-unavailable
Commandfallow health
Fixable with fallow fixNo

Note. Requires --runtime-coverage input (V8 directory, V8 JSON, or Istanbul map).