# medusajs/medusa SLOC report

> medusajs/medusa: 2,187,985 code lines at commit 029fb31fd077, counted with tokei-14.0.0 on 2026-10-24. Saved result 0176bc31cb07b176481377f112ae5d3e87632c3a5cd0a96eb3fc294f4f461fe9.

medusajs/medusa has 2,187,985 source lines of code out of 2,955,000 total lines across 21,259 files, counted from the develop ref at commit 029fb31fd077 by the OctoCounts tokei engine on 2026-10-24. 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 029fb31fd077, 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 74.0% of all lines, comments represent 18.3%, and the repository averages 103 code lines per file. YAML accounts for 64.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| YAML | 1,616 | 1,425,297 | 1,417,478 | 0 | 7,819 |
| TypeScript | 6,152 | 521,222 | 353,321 | 119,813 | 48,088 |
| TSX | 2,606 | 233,272 | 207,613 | 5,483 | 20,176 |
| JSON | 8,208 | 177,106 | 177,100 | 0 | 6 |
| JavaScript | 665 | 30,677 | 28,040 | 657 | 1,980 |
| Shell | 523 | 3,609 | 2,980 | 374 | 255 |
| Handlebars | 21 | 1,140 | 592 | 0 | 548 |
| Python | 2 | 424 | 298 | 52 | 74 |
| CSS | 8 | 367 | 282 | 8 | 77 |
| SVG | 50 | 268 | 268 | 0 | 0 |
| HTML | 1 | 13 | 13 | 0 | 0 |
| MDX | 1,030 | 301,672 | 0 | 227,808 | 73,864 |
| Markdown | 370 | 73,025 | 0 | 47,412 | 25,613 |
| Plain Text | 7 | 186,908 | 0 | 139,590 | 47,318 |

Top language (YAML 64.8%). Generated at 2026-10-24T11:21:30.797069935Z. Canonical report: https://octocounts.com/github/medusajs/medusa/commit/029fb31fd077ab9c6d6fd9d68c676c17c71294c7?reportId=0176bc31cb07b176481377f112ae5d3e87632c3a5cd0a96eb3fc294f4f461fe9&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/029fb31fd077ab9c6d6fd9d68c676c17c71294c7?reportId=0176bc31cb07b176481377f112ae5d3e87632c3a5cd0a96eb3fc294f4f461fe9&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 2,955,000 total lines, including 2,187,985 code lines, 541,197 comment lines, and 225,818 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 029fb31fd077, 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 029fb31fd077 on 2026-10-24T11:21:30.797069935Z.

## Similar repository reports

- [zabbix/zabbix](https://octocounts.com/github/zabbix/zabbix) — YAML, 2,545,185 code lines
- [amzxyz/rime-wanxiang-data](https://octocounts.com/github/amzxyz/rime-wanxiang-data) — YAML, 2,658,493 code lines
- [projectdiscovery/nuclei-templates](https://octocounts.com/github/projectdiscovery/nuclei-templates) — YAML, 1,012,403 code lines
- [legiz-ru/mihomo-rule-sets](https://octocounts.com/github/legiz-ru/mihomo-rule-sets) — YAML, 975,679 code lines
- [microsoft/ox-tools](https://octocounts.com/github/microsoft/ox-tools) — YAML, 717,383 code lines
- [amzxyz/rime-wanxiang](https://octocounts.com/github/amzxyz/rime-wanxiang) — YAML, 716,655 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)
