# tdlib/td SLOC report

> As of 2026-10-22 (commit 9d92b49bc5d0), tdlib/td contains 735,078 total lines: 574,334 code, 86,674 comments, 74,070 blank, across 1,603 files in 24 languages (top: C++ 52.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

tdlib/td has 574,334 source lines of code out of 735,078 total lines across 1,603 files, counted from the master ref at commit 9d92b49bc5d0 by the OctoCounts tokei engine on 2026-10-22. 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 tdlib/td to commit 9d92b49bc5d0, 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 large codebase by counted code lines. Code represents 78.1% of all lines, comments represent 11.8%, and the repository averages 358 code lines per file. C++ accounts for 52.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 580 | 347,137 | 303,620 | 7,246 | 36,271 |
| C | 5 | 236,950 | 168,586 | 56,485 | 11,879 |
| C Header | 785 | 114,467 | 73,105 | 18,036 | 23,326 |
| JSON | 3 | 9,520 | 9,520 | 0 | 0 |
| C++ Header | 132 | 11,220 | 9,436 | 797 | 987 |
| CMake | 25 | 4,127 | 3,497 | 205 | 425 |
| JavaScript | 6 | 1,944 | 1,671 | 136 | 137 |
| PHP | 6 | 2,091 | 1,657 | 218 | 216 |
| Java | 4 | 1,176 | 901 | 174 | 101 |
| C# | 4 | 615 | 486 | 76 | 53 |
| Python | 2 | 619 | 461 | 62 | 96 |
| Shell | 13 | 564 | 449 | 22 | 93 |

Top language (C++ 52.9%). Generated at 2026-10-22T06:11:53.685826351+00:00. Canonical report: https://octocounts.com/github/tdlib/td

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tdlib/td/commit/9d92b49bc5d0d2e29fe518239af647a88f8680e6?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=ea6066b2b42e26273c329146c7f02f90d2d440a5854743ec415ede67b77e6688).

## Report FAQ

### How many lines of code does tdlib/td have?

tdlib/td has 735,078 total lines, including 574,334 code lines, 86,674 comment lines, and 74,070 blank lines.

### How was the tdlib/td line count measured?

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

### What commit was counted for tdlib/td?

This OctoCounts report was generated from master at commit 9d92b49bc5d0 on 2026-10-22T06:11:53.685826351+00:00.

## Similar repository reports

- [noctalia-dev/noctalia](https://octocounts.com/github/noctalia-dev/noctalia) — C++, 566,288 code lines
- [handy-computer/transcribe.cpp](https://octocounts.com/github/handy-computer/transcribe.cpp) — C++, 593,630 code lines
- [chromium/openscreen](https://octocounts.com/github/chromium/openscreen) — C++, 545,122 code lines
- [RPCS3/rpcs3](https://octocounts.com/github/RPCS3/rpcs3) — C++, 530,199 code lines
- [PointCloudLibrary/pcl](https://octocounts.com/github/PointCloudLibrary/pcl) — C++, 515,729 code lines
- [pointcloudlibrary/pcl](https://octocounts.com/github/pointcloudlibrary/pcl) — C++, 515,670 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)
- [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)
- [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)
