# TelegramMessenger/Telegram-iOS SLOC report

> TelegramMessenger/Telegram-iOS: 6,741,519 code lines at commit 24638bc69bd0, counted with tokei-15.0.0 on 2026-11-06. Saved result 2450974f2d55134237b8ccca1dc9cc075bb9b14eeb1c032bc0e2f6900d156761.

TelegramMessenger/Telegram-iOS has 6,741,519 source lines of code out of 8,673,129 total lines across 26,482 files, counted with tokei from the master ref at commit 24638bc69bd0 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving TelegramMessenger/Telegram-iOS to commit 24638bc69bd0, 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

TelegramMessenger/Telegram-iOS: 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 77.7% of all lines, comments represent 11.2%, and the repository averages 255 code lines per file. C accounts for 30.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 4,490 | 2,664,877 | 2,070,576 | 300,519 | 293,782 |
| Swift | 7,205 | 2,438,531 | 2,040,061 | 128,378 | 270,092 |
| C Header | 5,205 | 1,152,021 | 714,795 | 269,705 | 167,521 |
| C++ | 1,659 | 765,611 | 614,225 | 72,555 | 78,831 |
| GNU Style Assembly | 397 | 337,718 | 296,715 | 12,995 | 28,008 |
| Objective-C | 969 | 336,276 | 279,390 | 9,329 | 47,557 |
| Assembly | 326 | 212,313 | 173,337 | 17,060 | 21,916 |
| JSON | 1,933 | 152,537 | 152,366 | 0 | 171 |
| Perl | 61 | 69,308 | 56,505 | 6,507 | 6,296 |
| Bazel | 915 | 53,374 | 49,773 | 1,202 | 2,399 |
| Objective-C++ | 124 | 54,088 | 43,760 | 3,001 | 7,327 |
| C++ Header | 114 | 49,321 | 39,843 | 6,151 | 3,327 |
| Python | 117 | 37,442 | 31,235 | 1,989 | 4,218 |
| Shell | 183 | 35,982 | 28,215 | 4,177 | 3,590 |
| CMake | 146 | 25,823 | 21,163 | 2,540 | 2,120 |
| HTML | 1,183 | 19,627 | 17,549 | 1,600 | 478 |
| Visual Studio Project | 72 | 16,637 | 16,637 | 0 | 0 |
| JavaScript | 108 | 18,521 | 13,503 | 3,141 | 1,877 |
| Autoconf | 73 | 15,507 | 13,263 | 839 | 1,405 |
| M4 | 45 | 16,103 | 11,064 | 3,818 | 1,221 |
| Bitbake | 74 | 9,301 | 8,285 | 303 | 713 |
| Makefile | 75 | 6,815 | 5,964 | 187 | 664 |
| Metal Shading Language | 32 | 6,332 | 5,184 | 320 | 828 |
| C# | 20 | 4,907 | 3,822 | 823 | 262 |
| Java | 19 | 6,119 | 3,546 | 2,077 | 496 |
| GLSL | 34 | 5,175 | 3,537 | 824 | 814 |
| OCaml | 12 | 3,375 | 3,170 | 20 | 185 |
| Forge Config | 11 | 2,620 | 2,568 | 39 | 13 |
| CUDA | 9 | 2,618 | 1,994 | 262 | 362 |
| XML | 25 | 2,133 | 1,909 | 2 | 222 |
| Go | 9 | 2,557 | 1,819 | 438 | 300 |
| Pascal | 2 | 2,478 | 1,793 | 211 | 474 |
| OpenCL | 14 | 2,054 | 1,499 | 272 | 283 |
| Automake | 30 | 1,602 | 1,170 | 208 | 224 |
| PO File | 1 | 2,425 | 1,100 | 788 | 537 |
| FlatBuffers Schema | 34 | 1,340 | 1,088 | 15 | 237 |
| TeX | 1 | 1,334 | 1,043 | 124 | 167 |
| Visual Studio Solution | 8 | 991 | 986 | 0 | 5 |
| Module-Definition | 9 | 981 | 947 | 31 | 3 |
| SVG | 134 | 935 | 898 | 3 | 34 |
| F# | 2 | 1,054 | 748 | 82 | 224 |
| Meson | 21 | 857 | 741 | 31 | 85 |
| YAML | 14 | 754 | 647 | 105 | 2 |
| Cython | 8 | 1,013 | 633 | 247 | 133 |
| TypeScript | 2 | 553 | 476 | 54 | 23 |
| BASH | 3 | 473 | 404 | 37 | 32 |
| Batch | 25 | 606 | 376 | 126 | 104 |
| CSS | 2 | 356 | 297 | 8 | 51 |
| MSBuild | 6 | 292 | 292 | 0 | 0 |
| HICAD | 3 | 288 | 245 | 0 | 43 |
| Snakemake | 1 | 115 | 114 | 0 | 1 |
| Ruby | 1 | 61 | 51 | 1 | 9 |
| Rust | 1 | 59 | 51 | 0 | 8 |
| Coq | 7 | 49 | 49 | 0 | 0 |
| Lex | 1 | 319 | 41 | 272 | 6 |
| LD Script | 3 | 47 | 30 | 14 | 3 |
| Xcode Config | 3 | 17 | 13 | 0 | 4 |
| TOML | 2 | 22 | 11 | 9 | 2 |
| ReScript | 1 | 3 | 3 | 0 | 0 |
| Djot | 1 | 271 | 0 | 220 | 51 |
| Markdown | 174 | 29,840 | 0 | 24,800 | 5,040 |
| Plain Text | 323 | 98,371 | 0 | 91,307 | 7,064 |

Top language: C 30.7%. Generated on November 6, 2026. Canonical report: https://octocounts.com/github/TelegramMessenger/Telegram-iOS/commit/24638bc69bd083981b178dd1e7f921eebbf7fc46?reportId=2450974f2d55134237b8ccca1dc9cc075bb9b14eeb1c032bc0e2f6900d156761&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/TelegramMessenger/Telegram-iOS/commit/24638bc69bd083981b178dd1e7f921eebbf7fc46?reportId=2450974f2d55134237b8ccca1dc9cc075bb9b14eeb1c032bc0e2f6900d156761&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 TelegramMessenger/Telegram-iOS have?

TelegramMessenger/Telegram-iOS has 6,741,519 lines of code, plus 969,766 comment lines and 961,844 blank lines, for 8,673,129 total lines at commit 24638bc69bd0 on November 6, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the TelegramMessenger/Telegram-iOS line count measured?

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

### What commit was counted for TelegramMessenger/Telegram-iOS?

This OctoCounts report was generated from master at commit 24638bc69bd0 on November 6, 2026.

## Similar repository reports

- [gnutools/binutils-gdb](https://octocounts.com/github/gnutools/binutils-gdb) — C, 7,011,231 code lines
- [wireshark/wireshark](https://octocounts.com/github/wireshark/wireshark) — C, 5,790,683 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,908,192 code lines
- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,661,625 code lines
- [wine-mirror/wine](https://octocounts.com/github/wine-mirror/wine) — C, 5,483,314 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,911,413 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
