---
title: Coverage
description: Proven from code, never guessed. Explore every framework rule Chomp maps today alongside known gaps and how ? N unresolved works.
url: https://getchomp.dev/coverage
---

# What Chomp covers today

Proven from code, never guessed. Every box and line on Chomp Map links back to an exact file and line—explore every framework rule Chomp maps today alongside the known gaps we track openly.

Snapshot: Chomp extractor `v0.2.42` (`05a27b5`) · 70 mapped patterns · 10 known gaps · published Nov 24, 2026. Machine-readable JSON: https://getchomp.dev/coverage.json

## Stacks at a glance

| Stack | Tier | Versions | Mapped | Known gaps |
| :--- | :--- | :--- | ---: | ---: |
| TypeScript & JS | Built-in | — | 16 | 4 |
| Next.js | Built-in | >=13.4 | 10 | 1 |
| React | Built-in | — | 5 | 0 |
| Express | Built-in | — | 11 | 2 |
| Drizzle | Built-in | — | 4 | 1 |
| Payload | Built-in | — | 16 | 0 |
| Astro | Built-in | >=2.0 | 2 | 0 |
| SvelteKit | Built-in | >=1.0 | 5 | 0 |
| MCP | Built-in | — | 1 | 0 |
| NestJS | TS/JS base | — | 0 | 1 |
| React Router | TS/JS base | — | 0 | 1 |

## Mapped today (70)

