# medusajs/medusa SLOC report

> medusajs/medusa: 3,543,931 code lines at commit 8d25f7c02105, counted with tokei-15.0.0 on 2026-11-16. Saved result d8fdfa20ace507958587b7bb82afb7253d79183f75e324892cd90d66187dd8ad.

medusajs/medusa has 3,543,931 source lines of code out of 4,341,880 total lines across 21,846 files, counted with tokei from the develop ref at commit 8d25f7c02105 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving medusajs/medusa to commit 8d25f7c02105, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

medusajs/medusa: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 81.6% of all lines, comments represent 12.8%, and the repository averages 162 code lines per file. TypeScript is the largest programming language at 10.2% of counted code; data and prose formats such as JSON or YAML hold a larger share.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 1,659 | 2,763,690 | 2,747,934 | 0 | 15,756 |
| TypeScript | 6,269 | 535,168 | 363,021 | 122,780 | 49,367 |
| TSX | 2,633 | 240,669 | 214,052 | 5,716 | 20,901 |
| JSON | 8,541 | 185,449 | 185,441 | 0 | 8 |
| JavaScript | 678 | 31,586 | 28,903 | 675 | 2,008 |
| Shell | 532 | 3,768 | 3,099 | 395 | 274 |
| Handlebars | 21 | 1,140 | 592 | 0 | 548 |
| Python | 3 | 475 | 326 | 64 | 85 |
| CSS | 8 | 368 | 282 | 8 | 78 |
| SVG | 50 | 268 | 268 | 0 | 0 |
| HTML | 1 | 13 | 13 | 0 | 0 |
| MDX | 1,059 | 312,240 | 0 | 235,508 | 76,732 |
| Markdown | 383 | 78,396 | 0 | 50,901 | 27,495 |
| Plain Text | 9 | 188,650 | 0 | 141,049 | 47,601 |

Top programming language: TypeScript 10.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/medusajs/medusa/commit/8d25f7c02105adf92e896f99e8c8852b73c710cf?reportId=d8fdfa20ace507958587b7bb82afb7253d79183f75e324892cd90d66187dd8ad&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/medusajs/medusa/commit/8d25f7c02105adf92e896f99e8c8852b73c710cf?reportId=d8fdfa20ace507958587b7bb82afb7253d79183f75e324892cd90d66187dd8ad&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does medusajs/medusa have?

medusajs/medusa has 3,543,931 lines of code, plus 557,096 comment lines and 240,853 blank lines, for 4,341,880 total lines at commit 8d25f7c02105 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the medusajs/medusa line count measured?

OctoCounts resolved the public GitHub repository to commit 8d25f7c02105, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for medusajs/medusa?

This OctoCounts report was generated from develop at commit 8d25f7c02105 on November 16, 2026.

## Similar repository reports

- [gaboolic/rime-shuangpin-fuzhuma](https://octocounts.com/github/gaboolic/rime-shuangpin-fuzhuma) — YAML, 3,783,265 code lines
- [Agent-Threat-Rule/agent-threat-rules](https://octocounts.com/github/Agent-Threat-Rule/agent-threat-rules) — YAML, 3,064,877 code lines
- [zabbix/zabbix](https://octocounts.com/github/zabbix/zabbix) — YAML, 2,598,928 code lines
- [opf/openproject](https://octocounts.com/github/opf/openproject) — YAML, 2,153,461 code lines
- [che11111/CraftEngineRecipe](https://octocounts.com/github/che11111/CraftEngineRecipe) — YAML, 1,657,514 code lines
- [AmpereComputing/panthera](https://octocounts.com/github/AmpereComputing/panthera) — YAML, 1,497,709 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
