# SerenityOS/serenity SLOC report

> SerenityOS/serenity: 1,118,873 code lines at commit 1a00c247b067, counted with tokei-15.0.0 on 2026-11-14. Saved result 181dcebc1575a9280a9366e211e1445278c8cb09e6c4e936193f60d60694082f.

SerenityOS/serenity has 1,118,873 source lines of code out of 1,546,228 total lines across 13,868 files, counted with tokei from the master ref at commit 1a00c247b067 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving SerenityOS/serenity to commit 1a00c247b067, 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,062 | 702,483 | 99,259 | 146,320 |
| C Header | 3,781 | 346,348 | 248,447 | 32,401 | 65,500 |
| 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,462 | 11,767 | 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 | 592 | 24,353 | 0 | 16,037 | 8,316 |
| Plain Text | 1,407 | 35,320 | 0 | 34,282 | 1,038 |

Top language: C++ 62.8%. Generated on November 14, 2026. Canonical report: https://octocounts.com/github/SerenityOS/serenity/commit/1a00c247b06730267fd6b0dc9f700a435c3e66b4?reportId=181dcebc1575a9280a9366e211e1445278c8cb09e6c4e936193f60d60694082f&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/1a00c247b06730267fd6b0dc9f700a435c3e66b4?reportId=181dcebc1575a9280a9366e211e1445278c8cb09e6c4e936193f60d60694082f&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,873 lines of code, plus 187,068 comment lines and 240,287 blank lines, for 1,546,228 total lines at commit 1a00c247b067 on November 14, 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 1a00c247b067, 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 1a00c247b067 on November 14, 2026.

## Similar repository reports

- [xbmc/xbmc](https://octocounts.com/github/xbmc/xbmc) — C++, 1,107,941 code lines
- [eclipse-openj9/openj9](https://octocounts.com/github/eclipse-openj9/openj9) — C++, 1,099,411 code lines
- [bkaradzic/bgfx](https://octocounts.com/github/bkaradzic/bgfx) — C++, 1,144,315 code lines
- [lila-3d/Lila](https://octocounts.com/github/lila-3d/Lila) — C++, 1,148,590 code lines
- [calmasacow/Lila](https://octocounts.com/github/calmasacow/Lila) — C++, 1,149,107 code lines
- [omnizs38/opengram](https://octocounts.com/github/omnizs38/opengram) — C++, 1,086,551 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)
