TelegramMessenger/Telegram-iOS SLOC report

As of 2026-07-24 (commit 6ad963e5b62d), TelegramMessenger/Telegram-iOS contains 7,263,097 total lines: 5,657,212 code, 752,554 comments, 853,331 blank, across 21,218 files in 58 languages (top: C 32.5%). Counted with tokei via OctoCounts.

As of 2026-07-24 (commit 6ad963e5b62d), TelegramMessenger/Telegram-iOS contains 7,263,097 total lines: 5,657,212 code, 752,554 comments, 853,331 blank, across 21,218 files in 58 languages (top: C 32.5%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving TelegramMessenger/Telegram-iOS to commit 6ad963e5b62d, 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.9% of all lines, comments represent 10.4%, and the repository averages 267 code lines per file. C accounts for 32.5% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C428723682181838165265793264260
Swift48421918995165314243106222747
C Header49261097910668722267457161731
C++14166307964987036237469719
GNU Style Assembly3633277192888221184327054
Objective-C775218897174423554638928
Assembly3052041651662711636721527
Perl60690425633964316272
C++ Header200593794734768155217
Bazel83845688431996201869
JSON1801326703267000
Objective-C++112413883194226486798

Top language (C 32.5%). Generated at 2026-07-24T15:44:56.253854625+00:00.

Report FAQ

How many lines of code does TelegramMessenger/Telegram-iOS have?

TelegramMessenger/Telegram-iOS has 7,263,097 total lines, including 5,657,212 code lines, 752,554 comment lines, and 853,331 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 6ad963e5b62d, 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 6ad963e5b62d on 2026-07-24T15:44:56.253854625+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: