# SerenityOS/serenity SLOC report

> SerenityOS/serenity: 1,115,305 code lines at commit 94beea58f104, counted with tokei-14.0.0 on 2026-10-21. Saved result 0721ada82d1253b8a3539db8920728ce7cbbed32611f3a3fd5a274c7b8e2176c.

SerenityOS/serenity has 1,115,305 source lines of code out of 1,541,346 total lines across 13,839 files, counted from the master ref at commit 94beea58f104 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 SerenityOS/serenity to commit 94beea58f104, 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 72.4% of all lines, comments represent 12.1%, and the repository averages 81 code lines per file. C++ accounts for 62.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 3,753 | 944,920 | 700,182 | 99,034 | 145,704 |
| C Header | 3,768 | 344,602 | 247,176 | 32,256 | 65,170 |
| JavaScript | 1,140 | 75,246 | 64,815 | 1,148 | 9,283 |
| JSON | 175 | 33,527 | 33,189 | 0 | 338 |
| HTML | 1,847 | 21,125 | 19,899 | 356 | 870 |
| Shell | 450 | 14,521 | 11,812 | 957 | 1,752 |
| CMake | 345 | 13,586 | 11,665 | 462 | 1,459 |
| Gml | 137 | 10,061 | 8,367 | 2 | 1,692 |
| Objective-C++ | 27 | 7,588 | 5,898 | 274 | 1,416 |
| Python | 25 | 5,850 | 4,407 | 386 | 1,057 |
| INI | 55 | 3,142 | 2,926 | 32 | 184 |
| GNU Style Assembly | 21 | 2,398 | 1,572 | 468 | 358 |
| CSS | 21 | 1,501 | 1,115 | 131 | 255 |
| SVG | 29 | 1,021 | 1,014 | 7 | 0 |
| LD Script | 5 | 455 | 340 | 22 | 93 |
| C++ Header | 1 | 349 | 303 | 13 | 33 |
| Autoconf | 8 | 1,178 | 138 | 770 | 270 |
| Nix | 3 | 138 | 113 | 17 | 8 |
| SQL | 6 | 110 | 110 | 0 | 0 |
| Forge Config | 3 | 64 | 51 | 0 | 13 |
| Dockerfile | 2 | 82 | 50 | 21 | 11 |
| GLSL | 10 | 57 | 46 | 0 | 11 |
| C | 1 | 63 | 36 | 21 | 6 |
| XML | 3 | 32 | 32 | 0 | 0 |
| Lua | 2 | 36 | 28 | 2 | 6 |
| Makefile | 1 | 17 | 12 | 0 | 5 |
| Bitbake | 2 | 12 | 9 | 2 | 1 |
| Markdown | 592 | 24,345 | 0 | 16,033 | 8,312 |
| Plain Text | 1,407 | 35,320 | 0 | 34,282 | 1,038 |

Top language (C++ 62.8%). Generated at 2026-10-21T04:17:39.629570373Z. Canonical report: https://octocounts.com/github/SerenityOS/serenity/commit/94beea58f104d38e09c71cd22757d53a95306be9?reportId=0721ada82d1253b8a3539db8920728ce7cbbed32611f3a3fd5a274c7b8e2176c&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/SerenityOS/serenity/commit/94beea58f104d38e09c71cd22757d53a95306be9?reportId=0721ada82d1253b8a3539db8920728ce7cbbed32611f3a3fd5a274c7b8e2176c&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 SerenityOS/serenity have?

SerenityOS/serenity has 1,541,346 total lines, including 1,115,305 code lines, 186,696 comment lines, and 239,345 blank lines.

### How was the SerenityOS/serenity line count measured?

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

### What commit was counted for SerenityOS/serenity?

This OctoCounts report was generated from master at commit 94beea58f104 on 2026-10-21T04:17:39.629570373Z.

## Similar repository reports

- [telegramdesktop/tdesktop](https://octocounts.com/github/telegramdesktop/tdesktop) — C++, 1,120,606 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,128,168 code lines
- [fbraz3/GeneralsX](https://octocounts.com/github/fbraz3/GeneralsX) — C++, 1,044,162 code lines
- [ammaarreshi/Generals-Mac-iOS-iPad](https://octocounts.com/github/ammaarreshi/Generals-Mac-iOS-iPad) — C++, 1,033,274 code lines
- [wxwidgets/wxwidgets](https://octocounts.com/github/wxwidgets/wxwidgets) — C++, 1,214,783 code lines
- [0FL01/AyuGramDesktop-flatpak](https://octocounts.com/github/0FL01/AyuGramDesktop-flatpak) — C++, 1,018,647 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)