- **Exported functions, arrows & deferred exports** (TypeScript & JS · Function): Maps exported function declarations, arrow/const functions, callable object-literal exports, and trailing `export { fn }` clauses.
- **Classes, public methods, getters & inheritance** (TypeScript & JS · Class): Extracts classes, public methods, static helpers, `get` accessors, `extends` inheritance chains, and `new Class()` instantiation links.
- **Factory returns, chained calls & typed parameters** (TypeScript & JS · Connection): Traces calls on factory-returned instances (`createService().run()`), fluent builder chains, `ReturnType<typeof fn>` types, and interface sub-properties.
- **First-class callbacks & dispatch tables** (TypeScript & JS · Connection): Connects functions passed by reference into callbacks (`items.map(fn)`, `.then(fn)`) and object/map handler dispatch tables.
- **ESM imports, barrels & tsconfig path aliases** (TypeScript & JS · Connection): Resolves cross-workspace imports, `.js` to `.ts` aliases, multi-hop barrel re-exports, and `tsconfig.json` `paths` / `baseUrl` aliases without `tsc`.
- **External HTTP, database & system I/O exits** (TypeScript & JS · External call): Detects `fetch`, HTTP clients, database drivers, `node:fs` mutations, `node:child_process`, WebSockets, and stitches internal `fetch("/api/...")` calls to matching routes.
- **Honest dynamic execution markers** (TypeScript & JS · External call): Marks non-literal `await import(dynamicPath)`, `eval()`, and unprovable dynamic calls as `? unresolved` instead of guessing a link.
- **Input & output type signatures** (TypeScript & JS · Schema): Records syntactically present parameter types, return types, and Zod validator schemas directly onto mapped nodes.
- **Route handler** (Next.js · Route): An exported HTTP-method function (or `export const { GET, POST } = handlers`) in `app/**/route.<ext>` is an HTTP endpoint.
- **Page** (Next.js · Page): The default-exported function of `app/**/page.<ext>` is the page for its route.
- **Layout** (Next.js · Layout): The default-exported function of `app/**/layout.<ext>` is the layout for its route segment.
- **Lifecycle export** (Next.js · Page): An exported `generateMetadata` or `generateStaticParams` function/const in `app/**/{page,layout}.<ext>` is a Next.js App Router lifecycle entry point.
- **Middleware** (Next.js · Middleware): `export { X as middleware }` or a default-exported function in `middleware.<ext>` is the request middleware.
- **Route segment config** (Next.js · Route): An exported route segment config constant (`dynamic`, `revalidate`, `runtime`, ...).
- **Metadata** (Next.js · Config): `export const metadata = { ... }` declares the segment metadata.
- **Cache invalidation** (Next.js · External call): A call to `revalidatePath()` / `revalidateTag()` reaches beyond the code: the Next.js data cache.
- **Server action** (Next.js · Server action): An exported function under a file-level or function-level 'use server' directive is a Server Action: callable from the client, executed on the server.
- **Dynamic component render** (Next.js · Connection): A JSX element whose tag is bound via Next.js `dynamic(() => import(...))` renders the target component.
- **HOC wrapped component** (React · Function): `export const X = memo(fn)` / `React.forwardRef(fn)` (also nested) exports a component. The exported constant is the node, and calls inside the wrapped function belong to it.
- **Imported component render** (React · Connection): A JSX element whose Capitalized tag is statically imported from a local module renders that module’s exported component.
- **Dynamic component render** (React · Connection): A JSX element whose tag is bound via `React.lazy(() => import(...))` / `lazy(() => import(...))` renders the target component.
- **Same file component render** (React · Connection): A JSX element whose tag names a function or wrapped component exported from the same source file renders it, with no import to prove it. A tag with no proven same-file export yields no edge.
- **Namespaced component render** (React · Connection): A JSX property-access element (`<Form.Input />`) renders the proven target component via namespace import, compound object, or same-file export.
- **Route** (Express · Route): An Express route registration (`app.get(path, handler)`, `router.post(path, handler)`, `app.route(path)`) is an HTTP route.
- **Middleware** (Express · Middleware): `app.use([path], middleware)` registers a request-intercepting middleware.
- **Route parameter** (Express · Route): `app.param(name, callback)` / `router.param([names], callback)` registers a route parameter handler.
- **Content negotiation** (Express · Route): `res.format({ ... })` declares an Accept-header content negotiation branch table.
- **App listen** (Express · External call): `app.listen(...)` / `server.listen(...)` opens a network listener.
- **Response cookie** (Express · External call): `res.cookie(name, ...)` / `res.clearCookie(name)` mutates client response cookies.
- **Dynamic methods** (Express · Route): `methods.forEach(...)` dynamically attaches HTTP verb methods onto the Express application/router prototype.
- **Use middleware** (Express · Connection): `app.use([pathPrefix], middleware)` mounts a middleware to intercept requests under `pathPrefix`.
- **Router mount** (Express · Connection): `app.use([pathPrefix], router)` mounts a sub-router module under `pathPrefix`.
- **Route middleware** (Express · Connection): Intermediate arguments in `app.<method>(path, mw1, ..., handler)` intercept requests on that route.
- **Route handler** (Express · Connection): A referenced final argument in `app.<method>(path, ..., handler)` binds the route to that handler node.
- **Tool** (MCP · Tool): `server.tool(name, ..., handler)` declares an MCP tool endpoint node and emits a registration link from the enclosing scope.
- **Schema** (Drizzle · Schema): A variable initialized with `pgTable` / `mysqlTable` / `sqliteTable` / `pgEnum` declares a Drizzle database schema node.
- **Query chain** (Drizzle · External call): The topmost call of a `db.select/insert/update/delete/execute/transaction` fluent chain or `db.query.<table>.findFirst/findMany` relational query is a database query connector, paired with a read/write link when a schema table is referenced.
- **Collection config** (Payload · Schema): `const X: CollectionConfig = { ... }` declares a Payload collection node.
- **Global config** (Payload · Schema): `const X: GlobalConfig = { ... }` declares a Payload global node.
- **Block** (Payload · Function): `const X: Block = { ... }` declares a Payload content block node.
- **Task** (Payload · Function): `const X: TaskConfig = { ... }` declares a Payload background job task node.
- **Fields** (Payload · Function): `fields: [...]` inside a Payload config declares its schema fields node.
- **Endpoints** (Payload · Route): `endpoints: [...]` inside a Payload config declares custom REST endpoints.
- **Access** (Payload · Function): `access: { ... }` inside a Payload config declares its access control rule.
- **Transaction** (Payload · External call): Calls to `initTransaction` / `commitTransaction` / `rollbackTransaction` / `killTransaction`.
- **DB adapter operation** (Payload · External call): Direct `payload.db.<method>({ collection })` adapter operation, paired with a read/write schema link.
- **Job dispatch** (Payload · External call): `payload.jobs.queue(...)` / `req.payload.jobs.queue(...)` dispatches a background job.
- **Local API call** (Payload · External call): `payload.<find|create|update|delete|findGlobal|updateGlobal>({ collection | global })` local API call, paired with a read/write schema link.
- **Mongoose operation** (Payload · External call): `Model.<method>(...)` Mongoose model operation inside Payload.
- **Hook registration** (Payload · Connection): Hook array registration (`beforeChange: [fn]`, `afterRead: [fn]`, ...).
- **Config registry collection** (Payload · Connection): `buildConfig({ collections: [Posts] })` mounts collections into the Payload config.
- **Config registry global** (Payload · Connection): `buildConfig({ globals: [Header] })` mounts globals into the Payload config.
- **Plugin registration** (Payload · Connection): `buildConfig({ plugins: [seoPlugin(...)] })` registers Payload plugins.
- **Lifecycle export** (Astro · Function): An exported `getStaticPaths` function or constant in `pages/**` / `src/pages/**` is an Astro static route lifecycle entry point.
- **Endpoint handler** (Astro · Route): An exported uppercase HTTP-method handler (`GET`, `POST`, ..., `ALL`) in an Astro endpoint under `pages/**` / `src/pages/**` is an HTTP endpoint.
- **Load** (SvelteKit · Function): An exported `load` function or constant in `routes/**/+page.server.<ext>` or `routes/**/+page.<ext>` is a SvelteKit route data loader.
- **Layout load** (SvelteKit · Function): An exported `load` function or constant in `routes/**/+layout.server.<ext>` or `routes/**/+layout.<ext>` is a SvelteKit layout data loader.
- **Actions** (SvelteKit · Server action): An exported `actions` object in `routes/**/+page.server.<ext>` defines SvelteKit form actions for that route.
- **Server endpoint** (SvelteKit · Route): An exported HTTP-method (`GET`, `POST`, ..., `fallback`) handler in `routes/**/+server.<ext>` is a SvelteKit server endpoint.
- **Hooks** (SvelteKit · Middleware): An exported SvelteKit hook (`handle`, `handleFetch`, `handleError`, `init`, `reroute`, `transport`) in `hooks.server.<ext>`, `hooks.client.<ext>`, or `src/hooks.<ext>` is a framework request middleware.
- **Server only guard** (TypeScript & JS · Function): Bare side-effect import 'server-only' asserting a server-bundle boundary.
- **Define property getter** (TypeScript & JS · Function): Object.defineProperty(obj, name, ...) or defineGetter(obj, name, ...) property getter.
- **NextAuth factory destructure** (TypeScript & JS · Function): Exported NextAuth(...) factory assignment or destructured auth interface exports.
- **Drizzle exported validator** (Drizzle · Schema): Exported Drizzle-Zod validator schema (createInsertSchema / createSelectSchema).
- **Drizzle namespaced table schema** (Drizzle · Schema): Exported property-access pgTable schema (e.g. schema.pgTable(...)).
- **Zod exported validator** (TypeScript & JS · Schema): Exported Zod validator schema (z.object / z.discriminatedUnion).
- **CommonJS prototype method** (TypeScript & JS · Function): Prototype method assignment (Class.prototype.method = function() {}).
- **CommonJS export alias** (TypeScript & JS · Function): CommonJS aliased export assignment (alias.method = function() {}).
- **CommonJS dynamic method** (TypeScript & JS · Method): Dynamic element-access CommonJS method assignment (app[method] = function() {}).
- **CommonJS export** (TypeScript & JS · Function): CommonJS module.exports / exports.<name> export.

