# tdlib/td SLOC report

> tdlib/td: 574,166 code lines at commit ea3f69ce11ae, counted with tokei-14.0.0 on 2026-10-23. Saved result 5908f11edd19825a16afde53a3d11af82c9fa65a5228d314d1e0788e950c31c3.

tdlib/td has 574,166 source lines of code out of 734,957 total lines across 1,604 files, counted from the master ref at commit ea3f69ce11ae 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 tdlib/td to commit ea3f69ce11ae, 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.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 580 | 346,826 | 303,304 | 7,247 | 36,275 |
| C | 5 | 236,950 | 168,586 | 56,485 | 11,879 |
| C Header | 786 | 114,655 | 73,251 | 18,055 | 23,349 |
| JSON | 3 | 9,520 | 9,520 | 0 | 0 |
| C++ Header | 132 | 11,221 | 9,437 | 797 | 987 |
| CMake | 25 | 4,128 | 3,498 | 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 |
| MSBuild | 3 | 268 | 257 | 8 | 3 |
| Swift | 1 | 192 | 154 | 8 | 30 |
| PowerShell | 3 | 177 | 152 | 0 | 25 |
| HTML | 1 | 162 | 140 | 0 | 22 |
| Objective-C++ | 1 | 85 | 66 | 6 | 13 |
| Visual Studio Solution | 2 | 63 | 61 | 0 | 2 |
| XAML | 2 | 36 | 33 | 1 | 2 |
| Autoconf | 3 | 66 | 32 | 26 | 8 |
| XML | 3 | 57 | 31 | 21 | 5 |
| Dockerfile | 1 | 28 | 19 | 0 | 9 |
| Markdown | 15 | 2,682 | 0 | 2,321 | 361 |
| Plain Text | 3 | 832 | 0 | 826 | 6 |

Top language (C++ 52.8%). Generated at 2026-10-23T08:39:45.010332796Z. Canonical report: https://octocounts.com/github/tdlib/td/commit/ea3f69ce11aef458bfbb09869b809ede4447486f?reportId=5908f11edd19825a16afde53a3d11af82c9fa65a5228d314d1e0788e950c31c3&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/tdlib/td/commit/ea3f69ce11aef458bfbb09869b809ede4447486f?reportId=5908f11edd19825a16afde53a3d11af82c9fa65a5228d314d1e0788e950c31c3&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 tdlib/td have?

tdlib/td has 734,957 total lines, including 574,166 code lines, 86,694 comment lines, and 74,097 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ea3f69ce11ae, 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 ea3f69ce11ae on 2026-10-23T08:39:45.010332796Z.

## Similar repository reports

- [noctalia-dev/noctalia](https://octocounts.com/github/noctalia-dev/noctalia) — C++, 572,142 code lines
- [handy-computer/transcribe.cpp](https://octocounts.com/github/handy-computer/transcribe.cpp) — C++, 594,507 code lines
- [chromium/openscreen](https://octocounts.com/github/chromium/openscreen) — C++, 544,947 code lines
- [RPCS3/rpcs3](https://octocounts.com/github/RPCS3/rpcs3) — C++, 531,474 code lines
- [PointCloudLibrary/pcl](https://octocounts.com/github/PointCloudLibrary/pcl) — C++, 515,757 code lines
- [ARM-software/kleidiai](https://octocounts.com/github/ARM-software/kleidiai) — C++, 645,044 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)
