# luau-lang/luau SLOC report

> As of 2026-10-21 (commit 6d36d483cb88), luau-lang/luau contains 270,742 total lines: 208,635 code, 19,036 comments, 43,071 blank, across 635 files in 14 languages (top: C++ 72.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

luau-lang/luau has 208,635 source lines of code out of 270,742 total lines across 635 files, counted from the master ref at commit 6d36d483cb88 by the OctoCounts tokei engine on 2026-10-21. 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 luau-lang/luau to commit 6d36d483cb88, 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 77.1% of all lines, comments represent 7.0%, and the repository averages 329 code lines per file. C++ accounts for 72.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 211 | 191,485 | 151,400 | 9,972 | 30,113 |
| C Header | 250 | 49,829 | 34,886 | 6,179 | 8,764 |
| C | 20 | 9,802 | 7,590 | 1,184 | 1,028 |
| Lua | 96 | 8,242 | 6,668 | 462 | 1,112 |
| Python | 39 | 7,971 | 6,189 | 285 | 1,497 |
| CMake | 3 | 1,177 | 992 | 63 | 122 |
| Protocol Buffers | 1 | 626 | 544 | 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 |

Top language (C++ 72.6%). Generated at 2026-10-21T04:36:05.599186636+00:00. Canonical report: https://octocounts.com/github/luau-lang/luau

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/luau-lang/luau/commit/6d36d483cb88973276af611198169f76f3ce05b0?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&reportId=495d32d5d8ada323260b5020f5eec12c5831f772c448e32b9549c7c1c599b0e0).

## Report FAQ

### How many lines of code does luau-lang/luau have?

luau-lang/luau has 270,742 total lines, including 208,635 code lines, 19,036 comment lines, and 43,071 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6d36d483cb88, 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 6d36d483cb88 on 2026-10-21T04:36:05.599186636+00:00.

## Similar repository reports

- [electron/electron](https://octocounts.com/github/electron/electron) — C++, 208,094 code lines
- [rsta2/circle](https://octocounts.com/github/rsta2/circle) — C++, 207,098 code lines
- [VKCOM/kphp](https://octocounts.com/github/VKCOM/kphp) — C++, 207,070 code lines
- [FlightGear/simgear](https://octocounts.com/github/FlightGear/simgear) — C++, 201,050 code lines
- [Mrsuss60/bloodborne_pc_windows_port](https://octocounts.com/github/Mrsuss60/bloodborne_pc_windows_port) — C++, 219,789 code lines
- [abseil/abseil-cpp](https://octocounts.com/github/abseil/abseil-cpp) — C++, 220,547 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)
- [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)
