# medusajs/medusa SLOC report

> As of 2026-09-18 (commit 083b2d4df7cb), medusajs/medusa contains 2,727,500 total lines: 2,007,400 code, 506,113 comments, 213,987 blank, across 20,861 files in 13 languages (top: YAML 63.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

medusajs/medusa has 2,007,400 source lines of code out of 2,727,500 total lines across 20,861 files, counted from the 083b2d4df7cb6eea16dea021211d2c3a3ef24662 ref at commit 083b2d4df7cb by the OctoCounts tokei engine on 2026-09-18. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving medusajs/medusa to commit 083b2d4df7cb, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 73.6% of all lines, comments represent 18.6%, and the repository averages 96 code lines per file. YAML accounts for 63.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 1,585 | 1,274,280 | 1,267,334 | 0 | 6,946 |
| TypeScript | 6,118 | 515,709 | 349,341 | 118,810 | 47,558 |
| TSX | 2,594 | 232,184 | 206,675 | 5,471 | 20,038 |
| JSON | 8,148 | 154,861 | 154,852 | 0 | 9 |
| JavaScript | 651 | 27,823 | 25,454 | 586 | 1,783 |
| Shell | 512 | 3,099 | 2,628 | 289 | 182 |
| Handlebars | 21 | 1,140 | 592 | 0 | 548 |
| CSS | 8 | 367 | 282 | 8 | 77 |
| SVG | 49 | 229 | 229 | 0 | 0 |
| HTML | 1 | 13 | 13 | 0 | 0 |
| MDX | 985 | 279,300 | 0 | 210,129 | 69,171 |
| Markdown | 182 | 58,402 | 0 | 36,420 | 21,982 |

Top language (YAML 63.1%). Generated at 2026-09-18T12:32:39.746268660+00:00. Canonical report: https://octocounts.com/github/medusajs/medusa

## Reproduce this report

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

## Report FAQ

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

medusajs/medusa has 2,727,500 total lines, including 2,007,400 code lines, 506,113 comment lines, and 213,987 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 083b2d4df7cb, 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 083b2d4df7cb6eea16dea021211d2c3a3ef24662 at commit 083b2d4df7cb on 2026-09-18T12:32:39.746268660+00:00.

## Similar repository reports

- [zabbix/zabbix](https://octocounts.com/github/zabbix/zabbix) — YAML, 2,413,156 code lines
- [amzxyz/RIME-LMDG](https://octocounts.com/github/amzxyz/RIME-LMDG) — YAML, 2,632,299 code lines
- [amzxyz/rime-wanxiang](https://octocounts.com/github/amzxyz/rime-wanxiang) — YAML, 1,258,702 code lines
- [legiz-ru/mihomo-rule-sets](https://octocounts.com/github/legiz-ru/mihomo-rule-sets) — YAML, 1,027,922 code lines
- [zwasm/zwasm](https://octocounts.com/github/zwasm/zwasm) — YAML, 775,549 code lines
- [KangelPlugins/kangelplugins.github.io](https://octocounts.com/github/KangelPlugins/kangelplugins.github.io) — YAML, 538,732 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)
- [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)
