Mbed-TLS/mbedtls has 54,799 source lines of code out of 87,200 total lines across 185 files, counted with tokei from the development ref at commit 33cc9de49b66 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
Mbed-TLS/mbedtls: 54,799 code lines at commit 33cc9de49b66, counted with tokei-15.0.0 on 2026-11-13. Saved result 77a29e808112bb2e48e053529565a0146c5ec717f0769ce7281557e7b2f44295.
OctoCounts produced this report by resolving Mbed-TLS/mbedtls to commit 33cc9de49b66, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a medium-sized codebase by counted code lines. Code represents 62.8% of all lines, comments represent 23.8%, and the repository averages 296 code lines per file. C accounts for 82.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 59 | 63242 | 45020 | 9224 | 8998 |
| C Header | 57 | 17693 | 5739 | 10264 | 1690 |
| Python | 9 | 1678 | 1374 | 95 | 209 |
| CMake | 10 | 1354 | 1064 | 145 | 145 |
| Makefile | 3 | 660 | 479 | 61 | 120 |
| Perl | 3 | 493 | 343 | 66 | 84 |
| Visual Studio Project | 2 | 338 | 338 | 0 | 0 |
| Shell | 5 | 480 | 317 | 82 | 81 |
| JSON | 1 | 48 | 48 | 0 | 0 |
| Autoconf | 4 | 35 | 31 | 0 | 4 |
| Visual Studio Solution | 1 | 30 | 29 | 0 | 1 |
| Batch | 1 | 15 | 13 | 0 | 2 |
| TCL | 1 | 4 | 4 | 0 | 0 |
| Markdown | 10 | 874 | 0 | 617 | 257 |
| Plain Text | 19 | 256 | 0 | 228 | 28 |
Top language: C 82.2%. Generated on .
Mbed-TLS/mbedtls: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
Mbed-TLS/mbedtls has 54,799 lines of code, plus 20,782 comment lines and 11,619 blank lines, for 87,200 total lines at commit 33cc9de49b66 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 33cc9de49b66, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from development at commit 33cc9de49b66 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for Mbed-TLS/mbedtls on this page — 54,799 code lines across 15 languages, counted by tokei.