## Known gaps (10)

- **Same-file Drizzle table passed into Zod schema helpers** (Drizzle · Connection): Passing a same-file Drizzle table into a schema generator (`createSelectSchema(table)`) does not yet emit a reference link between them.
- **Controller classes passed in server options arrays** (Express · Connection): Controller classes registered via a server options array (`controllers: [UsersController]`) are not yet linked to the server factory.
- **Loop-mounted Express router descriptor tables** (Express · Connection): Routers instantiated and mounted dynamically inside an array loop (`routes.forEach(...)`) are marked `? unresolved`.
- **NestJS @Module providers & guard decorators** (NestJS · Connection): Classes wired through NestJS `@Module` providers/exports arrays or `@UseGuards` / `@UseInterceptors` decorators are not yet linked automatically.
- **JSX anchor and image links to internal API routes** (Next.js · Connection): JSX `<a href="/api/...">` and `<img src="/api/...">` attributes targeting local Next.js API routes are not yet linked as frontend-to-backend edges.
- **React Router LoaderArgs.context injections** (React Router · Connection): Method calls invoked through React Router `LoaderArgs.context` injected by `getLoadContext` are marked `? unresolved` until bridged.
- **Computed key lookups on imported factory maps** (TypeScript & JS · Connection): Dynamic bracket lookups on imported factory registries (`factories[kind].run()`) cannot be proved statically and are marked `? unresolved`.
- **Top-level dynamic await import() module entry points** (TypeScript & JS · Connection): Top-level `await import("./server/index")` bootstrap calls are marked as dynamic exits rather than resolving to the target module default export.
- **Imported functions spread into exported config arrays or maps** (TypeScript & JS · Connection): Imported functions placed inside exported config objects or spread arrays (`export const config = [...base]`) do not yet emit usage links.
- **Methods passed as callbacks into new Constructor(...)** (TypeScript & JS · Connection): Methods passed as callback arguments into class constructors (`new Strategy(opts, AuthService.verify)`) are not yet linked automatically.

## What “? N unresolved” means

Where code is too dynamic for static analysis to prove, Chomp marks `? N unresolved` instead of faking a connection and groups similar calls by shape. You can inspect the exact line in Chomp Map or wire custom wrappers, dependency injection, and event buses locally with the Bridges plugin (`chomp_local_shims`).

## Missing a framework or internal wrapper?

Connect proprietary wrappers or custom DI locally today with the Bridges plugin—or work with us through Founding Teams for custom framework rules tailored to your stack. [Founding teams](https://getchomp.dev/teams)
