# o3de/o3de SLOC report

> As of 2026-11-21 (commit 95ebddea2811), o3de/o3de contains 3,707,937 total lines: 2,722,224 code, 451,527 comments, 534,186 blank, across 22,319 files in 30 languages (top language: C++ 62.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

o3de/o3de has 2,722,224 source lines of code out of 3,707,937 total lines across 22,319 files, counted with tokei from the development ref at commit 95ebddea2811 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving o3de/o3de to commit 95ebddea2811, 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

o3de/o3de: 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 73.4% of all lines, comments represent 12.2%, and the repository averages 122 code lines per file. C++ accounts for 62.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 7,298 | 2,211,354 | 1,699,458 | 185,754 | 326,142 |
| C Header | 8,605 | 915,504 | 566,024 | 196,221 | 153,259 |
| TypeScript | 5 | 120,686 | 120,686 | 0 | 0 |
| Python | 938 | 158,116 | 116,220 | 17,234 | 24,662 |
| C++ Header | 360 | 75,014 | 56,277 | 7,182 | 11,555 |
| CMake | 2,619 | 85,370 | 54,573 | 23,547 | 7,250 |
| XML | 254 | 41,804 | 41,085 | 63 | 656 |
| JSON | 358 | 27,743 | 26,385 | 0 | 1,358 |
| SVG | 891 | 11,561 | 11,141 | 418 | 2 |
| Lua | 157 | 11,586 | 7,506 | 2,341 | 1,739 |
| Jinja2 | 34 | 6,476 | 5,089 | 693 | 694 |
| Objective-C++ | 44 | 7,025 | 4,797 | 1,223 | 1,005 |

Top language: C++ 62.4%. Generated on November 21, 2026. Canonical report: https://octocounts.com/github/o3de/o3de

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/o3de/o3de/commit/95ebddea2811d3d1c14761296b5077235cb35830?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=ca9c0776fbe6a5c80eeba22cbba6e3435f8ba79ab7588de8c5904271a79a98d8).

## Report FAQ

### How many lines of code does o3de/o3de have?

o3de/o3de has 2,722,224 lines of code, plus 451,527 comment lines and 534,186 blank lines, for 3,707,937 total lines at commit 95ebddea2811 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

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

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

This OctoCounts report was generated from development at commit 95ebddea2811 on November 21, 2026.

## 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)
