# facebook/lexical SLOC report

> facebook/lexical: 224,700 code lines at commit 4a7b21cb516d, counted with tokei-14.0.0 on 2026-10-24. Saved result be33193ddb746ff4933d7d84f94be4ce42c683a6de2f7a9989072eab2683bb4a.

facebook/lexical has 224,700 source lines of code out of 293,035 total lines across 1,522 files, counted from the main ref at commit 4a7b21cb516d 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 facebook/lexical to commit 4a7b21cb516d, 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 large codebase by counted code lines. Code represents 76.7% of all lines, comments represent 16.3%, and the repository averages 148 code lines per file. TypeScript accounts for 59.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 551 | 173,278 | 133,792 | 30,888 | 8,598 |
| TSX | 248 | 41,841 | 34,496 | 4,227 | 3,118 |
| YAML | 26 | 28,277 | 22,890 | 169 | 5,218 |
| JavaScript | 127 | 18,801 | 12,385 | 5,188 | 1,228 |
| JSON | 135 | 10,048 | 9,997 | 0 | 51 |
| CSS | 77 | 11,839 | 9,871 | 692 | 1,276 |
| HTML | 34 | 673 | 656 | 15 | 2 |
| SVG | 230 | 434 | 434 | 0 | 0 |
| Python | 1 | 129 | 74 | 36 | 19 |
| Swift | 3 | 119 | 69 | 23 | 27 |
| Svelte | 2 | 40 | 34 | 2 | 4 |
| Xcode Config | 1 | 14 | 2 | 9 | 3 |
| Markdown | 85 | 7,446 | 0 | 6,321 | 1,125 |
| Plain Text | 2 | 96 | 0 | 78 | 18 |

Top language (TypeScript 59.5%). Generated at 2026-10-24T00:58:41.173984653Z. Canonical report: https://octocounts.com/github/facebook/lexical/commit/4a7b21cb516d522811cb7c7e6e2597c38db8b346?reportId=be33193ddb746ff4933d7d84f94be4ce42c683a6de2f7a9989072eab2683bb4a&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/facebook/lexical/commit/4a7b21cb516d522811cb7c7e6e2597c38db8b346?reportId=be33193ddb746ff4933d7d84f94be4ce42c683a6de2f7a9989072eab2683bb4a&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 facebook/lexical have?

facebook/lexical has 293,035 total lines, including 224,700 code lines, 47,648 comment lines, and 20,687 blank lines.

### How was the facebook/lexical line count measured?

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

### What commit was counted for facebook/lexical?

This OctoCounts report was generated from main at commit 4a7b21cb516d on 2026-10-24T00:58:41.173984653Z.

## Similar repository reports

- [dsh-tauri/deepseek-harness-desktop](https://octocounts.com/github/dsh-tauri/deepseek-harness-desktop) — TypeScript, 229,754 code lines
- [microsoft/playwright](https://octocounts.com/github/microsoft/playwright) — TypeScript, 224,059 code lines
- [narumiruna/pi-extensions](https://octocounts.com/github/narumiruna/pi-extensions) — TypeScript, 224,014 code lines
- [CoreBunch/Instatic](https://octocounts.com/github/CoreBunch/Instatic) — TypeScript, 232,314 code lines
- [mmAbdelhay/jarvis](https://octocounts.com/github/mmAbdelhay/jarvis) — TypeScript, 232,519 code lines
- [opensec-git/Pi-Bolt](https://octocounts.com/github/opensec-git/Pi-Bolt) — TypeScript, 232,550 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)
- [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)
