# Mbed-TLS/mbedtls SLOC report

> Mbed-TLS/mbedtls: 54,799 code lines at commit 33cc9de49b66, counted with tokei-15.0.0 on 2026-11-13. Saved result 77a29e808112bb2e48e053529565a0146c5ec717f0769ce7281557e7b2f44295.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 63,242 | 45,020 | 9,224 | 8,998 |
| C Header | 57 | 17,693 | 5,739 | 10,264 | 1,690 |
| Python | 9 | 1,678 | 1,374 | 95 | 209 |
| CMake | 10 | 1,354 | 1,064 | 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 November 13, 2026. Canonical report: https://octocounts.com/github/Mbed-TLS/mbedtls/commit/33cc9de49b665fc26c31fc8e204e1e7c572ad3de?reportId=77a29e808112bb2e48e053529565a0146c5ec717f0769ce7281557e7b2f44295&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/Mbed-TLS/mbedtls/commit/33cc9de49b665fc26c31fc8e204e1e7c572ad3de?reportId=77a29e808112bb2e48e053529565a0146c5ec717f0769ce7281557e7b2f44295&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 Mbed-TLS/mbedtls have?

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.

### How was the Mbed-TLS/mbedtls line count measured?

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.

### What commit was counted for Mbed-TLS/mbedtls?

This OctoCounts report was generated from development at commit 33cc9de49b66 on November 13, 2026.

## Similar repository reports

- [BadGhost520/ESurfingClient-CVersion](https://octocounts.com/github/BadGhost520/ESurfingClient-CVersion) — C, 54,963 code lines
- [hfiref0x/SyscallTables](https://octocounts.com/github/hfiref0x/SyscallTables) — C, 55,798 code lines
- [jemalloc/jemalloc](https://octocounts.com/github/jemalloc/jemalloc) — C, 56,489 code lines
- [RealFoxerity/UnstableOS](https://octocounts.com/github/RealFoxerity/UnstableOS) — C, 52,895 code lines
- [jedisct1/libsodium](https://octocounts.com/github/jedisct1/libsodium) — C, 57,136 code lines
- [Jakz/abab-is-me](https://octocounts.com/github/Jakz/abab-is-me) — C, 51,873 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
