Fallow health score
Why the Fallow health score is what it is, with the measurement behind each deduction and the files that drive it.
What deducts points
Fallow starts at 100 and subtracts a capped penalty for each area. Only the areas below deduct anything in this build.
| Area | Deduction | Formula | Measurement | What moves it |
|---|---|---|---|---|
| Function size | −6 / 10 | 12 × 0.5 = 6 |
12 large functions per 1,000 — 19 of 1589 functions (1.2%) are longer than 60 lines. | Split each long function into helpers that do one thing, and leave a short coordinator that only calls them. |
| Hotspots | −3.3 / 10 | 1 ÷ 3 × 10 = 3.3 |
1 hotspot file — A hotspot is both complex and frequently changed. | Refactor the hottest complex files first, because a fix there helps most. |
| Coupling | −2.4 / 5 | 4.8 × 0.5 = 2.4 |
4.8% of scored files above fan-in 13 — 10 files listed below. | Put shared logic behind one module or a facade, so importers depend on a small interface instead of many files. |
Functions longer than 60 lines
The functions below cover 19 functions (1.2% of all functions) and drive the function-size penalty.
Files imported by more than 13 files
Fallow uses the larger of the 95th-percentile fan-in and 10 as the threshold. 4.8% of scored files are above it; 10 are listed below.
| File | Fan-in | Fan-out | Maintainability | Lines |
|---|---|---|---|---|
playground/src/bundle.ts |
31 | 1 | 90.6 | 698 |
packages/zod/src/utils.ts |
22 | 2 | 92 | 40 |
playground/src/monaco/MonacoEditor.tsx |
21 | 3 | 89.1 | 238 |
packages/json-schema/src/model.ts |
19 | 1 | 94.8 | 169 |
playground/src/targets.ts |
19 | 0 | 97 | 28 |
packages/json-schema/src/dialect.ts |
18 | 3 | 90.6 | 504 |
packages/zod/src/generators/createGenerator.ts |
18 | 2 | 93.8 | 53 |
playground/src/formatMode.ts |
16 | 0 | 98.8 | 13 |
playground/src/monaco/format.ts |
16 | 0 | 97.1 | 48 |
playground/src/App.tsx |
15 | 9 | 87.8 | 52 |
How to read this
The score and its penalties come from the combined CI Fallow result, the same result that feeds the gate. The health badge is the standalone fallow health run, so it can differ by a tenth from the score above. The long-function list is a focused Fallow query because Fallow omits it below 3% of functions. File length is not part of the score: maxFileLines (900 here) reports a long-file finding, but the size penalty counts only functions over 60 lines.
Open the interactive Fallow map · Raw health JSON · Fallow score formula