Repo X-Ray · 05 December 2026, 05:38 · read in 8.9s · nothing was executed
/srv/xela/workspace/.envxray-oss/outline
and 20 more.
| Language | Files | Lines | |
|---|---|---|---|
| TypeScript | 2,477 | 400,435 | |
| JavaScript | 58 | 3,209 | |
| SQL | 1 | 2,512 | |
| Shell | 1 | 278 | |
| HTML | 5 | 242 | |
| Docker | 2 | 76 |
The fewest files that are the only import route into 79% of the code — 1,657 of 2,098 files. This is not a ranking, it is a cover: nothing in those 1,657 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 to | Files it opens | Lines in that region | A test reaches it |
|---|---|---|---|
| 1. server/index.ts where the program starts server/models/index.ts ← 181 files, 82 lines server/types.ts ← 132 files, 706 lines plugins/azure/server/env.ts ← 107 files, 30 lines | 1,126 | 167,106 | no |
| 2. app/index.tsx where the program starts app/components/Scene.tsx ← 29 files, 68 lines app/scenes/Settings/components/StickyFilters.tsx ← 14 files, 29 lines app/components/FilterOptions.tsx ← 11 files, 402 lines | 334 | 44,156 | no |
| 3. app/scenes/Document/index.tsx where the program starts app/components/HoverPreview/Components.tsx ← 8 files, 152 lines app/editor/components/ToolbarButton.tsx ← 4 files, 59 lines app/editor/components/Tooltip.tsx ← 3 files, 27 lines | 86 | 13,563 | no |
| 4. app/components/Sidebar/index.ts where the program starts app/hooks/useActiveSidebarContext.ts ← 7 files, 33 lines app/components/EditableTitle.tsx ← 6 files, 199 lines app/components/Sidebar/components/SidebarNavigation.tsx ← 5 files, 161 lines | 38 | 4,932 | no |
| 5. server/queues/processors/NotificationsProcessor.ts nothing imports it server/utils/permissions.ts ← 9 files, 175 lines server/models/helpers/NotificationHelper.ts ← 5 files, 328 lines server/queues/tasks/GroupMentionedInCommentNotificationsTask.ts ← 2 files, 84 lines | 22 | 2,960 | yes |
| 6. app/editor/extensions/SelectionToolbar.tsx nothing imports it app/components/Icons/CircleIcon.tsx ← 4 files, 47 lines app/editor/components/CellBackgroundColorPicker.tsx ← 3 files, 28 lines app/editor/menus/code.tsx ← 2 files, 126 lines | 19 | 2,606 | no |
| 7. shared/types/index.ts where the program starts shared/types/auth.ts ← 2 files, 44 lines shared/types/unfurl.ts ← 1 files, 173 lines shared/types/integrations.ts ← 1 files, 131 lines | 16 | 955 | no |
| 8. server/queues/processors/EmailsProcessor.ts nothing imports it server/emails/templates/DocumentPublishedOrUpdatedEmail.tsx ← 1 files, 304 lines server/emails/templates/CommentCreatedEmail.tsx ← 1 files, 225 lines server/emails/templates/GroupCommentMentionedEmail.tsx ← 1 files, 201 lines | 16 | 2,726 | no |
Imported by the most files: the load-bearing walls, where a change reaches furthest.
| Module | Imported by | Lines | A test reaches it |
|---|---|---|---|
| plugins/diagrams/shared/types.ts | 632 | 9 | yes |
| server/models/index.ts | 481 | 82 | yes |
| app/hooks/useStores.ts | 247 | 15 | yes |
| server/types.ts | 230 | 706 | yes |
| server/test/factories.ts | 215 | 1,086 | no |
| shared/styles/index.ts | 203 | 110 | yes |
| plugins/azure/server/env.ts | 177 | 30 | yes |
| shared/utils/error.ts | 156 | 34 | yes |
| server/logging/Logger.ts | 150 | 202 | yes |
| app/components/Flex.tsx | 149 | 3 | yes |
| app/components/Text.ts | 141 | 3 | yes |
| plugins/azure/server/errors.ts | 123 | 10 | yes |
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.
| File | Commits | Lines | Mostly written by | Tested |
|---|---|---|---|---|
| server/routes/api/documents/documents.ts | 2 | 2,314 | Author B 50% | yes |
| server/models/Document.ts | 2 | 1,965 | Author B 50% | yes |
| server/models/helpers/ProsemirrorHelper.tsx | 2 | 1,773 | Author A 100% | yes |
| app/stores/base/Store.ts | 2 | 696 | Author B 50% | yes |
| app/scenes/Search/Search.tsx | 2 | 599 | Author B 50% | no |
| server/queues/tasks/JSONAPIImportTask.ts | 2 | 563 | Author B 50% | yes |
| app/actions/definitions/documents.tsx | 1 | 1,965 | Author A 100% | yes |
| app/components/DocumentListItem.tsx | 2 | 488 | Author B 50% | no |
| app/components/Header.tsx | 2 | 463 | Author B 50% | yes |
| app/components/PaginatedList.tsx | 2 | 379 | Author B 50% | yes |
| app/components/Lightbox.tsx | 1 | 1,347 | Author A 100% | yes |
| shared/schema.ts | 2 | 246 | Author B 50% | no |
The busiest test file is server/models/helpers/DocumentHelper.test.ts (2 commits) - kept out of the table above so the code that ships comes first.
Active in the last 90 days: Author A (40), Author B (10)
History read: 50 commits, 4 days ago to 1 days ago. Top committer overall: Author A 80%.
1,250 of 2,098 shipped modules are reachable from a test file by import (60%).
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.
and 434 more in 187 other places.
Nothing imports these, and no entry point, script or resolved runtime load reaches them. Biggest first.
and 19 more in 19 other places.
| File | Count |
|---|---|
| server/test/fixtures/notion-page.json | 11 |
| shared/i18n/locales/es_ES/translation.json | 9 |
| shared/i18n/locales/pt_PT/translation.json | 5 |
| shared/i18n/locales/pt_BR/translation.json | 4 |
| .github/ISSUE_TEMPLATE/bug_report.yml | 3 |
| server/commands/documentUpdater.test.ts | 3 |
Read from package.json.
These work on a machine where the package happens to be installed, and fail in a clean checkout or in CI.
| Package | Imported by |
|---|---|
| @dnd-kit/utilities | app/components/DocumentCard.tsx |
| express | plugins/oidc/server/auth/OIDCStrategy.ts server/typings/outlinewiki__koa-passport.d.ts |
| koa-compose | server/routes/api/batch/batch.ts |
| @fortawesome/fontawesome-common-types | shared/editor/extensions/Mermaid.ts |
Dead weight in the install, or a tool that is run rather than imported (formatters, type stubs, test plugins). Check before removing.
@bull-board/koa @bull-board/ui @fortawesome/fontawesome-svg-core @hocuspocus/server @modelcontextprotocol/server @simplewebauthn/browser @types/mailparser @vitejs/plugin-react bull diff franc helmet koa passport patch-package pg refractor slugify socket.io-adapter vite-plugin-pwa @relative-ci/agent @swc/cli @types/cookie @types/escape-html
Nothing in the shipped code imports these, so an install will not break - but a fresh contributor running the tests or building the docs will hit them.
jszip
| What | Where | Value |
|---|---|---|
| private key block | .env.test:21 | ----...--- (31 chars) |
| password in code | plugins/azure/server/azure.ts:14 | toke...en" (67 chars) |
| password in code | plugins/discord/server/discord.ts:8 | toke...en" (45 chars) |
| password in code | plugins/gitea/server/api/gitea.test.ts:19 | toke...en" (18 chars) |
| password in code | plugins/google/server/google.ts:8 | toke...en" (51 chars) |
| password in code | plugins/slack/server/api/hooks.test.ts:406 | toke...en" (33 chars) |
| password in code | plugins/slack/server/api/hooks.test.ts:599 | toke...en" (33 chars) |
| password in code | server/logging/sanitize.test.ts:28 | toke...d]" (19 chars) |
| password in code | server/logging/sanitize.test.ts:29 | pass...d]" (22 chars) |
| password in code | server/logging/sanitize.test.ts:38 | apiK...d]" (20 chars) |
| password in code | server/logging/sanitize.test.ts:39 | secr...d]" (20 chars) |
| password in code | server/logging/sanitize.test.ts:58 | API_...d]" (21 chars) |
| password in code | server/logging/sanitize.test.ts:60 | PASS...d]" (22 chars) |
| password in code | server/logging/sanitize.test.ts:79 | toke...d]" (19 chars) |
| password in code | server/logging/sanitize.test.ts:84 | toke...d]" (19 chars) |
| password in code | server/logging/sanitize.test.ts:88 | pass...d]" (22 chars) |
| password in code | server/logging/sanitize.test.ts:145 | toke...d]" (19 chars) |
| password in code | server/logging/sanitize.test.ts:158 | toke...d]" (19 chars) |
| password in code | server/middlewares/rateLimiter.test.ts:329 | toke...en" (32 chars) |
| password in code | server/middlewares/rateLimiter.test.ts:350 | toke...en" (20 chars) |
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.