# lua/lua SLOC report

> As of 2026-09-06 (commit c15543b9afa3), lua/lua contains 51,218 total lines: 36,021 code, 7,022 comments, 8,175 blank, across 105 files in 5 languages (top: C 55.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

lua/lua has 36,021 source lines of code out of 51,218 total lines across 105 files, counted from the c15543b9afa31ab5dc564511ae11acd808405e8f ref at commit c15543b9afa3 by the OctoCounts tokei engine on 2026-09-06. 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 lua/lua to commit c15543b9afa3, 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 medium-sized codebase by counted code lines. Code represents 70.3% of all lines, comments represent 13.7%, and the repository averages 343 code lines per file. C accounts for 55.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 40 | 27,581 | 19,899 | 4,098 | 3,584 |
| Lua | 34 | 17,436 | 13,215 | 1,150 | 3,071 |
| C Header | 28 | 5,947 | 2,750 | 1,727 | 1,470 |
| Makefile | 2 | 247 | 157 | 43 | 47 |
| Markdown | 1 | 7 | 0 | 4 | 3 |

Top language (C 55.2%). Generated at 2026-09-06T11:47:38.194654415+00:00. Canonical report: https://octocounts.com/github/lua/lua

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/lua/lua/commit/c15543b9afa31ab5dc564511ae11acd808405e8f?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 lua/lua have?

lua/lua has 51,218 total lines, including 36,021 code lines, 7,022 comment lines, and 8,175 blank lines.

### How was the lua/lua line count measured?

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

### What commit was counted for lua/lua?

This OctoCounts report was generated from c15543b9afa31ab5dc564511ae11acd808405e8f at commit c15543b9afa3 on 2026-09-06T11:47:38.194654415+00:00.

## Similar repository reports

- [mangowm/mango](https://octocounts.com/github/mangowm/mango) — C, 34,112 code lines
- [mirror/make](https://octocounts.com/github/mirror/make) — C, 33,182 code lines
- [genymobile/scrcpy](https://octocounts.com/github/genymobile/scrcpy) — C, 32,298 code lines
- [i3/i3](https://octocounts.com/github/i3/i3) — C, 40,254 code lines
- [Bigfoot71/r3d](https://octocounts.com/github/Bigfoot71/r3d) — C, 41,086 code lines
- [akimd/bison](https://octocounts.com/github/akimd/bison) — C, 41,182 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
