# randombit/botan SLOC report

> randombit/botan: 221,870 code lines at commit 21bcfba2ea14, counted with tokei-15.0.0 on 2026-11-15. Saved result 1f8f35a78c880d0e681c04a69531072f298807d94c0d52360bec0866d02ad024.

randombit/botan has 221,870 source lines of code out of 361,812 total lines across 1,984 files, counted with tokei from the master ref at commit 21bcfba2ea14 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving randombit/botan to commit 21bcfba2ea14, 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

randombit/botan: 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 large codebase by counted code lines. Code represents 61.3% of all lines, comments represent 21.4%, and the repository averages 112 code lines per file. C++ accounts for 63.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 816 | 197,720 | 141,017 | 22,863 | 33,840 |
| C Header | 594 | 118,282 | 53,349 | 44,911 | 20,022 |
| Python | 71 | 29,929 | 22,676 | 1,331 | 5,922 |
| ReStructuredText | 2 | 2,101 | 1,385 | 0 | 716 |
| JSON | 8 | 1,319 | 1,319 | 0 | 0 |
| Autoconf | 17 | 1,746 | 1,184 | 233 | 329 |
| Shell | 6 | 710 | 468 | 119 | 123 |
| XML | 2 | 184 | 181 | 2 | 1 |
| CMake | 1 | 145 | 100 | 13 | 32 |
| TOML | 2 | 71 | 54 | 7 | 10 |
| C | 1 | 53 | 39 | 1 | 13 |
| Emacs Lisp | 1 | 54 | 35 | 7 | 12 |
| PowerShell | 2 | 70 | 34 | 24 | 12 |
| YAML | 3 | 31 | 21 | 7 | 3 |
| HTML | 1 | 9 | 8 | 0 | 1 |
| Markdown | 1 | 14 | 0 | 10 | 4 |
| Plain Text | 456 | 9,374 | 0 | 7,763 | 1,611 |

Top language: C++ 63.6%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/randombit/botan/commit/21bcfba2ea1488e2b261794675222cffce1ed2e1?reportId=1f8f35a78c880d0e681c04a69531072f298807d94c0d52360bec0866d02ad024&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/randombit/botan/commit/21bcfba2ea1488e2b261794675222cffce1ed2e1?reportId=1f8f35a78c880d0e681c04a69531072f298807d94c0d52360bec0866d02ad024&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 randombit/botan have?

randombit/botan has 221,870 lines of code, plus 77,291 comment lines and 62,651 blank lines, for 361,812 total lines at commit 21bcfba2ea14 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the randombit/botan line count measured?

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

### What commit was counted for randombit/botan?

This OctoCounts report was generated from master at commit 21bcfba2ea14 on November 15, 2026.

## Similar repository reports

- [cherryi6081/ATAW-Chat](https://octocounts.com/github/cherryi6081/ATAW-Chat) — C++, 223,014 code lines
- [abseil/abseil-cpp](https://octocounts.com/github/abseil/abseil-cpp) — C++, 223,648 code lines
- [electron/electron](https://octocounts.com/github/electron/electron) — C++, 227,482 code lines
- [cybereality/Perception](https://octocounts.com/github/cybereality/Perception) — C++, 228,154 code lines
- [gameplay3d/gameplay](https://octocounts.com/github/gameplay3d/gameplay) — C++, 231,734 code lines
- [luau-lang/luau](https://octocounts.com/github/luau-lang/luau) — C++, 211,529 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)
- [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)
