Analyses
The Analyses pages of the Fallow documentation.
- Dead code: Find unused files, exports, types, class members and enum members with fallow dead-code, and remove them in a safe order.
- Dependencies: Find unused, missing and misplaced packages in package.json with fallow dead-code, and fix each finding.
- Duplication: Find duplicated code with fallow dupes, decide which copies to merge, and set a limit for new copies.
- Similar code: Find functions that may do the same job with different code, with a local model, and review each candidate before you merge code.
- Health: Find the code that is hard to change with fallow health, read each metric, and decide what to refactor first.
- Architecture: Find import cycles and imports that break your layer rules with fallow architecture, and break or accept each one.
- Styling: Find unused CSS Module classes, broken class references and style drift in CSS, SCSS, Tailwind and CSS-in-JS with fallow.
- Changed code: Check the files that a branch or a commit changes with fallow audit, read the verdict, and decide what to fix before a merge.
- Type-aware analysis: Add the TypeScript type checker to fallow, so that it confirms a TypeScript finding before you delete code.
- Runtime coverage: Merge data from a running app into fallow health, so that you see which functions never run and which run often.
- Mutation testing: Find the changes to your code that no test detects with fallow mutation, and decide which test to add.
- Security candidates: Find code that can pass unsafe input to a dangerous call, or a server secret to client code, with fallow security.
- Feature flags: Find the feature flags in your code with fallow flags, and decide which flags to retire.