Skip to content
Fallow home
All docs pages

Docs home

Production low traffic

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

What it reports

Function was invoked below the low-traffic threshold.

Runtime coverage explains how fallow finds it.

Why it matters

Production almost never runs the function, but the team still maintains and tests it. Each change to it carries risk for a path that few requests need.

Example

legacyLogin ran 3 times in a capture of 2 million calls, below the --low-traffic-threshold fraction.

Fix

Find the remaining callers, move them to the current path, then remove the function. Keep it when the rare callers matter.

Facts

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

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