# luau-lang/luau SLOC report

> luau-lang/luau: 211,529 code lines at commit c87565b8b0db, counted with tokei-15.0.0 on 2026-11-13. Saved result 4d5f0555b7d1e3486bd7d1d9d22428019e1a4ae25e616ae66c44291a8de543f4.

luau-lang/luau has 211,529 source lines of code out of 274,842 total lines across 643 files, counted with tokei from the master ref at commit c87565b8b0db on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving luau-lang/luau to commit c87565b8b0db, 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

luau-lang/luau: 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 large codebase by counted code lines. Code represents 77.0% of all lines, comments represent 7.1%, and the repository averages 329 code lines per file. C++ accounts for 72.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 210 | 193,909 | 153,091 | 10,171 | 30,647 |
| C Header | 250 | 50,731 | 35,500 | 6,307 | 8,924 |
| C | 20 | 9,802 | 7,590 | 1,184 | 1,028 |
| Lua | 105 | 8,621 | 6,956 | 483 | 1,182 |
| Python | 39 | 8,336 | 6,489 | 296 | 1,551 |
| CMake | 3 | 1,176 | 991 | 63 | 122 |
| Protocol Buffers | 1 | 628 | 546 | 2 | 80 |
| Makefile | 1 | 356 | 252 | 27 | 77 |
| HTML | 1 | 64 | 61 | 1 | 2 |
| JSON | 1 | 47 | 47 | 0 | 0 |
| Batch | 1 | 3 | 3 | 0 | 0 |
| Shell | 1 | 3 | 3 | 0 | 0 |
| Markdown | 6 | 1,123 | 0 | 842 | 281 |
| Plain Text | 4 | 43 | 0 | 36 | 7 |

Top language: C++ 72.4%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/luau-lang/luau/commit/c87565b8b0db5d5d5bfd2b8b00ad6573e5d06d9f?reportId=4d5f0555b7d1e3486bd7d1d9d22428019e1a4ae25e616ae66c44291a8de543f4&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/luau-lang/luau/commit/c87565b8b0db5d5d5bfd2b8b00ad6573e5d06d9f?reportId=4d5f0555b7d1e3486bd7d1d9d22428019e1a4ae25e616ae66c44291a8de543f4&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 luau-lang/luau have?

luau-lang/luau has 211,529 lines of code, plus 19,412 comment lines and 43,901 blank lines, for 274,842 total lines at commit c87565b8b0db on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the luau-lang/luau line count measured?

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

### What commit was counted for luau-lang/luau?

This OctoCounts report was generated from master at commit c87565b8b0db on November 13, 2026.

## Similar repository reports

- [Likely7/Veyra-NRVideo](https://octocounts.com/github/Likely7/Veyra-NRVideo) — C++, 209,680 code lines
- [VKCOM/kphp](https://octocounts.com/github/VKCOM/kphp) — C++, 207,117 code lines
- [rsta2/circle](https://octocounts.com/github/rsta2/circle) — C++, 207,098 code lines
- [clice-io/clice](https://octocounts.com/github/clice-io/clice) — C++, 205,103 code lines
- [randombit/botan](https://octocounts.com/github/randombit/botan) — C++, 221,870 code lines
- [FlightGear/simgear](https://octocounts.com/github/FlightGear/simgear) — C++, 201,050 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [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)
