# SerenityOS/serenity SLOC report

> SerenityOS/serenity: 1,118,898 code lines at commit 3a209ac39562, counted with tokei-15.0.0 on 2026-11-16. Saved result fa5df6dd571ef0c7ca02d86668954ca898c8ac2a7de907e1c46b3a491b1e672a.

SerenityOS/serenity has 1,118,898 source lines of code out of 1,546,271 total lines across 13,869 files, counted with tokei from the master ref at commit 3a209ac39562 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving SerenityOS/serenity to commit 3a209ac39562, 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

SerenityOS/serenity: 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 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,766 | 948,083 | 702,501 | 99,259 | 146,323 |
| C Header | 3,781 | 346,352 | 248,450 | 32,401 | 65,501 |
| JavaScript | 1,140 | 75,246 | 64,815 | 1,148 | 9,283 |
| JSON | 176 | 33,532 | 33,194 | 0 | 338 |
| HTML | 1,847 | 21,125 | 19,899 | 356 | 870 |
| Shell | 450 | 14,466 | 11,771 | 951 | 1,744 |
| CMake | 347 | 13,622 | 11,701 | 463 | 1,458 |
| 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,182 | 138 | 773 | 271 |
| 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 | 593 | 24,367 | 0 | 16,044 | 8,323 |
| Plain Text | 1,407 | 35,320 | 0 | 34,282 | 1,038 |

Top language: C++ 62.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/SerenityOS/serenity/commit/3a209ac395626ee8784121103c26986e42687dfd?reportId=fa5df6dd571ef0c7ca02d86668954ca898c8ac2a7de907e1c46b3a491b1e672a&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/3a209ac395626ee8784121103c26986e42687dfd?reportId=fa5df6dd571ef0c7ca02d86668954ca898c8ac2a7de907e1c46b3a491b1e672a&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,118,898 lines of code, plus 187,075 comment lines and 240,298 blank lines, for 1,546,271 total lines at commit 3a209ac39562 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 3a209ac39562, 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 3a209ac39562 on November 16, 2026.

## Similar repository reports

- [xbmc/xbmc](https://octocounts.com/github/xbmc/xbmc) — C++, 1,122,103 code lines
- [lila-3d/Lila](https://octocounts.com/github/lila-3d/Lila) — C++, 1,110,624 code lines
- [omnizs38/opengram](https://octocounts.com/github/omnizs38/opengram) — C++, 1,086,551 code lines
- [telegramdesktop/tdesktop](https://octocounts.com/github/telegramdesktop/tdesktop) — C++, 1,152,611 code lines
- [duckdb/duckdb](https://octocounts.com/github/duckdb/duckdb) — C++, 1,159,374 code lines
- [Ka1-S/LYNX-SHARE](https://octocounts.com/github/Ka1-S/LYNX-SHARE) — C++, 1,163,820 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)
