# TGX-Android/tdlib SLOC report

> As of 2026-10-22 (commit eb50e29014df), TGX-Android/tdlib contains 2,068,564 total lines: 1,283,438 code, 530,418 comments, 254,708 blank, across 8,399 files in 10 languages (top: C Header 78.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

TGX-Android/tdlib has 1,283,438 source lines of code out of 2,068,564 total lines across 8,399 files, counted from the main ref at commit eb50e29014df 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 TGX-Android/tdlib to commit eb50e29014df, 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 62.0% of all lines, comments represent 25.6%, and the repository averages 153 code lines per file. C Header accounts for 78.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C Header | 7,678 | 1,568,116 | 1,011,406 | 360,536 | 196,174 |
| Autoconf | 682 | 336,732 | 214,676 | 80,322 | 41,734 |
| Java | 2 | 161,697 | 55,604 | 89,524 | 16,569 |
| Module-Definition | 22 | 1,342 | 1,232 | 0 | 110 |
| Shell | 8 | 613 | 494 | 13 | 106 |
| Kotlin | 1 | 28 | 17 | 6 | 5 |
| XML | 1 | 14 | 5 | 6 | 3 |
| Prolog | 1 | 4 | 4 | 0 | 0 |
| Markdown | 2 | 16 | 0 | 9 | 7 |
| Plain Text | 2 | 2 | 0 | 2 | 0 |

Top language (C Header 78.8%). Generated at 2026-10-22T06:08:57.979882654+00:00. Canonical report: https://octocounts.com/github/TGX-Android/tdlib

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/TGX-Android/tdlib/commit/eb50e29014dfea4b2edc448ff7ceef9da2e9a383?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=a1980adb2706e9c0c8a3c9eb64386cd1087f81bfde4c77191a73e9919d41cefb).

## Report FAQ

### How many lines of code does TGX-Android/tdlib have?

TGX-Android/tdlib has 2,068,564 total lines, including 1,283,438 code lines, 530,418 comment lines, and 254,708 blank lines.

### How was the TGX-Android/tdlib line count measured?

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

### What commit was counted for TGX-Android/tdlib?

This OctoCounts report was generated from main at commit eb50e29014df on 2026-10-22T06:08:57.979882654+00:00.

## Similar repository reports

- [kuzudb/kuzu](https://octocounts.com/github/kuzudb/kuzu) — C Header, 596,750 code lines
- [olikraus/u8g2](https://octocounts.com/github/olikraus/u8g2) — C Header, 589,307 code lines
- [espressif/esp-idf](https://octocounts.com/github/espressif/esp-idf) — C Header, 2,921,144 code lines
- [eclipse-openbsw/openbsw](https://octocounts.com/github/eclipse-openbsw/openbsw) — C Header, 521,971 code lines
- [cilium/tetragon](https://octocounts.com/github/cilium/tetragon) — C Header, 507,998 code lines
- [raysan5/raylib](https://octocounts.com/github/raysan5/raylib) — C Header, 506,856 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)
- [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)
