Repo X-Ray · 05 December 2026, 05:37 · read in 0.7s · nothing was executed

express

/srv/xela/workspace/.xray-oss/express

How to run itWhat the code isWhere the risk isWhat the tests cannot seeDead weightDependenciesSecretsMethod and limits
21,862
lines of code
50
source files
89
test files
86%
modules a test can reach
1,400
commits read
32 days ago
last commit

How to run it

npm scripts

CI steps

What the code is

LanguageFilesLines
JavaScript13921,862
HTML846
CSS445

What to read first

The fewest files that are the only import route into 100% of the code — 7 of 7 files. This is not a ranking, it is a cover: nothing in those 7 files can be reached by an import without passing through one of the entrances below. Each row also names the files the rest of that region depends on most, which is the vocabulary you will be reading it in.

Read this, then what it leads toFiles it opensLines in that regionA test reaches it
1. index.js
where the program starts
  lib/utils.js ← 2 files, 271 lines
  lib/express.js ← 2 files, 81 lines
  lib/response.js ← 1 files, 1,050 lines
72,776no

The modules everything else leans on

Imported by the most files: the load-bearing walls, where a change reaches furthest.

ModuleImported byLinesA test reaches it
test/support/utils.js1086no
lib/utils.js7271yes
lib/express.js481yes
examples/ejs/index.js357yes
examples/mvc/db.js316no
examples/content-negotiation/db.js29no
examples/session/redis.js239no
lib/view.js2205yes
test/support/tmpl.js236no
examples/auth/index.js1134yes
examples/cookies/index.js153yes
examples/downloads/index.js140yes

Where the risk is

Churn multiplied by size. A big file that never changes is usually fine; a big file that changes constantly is where the bugs and the arguments live.

FileCommitsLinesMostly written byTested
lib/response.js1071,050Author A 37%yes
lib/application.js42631Author A 48%yes
lib/request.js40527Author A 55%yes
lib/utils.js36271Author A 47%yes
lib/view.js13205Author A 77%yes
examples/web-service/index.js14117Author A 50%yes
lib/express.js1581Author A 67%yes
examples/auth/index.js10134Author A 50%yes
examples/view-locals/index.js7155Author A 43%no
examples/search/index.js983Author A 44%no
examples/error-pages/index.js8103Author A 50%yes
examples/route-separation/index.js1055Author A 50%no

The busiest test file is test/app.router.js (41 commits) - kept out of the table above so the code that ships comes first.

Active in the last 90 days: Author B (8), Author 31 (2), Author D (2), Author 32 (1), Author 55 (1), Author 56 (1)

History read: 1,400 commits, 12 years ago to 32 days ago. Top committer overall: Author A 62%.

What the tests cannot see

6 of 7 shipped modules are reachable from a test file by import (86%).

25 further files under examples, docs, scripts or benchmarks are not test-reachable either. They are counted apart from the number above, because demo code dragging a healthy repository down tells you nothing.

Reachable means a test imports it, directly or through another module. It is the floor, not coverage: a module can be reachable and still have none of its behaviour exercised. The modules below are the other case - nothing a test loads can even see them, so a green suite says nothing about them.

Dead weight

Nothing unreachable found.

8 TODO / FIXME / HACK markers

FileCount
History.md7
Readme.md1

Dependencies

Read from package.json.

Declared but never imported

Dead weight in the install, or a tool that is run rather than imported (formatters, type stubs, test plugins). Check before removing.

ejs eslint hbs mocha nyc vhost

Secrets

No committed credentials matched the patterns checked.

Patterns covered: AWS keys, private key blocks, GitHub, Slack, Stripe, Google, OpenAI and Anthropic keys, JSON web tokens, and passwords assigned in code. A secret in a format not listed here would not be found, and this does not read the git history.

Method and limits

More measured notes on coding agents: alexenabled.github.io