# cmu-db/bustub SLOC report

> cmu-db/bustub: 153,702 code lines at commit 820bcaf90710, counted with tokei-15.0.0 on 2026-11-13. Saved result 5ab2516129932a667bd5c1dac8de242bef53ae30972331152af96f6c131f6005.

cmu-db/bustub has 153,702 source lines of code out of 221,153 total lines across 736 files, counted with tokei from the master ref at commit 820bcaf90710 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving cmu-db/bustub to commit 820bcaf90710, 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

cmu-db/bustub: 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 69.5% of all lines, comments represent 19.5%, and the repository averages 209 code lines per file. C++ accounts for 35.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 213 | 71,240 | 54,138 | 10,292 | 6,810 |
| C Header | 272 | 68,713 | 40,691 | 18,751 | 9,271 |
| C | 27 | 32,820 | 29,071 | 1,436 | 2,313 |
| C++ Header | 33 | 16,224 | 10,020 | 4,539 | 1,665 |
| Happy | 34 | 7,299 | 6,721 | 0 | 578 |
| Python | 15 | 9,000 | 6,504 | 1,454 | 1,042 |
| CMake | 57 | 3,691 | 2,643 | 539 | 509 |
| Lex | 1 | 1,652 | 1,052 | 426 | 174 |
| Visual Studio Project | 6 | 986 | 986 | 0 | 0 |
| Ruby | 1 | 448 | 347 | 66 | 35 |
| Shell | 6 | 445 | 309 | 88 | 48 |
| Bazel | 6 | 296 | 230 | 39 | 27 |
| Makefile | 5 | 321 | 218 | 21 | 82 |
| YAML | 3 | 217 | 180 | 6 | 31 |
| SVG | 2 | 155 | 141 | 0 | 14 |
| Autoconf | 13 | 134 | 104 | 9 | 21 |
| Visual Studio Solution | 3 | 106 | 103 | 0 | 3 |
| Julia | 1 | 169 | 99 | 52 | 18 |
| HTML | 2 | 117 | 85 | 16 | 16 |
| Batch | 2 | 62 | 46 | 4 | 12 |
| JSON | 1 | 12 | 12 | 0 | 0 |
| BASH | 1 | 1 | 1 | 0 | 0 |
| XML | 1 | 1 | 1 | 0 | 0 |
| Markdown | 28 | 6,951 | 0 | 5,235 | 1,716 |
| Plain Text | 3 | 93 | 0 | 79 | 14 |

Top language: C++ 35.2%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/cmu-db/bustub/commit/820bcaf90710ec39f463532a10f6c66cd2368491?reportId=5ab2516129932a667bd5c1dac8de242bef53ae30972331152af96f6c131f6005&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/cmu-db/bustub/commit/820bcaf90710ec39f463532a10f6c66cd2368491?reportId=5ab2516129932a667bd5c1dac8de242bef53ae30972331152af96f6c131f6005&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 cmu-db/bustub have?

cmu-db/bustub has 153,702 lines of code, plus 43,052 comment lines and 24,399 blank lines, for 221,153 total lines at commit 820bcaf90710 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the cmu-db/bustub line count measured?

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

### What commit was counted for cmu-db/bustub?

This OctoCounts report was generated from master at commit 820bcaf90710 on November 13, 2026.

## Similar repository reports

- [xxnuo/MTranServer](https://octocounts.com/github/xxnuo/MTranServer) — C++, 152,566 code lines
- [baidu/openrasp](https://octocounts.com/github/baidu/openrasp) — C++, 151,975 code lines
- [moveit/moveit2](https://octocounts.com/github/moveit/moveit2) — C++, 158,114 code lines
- [cfoust/sour](https://octocounts.com/github/cfoust/sour) — C++, 160,558 code lines
- [ml-explore/mlx](https://octocounts.com/github/ml-explore/mlx) — C++, 161,444 code lines
- [thepowersgang/mrustc](https://octocounts.com/github/thepowersgang/mrustc) — C++, 163,174 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)
