@readmodelmag
MODEL

Tools

We tested Fallow: it found all 7 code messes we planted, and missed one renamed copy

SummaryFallow is a free, MIT-licensed checker for TypeScript and JavaScript projects that hunts dead code, copy-paste, import loops and package drift. We planted seven of those messes in a small app. It found all seven in under half a second. A copied function with renamed variables needed a stricter mode.

· MODEL Editors · 2 min read

Some links may be affiliate links. Disclosure

MODEL test card on a cream background. Small red kicker: WE TESTED IT / FALLOW. Large red text: 7 of 7. Black headline: Planted code messes it found. Bottom left: MODEL. Bottom right: Sources: MODEL test, Fallow 3.52.0, Dec 2 2026.
MODEL hands-on test of Fallow 3.52.0 on Linux, Dec 2, 2026. Illustration by MODEL. Original. Image source.

The idea. AI coding agents are fast at adding code and slow at cleaning up after themselves. Fallow, a free command-line checker by developer Bart Waardenburg, reads a TypeScript or JavaScript project as one graph and reports what is left over: files nothing uses, exports nobody imports, copy-pasted blocks, import loops, and packages that don't match the code. It's written in Rust, MIT licensed, and also ships as a GitHub Action, an editor extension and an MCP server for agents. Version 3.52.0 came out on Dec 1, and the repo had 5,448 GitHub stars when we checked late Wednesday morning, Dec 2.

What we ran. On Dec 2 we ran npx fallow@3.52.0 with no config file on our Linux box against a small TypeScript app we wrote by hand: seven source files and a package.json. No AI agent was involved. We planted seven problems of the kind agents often leave behind:

  • an exported function that nothing imports
  • a helper file that nothing imports
  • a 9-line function pasted into a second file
  • two files that import each other
  • two packages listed in package.json that the code never uses
  • one package the code imports but package.json never lists

What we found.

  • 7 of 7 found. One run listed every plant with its file and line, plus a refactoring target for the import loop. The full run took about 0.5 seconds of wall time; Fallow reported 0.01 s for the analysis itself.
  • The cleanup is conservative. fallow fix --dry-run offered to remove the two unused packages and the dead export, and nothing else. It did not offer to delete the unused files.
  • No false alarm on a dynamic import. We added a plugin file loaded with import() from a variable path. Fallow did not mark it as unused.
  • One miss by default. We added a third copy of the pasted function with every variable renamed. The default duplicate check didn't flag it. fallow dupes --mode semantic did, grouping all three copies.

The catch.

  • It warns that results get less reliable when node_modules isn't installed. We ran without installing packages, so framework plugins stayed off.
  • It finds structure problems, not bugs. A clean run doesn't mean the code works.
  • The complexity and "CRAP" risk scores are estimates unless you give it a test coverage file.

Our verdict. A one-second cleanup pass worth running after every agent session, and before you merge an agent's pull request. Turn on semantic mode if your agent likes to copy and rename.

Limits of our test. One small hand-made TypeScript app with no dependencies installed. We did not test monorepos, framework projects, the GitHub Action, the MCP server, the editor extension, fallow fix without --dry-run, or the mutation and security commands.

Disclosure: Tested by MODEL on Dec 2, 2026. Not sponsored. No affiliate links.

MODEL Editors

Get three tested tools every Friday

Free, weekly. Unsubscribe anytime.

Sources

  1. fallow-rs/fallow (README)

    GitHub

  2. Fallow v3.52.0 release notes

    GitHub

  3. Fallow documentation

    Fallow

FREE · EVERY WEEK

The top AI tools this week, tested.

Every week MODEL's editors pick the AI tools worth your time, try them hands-on, and tell you what's good, what's not, and who it's for. Free, in your inbox.

Free. Unsubscribe anytime. Our picks are editorial and can't be bought.