# TelegramMessenger/Telegram-iOS SLOC report

> TelegramMessenger/Telegram-iOS: 6,252,797 code lines at commit fb0e62ba8a14, counted with tokei-14.0.0 on 2026-10-23. Saved result 81dae2fade24c880756f45aa8ba8080f6ecd535ecad4d8a8cb4ce1687c8d6fb8.

TelegramMessenger/Telegram-iOS has 6,252,797 source lines of code out of 8,049,911 total lines across 23,340 files, counted from the master ref at commit fb0e62ba8a14 by the OctoCounts tokei engine on 2026-10-23. 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 TelegramMessenger/Telegram-iOS to commit fb0e62ba8a14, 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 77.7% of all lines, comments represent 10.8%, and the repository averages 268 code lines per file. C accounts for 31.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 4,474 | 2,561,002 | 1,974,657 | 296,954 | 289,391 |
| Swift | 6,368 | 2,251,042 | 1,882,131 | 114,382 | 254,529 |
| C Header | 4,934 | 1,110,986 | 685,188 | 262,403 | 163,395 |
| C++ | 1,329 | 635,646 | 500,997 | 64,701 | 69,948 |
| GNU Style Assembly | 397 | 337,718 | 296,715 | 12,995 | 28,008 |
| Objective-C | 967 | 335,727 | 278,857 | 9,320 | 47,550 |
| Assembly | 326 | 212,313 | 173,337 | 17,060 | 21,916 |
| JSON | 1,921 | 107,887 | 107,717 | 0 | 170 |
| Perl | 61 | 69,308 | 56,505 | 6,507 | 6,296 |
| Bazel | 886 | 49,830 | 46,707 | 977 | 2,146 |
| C++ Header | 114 | 49,321 | 39,843 | 6,151 | 3,327 |
| Objective-C++ | 109 | 40,356 | 31,211 | 2,655 | 6,490 |
| Python | 112 | 36,780 | 30,675 | 1,970 | 4,135 |
| Shell | 178 | 35,787 | 28,061 | 4,144 | 3,582 |
| CMake | 146 | 25,823 | 21,163 | 2,540 | 2,120 |
| Visual Studio Project | 72 | 16,637 | 16,637 | 0 | 0 |
| Autoconf | 73 | 15,507 | 13,263 | 839 | 1,405 |
| M4 | 45 | 16,103 | 11,064 | 3,818 | 1,221 |
| Bitbake | 71 | 7,182 | 6,168 | 303 | 711 |
| Makefile | 75 | 6,815 | 5,964 | 187 | 664 |
| Metal Shading Language | 31 | 6,147 | 5,020 | 320 | 807 |
| C# | 20 | 4,907 | 3,822 | 823 | 262 |
| JavaScript | 23 | 5,007 | 3,670 | 708 | 629 |
| 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 |
| Go | 9 | 2,557 | 1,819 | 438 | 300 |
| Pascal | 2 | 2,478 | 1,793 | 211 | 474 |
| XML | 8 | 1,934 | 1,722 | 0 | 212 |
| 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 |
| F# | 2 | 1,054 | 748 | 82 | 224 |
| Meson | 21 | 857 | 741 | 31 | 85 |
| Cython | 8 | 1,013 | 633 | 247 | 133 |
| SVG | 111 | 592 | 591 | 1 | 0 |
| YAML | 5 | 619 | 512 | 105 | 2 |
| BASH | 3 | 473 | 404 | 37 | 32 |
| Batch | 25 | 606 | 376 | 126 | 104 |
| CSS | 3 | 371 | 311 | 8 | 52 |
| MSBuild | 6 | 292 | 292 | 0 | 0 |
| HICAD | 3 | 288 | 245 | 0 | 43 |
| HTML | 12 | 196 | 175 | 9 | 12 |
| Snakemake | 1 | 115 | 114 | 0 | 1 |
| TypeScript | 1 | 87 | 52 | 28 | 7 |
| 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 |
| Markdown | 108 | 26,920 | 0 | 22,140 | 4,780 |
| Plain Text | 79 | 40,417 | 0 | 34,371 | 6,046 |

Top language (C 31.6%). Generated at 2026-10-23T07:33:45.284451630Z. Canonical report: https://octocounts.com/github/TelegramMessenger/Telegram-iOS/commit/fb0e62ba8a147f0821da6aa63c09da7d79a10111?reportId=81dae2fade24c880756f45aa8ba8080f6ecd535ecad4d8a8cb4ce1687c8d6fb8&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/fb0e62ba8a147f0821da6aa63c09da7d79a10111?reportId=81dae2fade24c880756f45aa8ba8080f6ecd535ecad4d8a8cb4ce1687c8d6fb8&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 8,049,911 total lines, including 6,252,797 code lines, 872,547 comment lines, and 924,567 blank lines.

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

OctoCounts resolved the public GitHub repository to commit fb0e62ba8a14, 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 fb0e62ba8a14 on 2026-10-23T07:33:45.284451630Z.

## Similar repository reports

- [wireshark/wireshark](https://octocounts.com/github/wireshark/wireshark) — C, 5,709,778 code lines
- [vcvkk/Telegram-iOS](https://octocounts.com/github/vcvkk/Telegram-iOS) — C, 5,661,625 code lines
- [gnutools/binutils-gdb](https://octocounts.com/github/gnutools/binutils-gdb) — C, 7,017,533 code lines
- [reactos/reactos](https://octocounts.com/github/reactos/reactos) — C, 7,814,514 code lines
- [yugabyte/yugabyte-db](https://octocounts.com/github/yugabyte/yugabyte-db) — C, 4,813,469 code lines
- [zephyrproject-rtos/zephyr](https://octocounts.com/github/zephyrproject-rtos/zephyr) — C, 3,701,475 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)
- [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)
