# openclaw/openclaw SLOC report

> As of 2026-09-18 (commit 8744037721da), openclaw/openclaw contains 11,572,512 total lines: 10,518,594 code, 321,314 comments, 732,604 blank, across 40,534 files in 28 languages (top: TypeScript 90.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

openclaw/openclaw has 10,518,594 source lines of code out of 11,572,512 total lines across 40,534 files, counted from the main ref at commit 8744037721da by the OctoCounts tokei engine on 2026-09-18. 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 openclaw/openclaw to commit 8744037721da, 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 90.9% of all lines, comments represent 2.8%, and the repository averages 260 code lines per file. TypeScript accounts for 90.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 35,695 | 10,378,406 | 9,543,014 | 194,513 | 640,879 |
| Swift | 1,322 | 438,302 | 393,042 | 7,168 | 38,092 |
| Kotlin | 278 | 123,878 | 111,675 | 3,266 | 8,937 |
| JavaScript | 420 | 117,266 | 108,244 | 3,566 | 5,456 |
| YAML | 583 | 80,857 | 76,082 | 353 | 4,422 |
| CSS | 147 | 79,576 | 65,954 | 2,769 | 10,853 |
| Shell | 255 | 62,910 | 55,815 | 2,033 | 5,062 |
| JSON | 584 | 52,815 | 52,802 | 0 | 13 |
| XML | 124 | 48,318 | 48,264 | 36 | 18 |
| Rust | 45 | 42,500 | 39,589 | 425 | 2,486 |
| Go | 30 | 10,983 | 9,910 | 27 | 1,046 |
| Python | 22 | 4,307 | 3,638 | 136 | 533 |

Top language (TypeScript 90.7%). Generated at 2026-09-18T17:34:26.090358798+00:00. Canonical report: https://octocounts.com/github/openclaw/openclaw

## Reproduce this report

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

openclaw/openclaw has 11,572,512 total lines, including 10,518,594 code lines, 321,314 comment lines, and 732,604 blank lines.

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

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

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

This OctoCounts report was generated from main at commit 8744037721da on 2026-09-18T17:34:26.090358798+00:00.

## Similar repository reports

- [elastic/kibana](https://octocounts.com/github/elastic/kibana) — TypeScript, 10,865,854 code lines
- [FreeCAD/FreeCAD](https://octocounts.com/github/FreeCAD/FreeCAD) — TypeScript, 7,118,341 code lines
- [elizaOS/eliza](https://octocounts.com/github/elizaOS/eliza) — TypeScript, 5,906,074 code lines
- [elizaos/eliza](https://octocounts.com/github/elizaos/eliza) — TypeScript, 4,880,008 code lines
- [stablyai/orca](https://octocounts.com/github/stablyai/orca) — TypeScript, 4,589,708 code lines
- [microsoft/vscode](https://octocounts.com/github/microsoft/vscode) — TypeScript, 4,362,016 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
