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.
cmu-db/bustub: 153,702 code lines at commit 820bcaf90710, counted with tokei-15.0.0 on 2026-11-13. Saved result 5ab2516129932a667bd5c1dac8de242bef53ae30972331152af96f6c131f6005.
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.
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 | 71240 | 54138 | 10292 | 6810 |
| C Header | 272 | 68713 | 40691 | 18751 | 9271 |
| C | 27 | 32820 | 29071 | 1436 | 2313 |
| C++ Header | 33 | 16224 | 10020 | 4539 | 1665 |
| Happy | 34 | 7299 | 6721 | 0 | 578 |
| Python | 15 | 9000 | 6504 | 1454 | 1042 |
| CMake | 57 | 3691 | 2643 | 539 | 509 |
| Lex | 1 | 1652 | 1052 | 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 | 6951 | 0 | 5235 | 1716 |
| Plain Text | 3 | 93 | 0 | 79 | 14 |
Top language: C++ 35.2%. Generated on .
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.
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.
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.
This OctoCounts report was generated from master at commit 820bcaf90710 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for cmu-db/bustub on this page — 153,702 code lines across 25 languages, counted by tokei.